Lines Matching refs:k
629 unsigned long k, map_addr; in load_elf_interp() local
655 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
656 if (BAD_ADDR(k) || in load_elf_interp()
659 TASK_SIZE - eppnt->p_memsz < k) { in load_elf_interp()
668 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp()
669 if (k > elf_bss) in load_elf_interp()
670 elf_bss = k; in load_elf_interp()
676 k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; in load_elf_interp()
677 if (k > last_bss) { in load_elf_interp()
678 last_bss = k; in load_elf_interp()
1036 unsigned long k, vaddr; in load_elf_binary() local
1170 k = elf_ppnt->p_vaddr; in load_elf_binary()
1171 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1172 start_code = k; in load_elf_binary()
1173 if (start_data < k) in load_elf_binary()
1174 start_data = k; in load_elf_binary()
1181 if (BAD_ADDR(k) || elf_ppnt->p_filesz > elf_ppnt->p_memsz || in load_elf_binary()
1183 TASK_SIZE - elf_ppnt->p_memsz < k) { in load_elf_binary()
1189 k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; in load_elf_binary()
1191 if (k > elf_bss) in load_elf_binary()
1192 elf_bss = k; in load_elf_binary()
1193 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1194 end_code = k; in load_elf_binary()
1195 if (end_data < k) in load_elf_binary()
1196 end_data = k; in load_elf_binary()
1197 k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; in load_elf_binary()
1198 if (k > elf_brk) { in load_elf_binary()
1200 elf_brk = k; in load_elf_binary()