Lines Matching refs:sz
1322 int sz; in notesize() local
1324 sz = sizeof(struct elf_note); in notesize()
1325 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1326 sz += roundup(en->datasz, 4); in notesize()
1328 return sz; in notesize()
1366 static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1372 phdr->p_filesz = sz; in fill_elf_note_phdr()
1380 unsigned int sz, void *data) in fill_note() argument
1384 note->datasz = sz; in fill_note()
1862 int sz = 0; in elf_dump_thread_status() local
1872 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1879 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1887 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1890 return sz; in elf_dump_thread_status()
1956 int sz; in fill_note_info() local
1959 sz = elf_dump_thread_status(siginfo->si_signo, ets); in fill_note_info()
1960 info->thread_status_size += sz; in fill_note_info()
2008 int sz = 0; in get_note_info_size() local
2012 sz += notesize(info->notes + i); in get_note_info_size()
2014 sz += info->thread_status_size; in get_note_info_size()
2016 return sz; in get_note_info_size()
2182 size_t sz = get_note_info_size(&info); in elf_core_dump() local
2184 sz += elf_coredump_extra_notes_size(); in elf_core_dump()
2190 fill_elf_note_phdr(phdr4note, sz, offset); in elf_core_dump()
2191 offset += sz; in elf_core_dump()