Home
last modified time | relevance | path

Searched refs:ed_fsz (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c55 if (ref->ed_nextoff >= ref->ed_fsz) in _elf_member()
69 ref->ed_ident + ref->ed_nextoff, ref->ed_fsz)) == 0)) in _elf_member()
73 if (ref->ed_fsz - base < mh->m_hdr.ar_size) { in _elf_member()
86 elf->ed_fsz = mh->m_hdr.ar_size; in _elf_member()
89 elf->ed_siboff = base + elf->ed_fsz + (elf->ed_fsz & 1); in _elf_member()
140 if ((elf->ed_fsz >= EI_NIDENT) && in _elf_config()
173 if ((elf->ed_fsz >= SARMAG) && in _elf_config()
188 if ((elf->ed_identsz = elf->ed_fsz) > 512) in _elf_config()
216 elf->ed_imagesz = elf->ed_fsz = elf->ed_identsz = sz; in elf_memory()
H A Dclscook.c219 if (fsz > elf->ed_fsz) { in _elf_ehdr()
309 (elf->ed_fsz <= eh->e_phoff) || in _elf_phdr()
310 (elf->ed_fsz - eh->e_phoff < fsz)) { in _elf_phdr()
372 (elf->ed_fsz <= eh->e_shoff) || in _elf_shdr()
373 (elf->ed_fsz - eh->e_shoff < fsz)) { in _elf_shdr()
394 (elf->ed_fsz <= eh->e_shoff) || in _elf_shdr()
395 (elf->ed_fsz - eh->e_shoff < fsz)) { in _elf_shdr()
H A Drawfile.c47 if ((sz = elf->ed_fsz) == 0) { in elf_rawfile()
65 if (_elf_vm(elf, (size_t)0, elf->ed_fsz) != OK_YES) { in elf_rawfile()
H A Dinput.c96 if ((base + sz) > elf->ed_fsz) { in _elf_vm()
239 elf->ed_imagesz = elf->ed_fsz = elf->ed_identsz = sz; in _elf_inmap()
262 elf->ed_imagesz = elf->ed_fsz = elf->ed_identsz = sz; in _elf_inmap()
H A Drawdata.c101 (d->db_off >= elf->ed_fsz) || in elf_rawdata()
102 (elf->ed_fsz - d->db_off < d->db_fsz)) { in elf_rawdata()
H A Dcook.c132 if (_elf_vm(par, elf->ed_memoff, sz + elf->ed_fsz) != OK_YES) in _elf_slide()
150 if (memmove((void *)dst, (const void *)src, elf->ed_fsz) != (void *)dst) in _elf_slide()
H A Dnext.c47 if (elf->ed_siboff >= parent->ed_fsz) { in elf_next()
H A Dgetdata.c204 if ((d->db_off < 0) || (d->db_off >= elf->ed_fsz) || in _elf_locked_getdata()
205 (elf->ed_fsz - d->db_off < d->db_fsz)) { in _elf_locked_getdata()
H A Dcntl.c53 (_elf_vm(elf, (size_t)0, elf->ed_fsz) != OK_YES))) in elf_cntl()
H A Drand.c44 if ((off == 0) || (elf->ed_fsz < off)) { in elf_rand()
H A Ddecl.h280 size_t ed_fsz; /* file size */ member
H A Dar.c276 register char *end = base + elf->ed_fsz; in _elf_arinit()
H A Dupdate.c503 (_elf_vm(elf, (size_t)0, elf->ed_fsz) != OK_YES)) in wrt()