Lines Matching refs:sz
1280 int sz; in notesize() local
1282 sz = sizeof(struct elf_note); in notesize()
1283 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1284 sz += roundup(en->datasz, 4); in notesize()
1286 return sz; in notesize()
1348 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1354 phdr->p_filesz = sz; in fill_elf_note_phdr()
1362 unsigned int sz, void *data) in fill_note() argument
1366 note->datasz = sz; in fill_note()
1469 int sz = 0; in elf_dump_thread_status() local
1479 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1486 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1494 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1497 return sz; in elf_dump_thread_status()
1663 int sz; in elf_fdpic_core_dump() local
1666 sz = elf_dump_thread_status(signr, tmp); in elf_fdpic_core_dump()
1667 thread_status_size += sz; in elf_fdpic_core_dump()
1727 int sz = 0; in elf_fdpic_core_dump() local
1730 sz += notesize(notes + i); in elf_fdpic_core_dump()
1732 sz += thread_status_size; in elf_fdpic_core_dump()
1734 fill_elf_note_phdr(&phdr, sz, offset); in elf_fdpic_core_dump()
1735 offset += sz; in elf_fdpic_core_dump()
1752 size_t sz; in elf_fdpic_core_dump() local
1754 sz = vma->vm_end - vma->vm_start; in elf_fdpic_core_dump()
1760 phdr.p_filesz = maydump(vma, mm_flags) ? sz : 0; in elf_fdpic_core_dump()
1761 phdr.p_memsz = sz; in elf_fdpic_core_dump()