Lines Matching defs:fsz
151 size_t fsz, msz;
177 fsz = elf_fsize(d->db_data.d_type, 1, elf->ed_version);
179 d->db_data.d_size = MAX(sh->sh_size, (sh->sh_size / fsz) * msz);
222 register size_t fsz; /* field size */
225 fsz = elf_fsize(ELF_T_EHDR, 1, elf->ed_version);
226 if (fsz > elf->ed_fsz) {
230 if (inplace && (fsz >= sizeof (Ehdr))) {
247 * Memory size >= fsz, because otherwise the memory version
254 src.d_size = fsz;
260 if ((_elf_vm(elf, (size_t)0, fsz) != OK_YES) ||
299 register size_t fsz, msz;
307 fsz = elf_fsize(ELF_T_PHDR, 1, elf->ed_version);
308 if (eh->e_phentsize != fsz) {
313 fsz *= eh->e_phnum;
318 (elf->ed_fsz - eh->e_phoff < fsz)) {
323 if (inplace && fsz >= msz && eh->e_phoff % sizeof (ElfField) == 0) {
335 src.d_size = fsz;
340 if ((_elf_vm(elf, (size_t)eh->e_phoff, fsz) != OK_YES) ||
359 register size_t fsz, msz;
367 fsz = elf_fsize(ELF_T_SHDR, 1, elf->ed_version);
368 if (eh->e_shentsize != fsz) {
382 (elf->ed_fsz - eh->e_shoff < fsz)) {
388 src.d_size = fsz;
393 if ((_elf_vm(elf, (size_t)eh->e_shoff, fsz) != OK_YES) ||
400 fsz *= scncnt;
404 (elf->ed_fsz - eh->e_shoff < fsz)) {
409 if (inplace && (fsz >= msz) &&
423 src.d_size = fsz;
428 if ((_elf_vm(elf, (size_t)eh->e_shoff, fsz) != OK_YES) ||