Lines Matching refs:sz
1405 int sz; in notesize() local
1407 sz = sizeof(struct elf_note); in notesize()
1408 sz += roundup(strlen(en->name) + 1, 4); in notesize()
1409 sz += roundup(en->datasz, 4); in notesize()
1411 return sz; in notesize()
1447 static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1453 phdr->p_filesz = sz; in fill_elf_note_phdr()
1460 unsigned int sz, void *data) in fill_note() argument
1464 note->datasz = sz; in fill_note()
1937 int sz = 0; in elf_dump_thread_status() local
1947 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1954 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1962 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1965 return sz; in elf_dump_thread_status()
2030 int sz; in fill_note_info() local
2032 sz = elf_dump_thread_status(siginfo->si_signo, ets); in fill_note_info()
2033 info->thread_status_size += sz; in fill_note_info()
2081 int sz = 0; in get_note_info_size() local
2085 sz += notesize(info->notes + i); in get_note_info_size()
2087 sz += info->thread_status_size; in get_note_info_size()
2089 return sz; in get_note_info_size()
2252 size_t sz = get_note_info_size(&info); in elf_core_dump() local
2254 sz += elf_coredump_extra_notes_size(); in elf_core_dump()
2260 fill_elf_note_phdr(phdr4note, sz, offset); in elf_core_dump()
2261 offset += sz; in elf_core_dump()