Lines Matching refs:sz
1291 int sz; in notesize() local
1293 sz = sizeof(struct elf_note); in notesize()
1294 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1295 sz += roundup(en->datasz, 4); in notesize()
1297 return sz; in notesize()
1339 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1345 phdr->p_filesz = sz; in fill_elf_note_phdr()
1353 unsigned int sz, void *data) in fill_note() argument
1357 note->datasz = sz; in fill_note()
1467 int sz = 0; in elf_dump_thread_status() local
1477 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1484 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1492 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1495 return sz; in elf_dump_thread_status()
1645 int sz; in elf_fdpic_core_dump() local
1648 sz = elf_dump_thread_status(cprm->siginfo->si_signo, tmp); in elf_fdpic_core_dump()
1649 thread_status_size += sz; in elf_fdpic_core_dump()
1710 int sz = 0; in elf_fdpic_core_dump() local
1713 sz += notesize(notes + i); in elf_fdpic_core_dump()
1715 sz += thread_status_size; in elf_fdpic_core_dump()
1721 fill_elf_note_phdr(phdr4note, sz, offset); in elf_fdpic_core_dump()
1722 offset += sz; in elf_fdpic_core_dump()
1750 size_t sz; in elf_fdpic_core_dump() local
1752 sz = vma->vm_end - vma->vm_start; in elf_fdpic_core_dump()
1758 phdr.p_filesz = maydump(vma, cprm->mm_flags) ? sz : 0; in elf_fdpic_core_dump()
1759 phdr.p_memsz = sz; in elf_fdpic_core_dump()