Lines Matching refs:min_addr
542 size_t min_addr = -1, max_addr = 0; in elf2flat64() local
556 if (le64_to_cpu(shdr->sh_addr) < min_addr) in elf2flat64()
557 min_addr = le64_to_cpu(shdr->sh_addr); in elf2flat64()
564 *load_addr = min_addr; in elf2flat64()
565 *flat_size = max_addr - min_addr; in elf2flat64()
572 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64()
590 size_t min_addr = -1, max_addr = 0; in elf2flat32() local
604 if (le32_to_cpu(shdr->sh_addr) < min_addr) in elf2flat32()
605 min_addr = le32_to_cpu(shdr->sh_addr); in elf2flat32()
612 *load_addr = min_addr; in elf2flat32()
613 *flat_size = max_addr - min_addr; in elf2flat32()
620 char *dst = flat + le32_to_cpu(shdr->sh_addr) - min_addr; in elf2flat32()