Lines Matching refs:textpos
410 unsigned long textpos, datapos, realdatastart; in load_flat_file() local
535 textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, in load_flat_file()
537 if (!textpos || IS_ERR_VALUE(textpos)) { in load_flat_file()
538 ret = textpos; in load_flat_file()
539 if (!textpos) in load_flat_file()
557 vm_munmap(textpos, text_len); in load_flat_file()
581 vm_munmap(textpos, text_len); in load_flat_file()
595 textpos = vm_mmap(NULL, 0, len, in load_flat_file()
598 if (!textpos || IS_ERR_VALUE(textpos)) { in load_flat_file()
599 ret = textpos; in load_flat_file()
600 if (!textpos) in load_flat_file()
607 realdatastart = textpos + ntohl(hdr->data_start); in load_flat_file()
614 memp = textpos; in load_flat_file()
623 (((char *)textpos) + sizeof(struct flat_hdr)), in load_flat_file()
643 (copy_to_user((void __user *)textpos + sizeof(struct flat_hdr), in load_flat_file()
652 result = read_code(bprm->file, textpos, 0, text_len); in load_flat_file()
675 result = read_code(bprm->file, textpos, 0, text_len); in load_flat_file()
684 vm_munmap(textpos, text_len + data_len + extra + in load_flat_file()
690 start_code = textpos + sizeof(struct flat_hdr); in load_flat_file()
691 end_code = textpos + text_len; in load_flat_file()
714 textpos, 0x00ffffff&ntohl(hdr->entry), ntohl(hdr->data_start)); in load_flat_file()
727 libinfo->lib_list[0].entry = (0x00ffffff & ntohl(hdr->entry)) + textpos; in load_flat_file()