Lines Matching refs:sz
1251 int sz; in notesize() local
1253 sz = sizeof(struct elf_note); in notesize()
1254 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1255 sz += roundup(en->datasz, 4); in notesize()
1257 return sz; in notesize()
1299 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1305 phdr->p_filesz = sz; in fill_elf_note_phdr()
1313 unsigned int sz, void *data) in fill_note() argument
1317 note->datasz = sz; in fill_note()
1427 int sz = 0; in elf_dump_thread_status() local
1437 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1444 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1452 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1455 return sz; in elf_dump_thread_status()
1605 int sz; in elf_fdpic_core_dump() local
1608 sz = elf_dump_thread_status(cprm->siginfo->si_signo, tmp); in elf_fdpic_core_dump()
1609 thread_status_size += sz; in elf_fdpic_core_dump()
1670 int sz = 0; in elf_fdpic_core_dump() local
1673 sz += notesize(notes + i); in elf_fdpic_core_dump()
1675 sz += thread_status_size; in elf_fdpic_core_dump()
1681 fill_elf_note_phdr(phdr4note, sz, offset); in elf_fdpic_core_dump()
1682 offset += sz; in elf_fdpic_core_dump()
1710 size_t sz; in elf_fdpic_core_dump() local
1712 sz = vma->vm_end - vma->vm_start; in elf_fdpic_core_dump()
1718 phdr.p_filesz = maydump(vma, cprm->mm_flags) ? sz : 0; in elf_fdpic_core_dump()
1719 phdr.p_memsz = sz; in elf_fdpic_core_dump()