Lines Matching refs:sz
1259 int sz; in notesize() local
1261 sz = sizeof(struct elf_note); in notesize()
1262 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1263 sz += roundup(en->datasz, 4); in notesize()
1265 return sz; in notesize()
1328 static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1334 phdr->p_filesz = sz; in fill_elf_note_phdr()
1342 unsigned int sz, void *data) in fill_note() argument
1346 note->datasz = sz; in fill_note()
1687 int sz = 0; in elf_dump_thread_status() local
1697 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1704 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1712 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1715 return sz; in elf_dump_thread_status()
1782 int sz; in fill_note_info() local
1785 sz = elf_dump_thread_status(signr, ets); in fill_note_info()
1786 info->thread_status_size += sz; in fill_note_info()
1832 int sz = 0; in get_note_info_size() local
1836 sz += notesize(info->notes + i); in get_note_info_size()
1838 sz += info->thread_status_size; in get_note_info_size()
1840 return sz; in get_note_info_size()
1978 size_t sz = get_note_info_size(&info); in elf_core_dump() local
1980 sz += elf_coredump_extra_notes_size(); in elf_core_dump()
1982 fill_elf_note_phdr(&phdr, sz, offset); in elf_core_dump()
1983 offset += sz; in elf_core_dump()