Lines Matching refs:k
450 unsigned long k, map_addr; in load_elf_interp() local
484 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
485 if (BAD_ADDR(k) || in load_elf_interp()
488 TASK_SIZE - eppnt->p_memsz < k) { in load_elf_interp()
497 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp()
498 if (k > elf_bss) in load_elf_interp()
499 elf_bss = k; in load_elf_interp()
505 k = load_addr + eppnt->p_memsz + eppnt->p_vaddr; in load_elf_interp()
506 if (k > last_bss) in load_elf_interp()
507 last_bss = k; in load_elf_interp()
789 unsigned long k, vaddr; in load_elf_binary() local
865 k = elf_ppnt->p_vaddr; in load_elf_binary()
866 if (k < start_code) in load_elf_binary()
867 start_code = k; in load_elf_binary()
868 if (start_data < k) in load_elf_binary()
869 start_data = k; in load_elf_binary()
876 if (BAD_ADDR(k) || elf_ppnt->p_filesz > elf_ppnt->p_memsz || in load_elf_binary()
878 TASK_SIZE - elf_ppnt->p_memsz < k) { in load_elf_binary()
885 k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; in load_elf_binary()
887 if (k > elf_bss) in load_elf_binary()
888 elf_bss = k; in load_elf_binary()
889 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
890 end_code = k; in load_elf_binary()
891 if (end_data < k) in load_elf_binary()
892 end_data = k; in load_elf_binary()
893 k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; in load_elf_binary()
894 if (k > elf_brk) in load_elf_binary()
895 elf_brk = k; in load_elf_binary()