Home
last modified time | relevance | path

Searched refs:n_descsz (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/lib/
Dbuildid.c29 nhdr->n_descsz > 0 && in parse_build_id_buf()
30 nhdr->n_descsz <= BUILD_ID_SIZE_MAX) { in parse_build_id_buf()
34 nhdr->n_descsz); in parse_build_id_buf()
35 memset(build_id + nhdr->n_descsz, 0, in parse_build_id_buf()
36 BUILD_ID_SIZE_MAX - nhdr->n_descsz); in parse_build_id_buf()
38 *size = nhdr->n_descsz; in parse_build_id_buf()
42 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4); in parse_build_id_buf()
/Linux-v5.15/arch/s390/kernel/
Dcrash_dump.c318 note->n_descsz = d_len; in nt_init_name()
325 memcpy(buf + len, desc, note->n_descsz); in nt_init_name()
326 len = roundup(len + note->n_descsz, 4); in nt_init_name()
445 vmcoreinfo = kzalloc(note.n_descsz, GFP_KERNEL); in get_vmcoreinfo_old()
448 if (copy_oldmem_kernel(vmcoreinfo, addr + 24, note.n_descsz)) { in get_vmcoreinfo_old()
452 *size = note.n_descsz; in get_vmcoreinfo_old()
504 note->n_descsz = 0; in nt_final()
/Linux-v5.15/tools/perf/util/
Dsymbol-minimal.c40 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()
Dsymbol-elf.c517 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id()
654 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id()
675 __func__, filename, nhdr.n_namesz, nhdr.n_descsz); in sysfs__read_build_id()
2397 nhdr.n_descsz, sdt_notes); in construct_sdt_notes_list()
/Linux-v5.15/include/uapi/linux/
Dvmcore.h12 __u32 n_descsz; /* Content size */ member
Delf.h442 Elf32_Word n_descsz; /* Content size */ member
449 Elf64_Word n_descsz; /* Content size */ member
/Linux-v5.15/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c192 __ALIGN_KERNEL(nhdr->n_descsz, 4); in next_note()
239 FAIL_IF(nhdr->n_descsz == 0); in check_core_file()
/Linux-v5.15/arch/powerpc/platforms/cell/spufs/
Dcoredump.c125 en.n_descsz = sz; in spufs_arch_write_note()
/Linux-v5.15/fs/proc/
Dvmcore.c729 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf64()
732 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf64()
920 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf32()
923 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf32()
1350 vdd_hdr->n_descsz = size + sizeof(vdd_hdr->dump_name); in vmcoredd_write_header()
Dkcore.c302 note->n_descsz = descsz; in append_kcore_note()
/Linux-v5.15/kernel/
Dcrash_core.c304 note->n_descsz = data_len; in append_elf_note()
/Linux-v5.15/fs/
Dbinfmt_elf.c809 if (note.nhdr.n_descsz > n - off) in parse_elf_properties()
811 datasz = off + note.nhdr.n_descsz; in parse_elf_properties()
1447 en.n_descsz = men->datasz; in writenote()
Dbinfmt_elf_fdpic.c1229 en.n_descsz = men->datasz; in writenote()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dopal-core.c100 note->n_descsz = cpu_to_be32(data_len); in append_elf64_note()