| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | trace_helpers.c | 413 !strcmp((char *)(nhdr + 1), "GNU") && nhdr->n_descsz > 0 && in parse_build_id_buf() 414 nhdr->n_descsz <= BPF_BUILD_ID_SIZE) { in parse_build_id_buf() 416 ALIGN(sizeof("GNU"), 4) + sizeof(Elf32_Nhdr), nhdr->n_descsz); in parse_build_id_buf() 417 memset(build_id + nhdr->n_descsz, 0, BPF_BUILD_ID_SIZE - nhdr->n_descsz); in parse_build_id_buf() 418 return (int) nhdr->n_descsz; in parse_build_id_buf() 422 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4); in parse_build_id_buf()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | crash_dump.c | 260 note->n_descsz = d_len; in nt_init_name() 267 memcpy(buf + len, desc, note->n_descsz); in nt_init_name() 268 len = roundup(len + note->n_descsz, 4); in nt_init_name() 380 vmcoreinfo = kzalloc(note.n_descsz, GFP_KERNEL); in get_vmcoreinfo_old() 383 if (copy_oldmem_kernel(vmcoreinfo, addr + 24, note.n_descsz)) { in get_vmcoreinfo_old() 387 *size = note.n_descsz; in get_vmcoreinfo_old() 439 note->n_descsz = 0; in nt_final()
|
| /linux-6.15/tools/perf/util/ |
| H A D | symbol-minimal.c | 40 u32 n_descsz; in read_build_id() member 53 nhdr->n_descsz = bswap_32(nhdr->n_descsz); in read_build_id() 58 descsz = NOTE_ALIGN(nhdr->n_descsz); in read_build_id()
|
| H A D | symbol-elf.c | 916 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id() 1053 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id() 1074 __func__, filename, nhdr.n_namesz, nhdr.n_descsz); in sysfs__read_build_id() 2980 nhdr.n_descsz, sdt_notes); in construct_sdt_notes_list()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | vmcore.h | 12 __u32 n_descsz; /* Content size */ member
|
| H A D | elf.h | 566 Elf32_Word n_descsz; /* Content size */ member 573 Elf64_Word n_descsz; /* Content size */ member
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | elf.h | 477 Elf32_Word n_descsz; /* Content size */ member 484 Elf64_Word n_descsz; /* Content size */ member
|
| /linux-6.15/tools/testing/selftests/powerpc/ptrace/ |
| H A D | core-pkey.c | 163 __ALIGN_KERNEL(nhdr->n_descsz, 4); in next_note() 210 FAIL_IF(nhdr->n_descsz == 0); in check_core_file()
|
| /linux-6.15/arch/powerpc/platforms/cell/spufs/ |
| H A D | coredump.c | 126 en.n_descsz = sz; in spufs_arch_write_note()
|
| /linux-6.15/fs/proc/ |
| H A D | vmcore.c | 766 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf64() 769 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf64() 957 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf32() 960 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf32() 1375 vdd_hdr->n_descsz = size + sizeof(vdd_hdr->dump_name); in vmcoredd_write_header()
|
| H A D | kcore.c | 315 note->n_descsz = descsz; in append_kcore_note()
|
| /linux-6.15/kernel/ |
| H A D | vmcore_info.c | 40 note->n_descsz = data_len; in append_elf_note()
|
| /linux-6.15/scripts/gdb/linux/ |
| H A D | symbols.py | 65 n_namesz, n_descsz, n_type = struct.unpack(">III", elf_note)
|
| /linux-6.15/lib/ |
| H A D | buildid.c | 181 desc_sz = READ_ONCE(nhdr->n_descsz); in parse_build_id()
|
| /linux-6.15/arch/x86/kernel/fpu/ |
| H A D | xstate.c | 1893 en.n_descsz = get_xsave_desc_size(); in elf_coredump_extra_notes_write() 1908 if ((sizeof(struct x86_xfeat_component) * num_records) != en.n_descsz) in elf_coredump_extra_notes_write()
|
| /linux-6.15/fs/ |
| H A D | binfmt_elf.c | 810 if (note.nhdr.n_descsz > n - off) in parse_elf_properties() 812 datasz = off + note.nhdr.n_descsz; in parse_elf_properties() 1488 en.n_descsz = men->datasz; in writenote()
|
| H A D | binfmt_elf_fdpic.c | 1232 en.n_descsz = men->datasz; in writenote()
|
| /linux-6.15/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 100 note->n_descsz = cpu_to_be32(data_len); in append_elf64_note()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | usdt.c | 1150 len = nhdr->n_descsz; in parse_usdt_note()
|