Lines Matching refs:text_len
80 unsigned long text_len; /* Length of text segment */ member
319 unsigned long text_len; in calc_reloc() local
358 text_len = p->lib_list[id].text_len; in calc_reloc()
360 if (!flat_reloc_valid(r, start_brk - start_data + text_len)) { in calc_reloc()
362 (int) r,(int)(start_brk-start_data+text_len),(int)text_len); in calc_reloc()
366 if (r < text_len) /* In text segment */ in calc_reloc()
369 addr = r - text_len + start_data; in calc_reloc()
432 unsigned long text_len, data_len, bss_len, stack_len, flags; in load_flat_file() local
446 text_len = ntohl(hdr->data_start); in load_flat_file()
549 textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, in load_flat_file()
569 vm_munmap(textpos, text_len); in load_flat_file()
593 vm_munmap(textpos, text_len); in load_flat_file()
599 reloc = (unsigned long *) (datapos+(ntohl(hdr->reloc_start)-text_len)); in load_flat_file()
604 len = text_len + data_len + extra + MAX_SHARED_LIBS * sizeof(unsigned long); in load_flat_file()
624 (datapos + (ntohl(hdr->reloc_start) - text_len)); in load_flat_file()
634 (text_len + full_data in load_flat_file()
640 result = read_code(bprm->file, textpos, 0, text_len); in load_flat_file()
642 result = decompress_exec(bprm, text_len, (char *) datapos, in load_flat_file()
648 result = read_code(bprm->file, textpos, 0, text_len); in load_flat_file()
656 vm_munmap(textpos, text_len + data_len + extra + in load_flat_file()
669 end_code = textpos + text_len; in load_flat_file()
696 text_len -= sizeof(struct flat_hdr); /* the real code len */ in load_flat_file()
702 libinfo->lib_list[id].text_len = text_len; in load_flat_file()