Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Dcrash_core.c303 note->n_descsz = data_len; in append_elf_note()
407 if (note_sec->n_hdr.n_descsz <= BUILD_ID_MAX) { in add_build_id_vmcoreinfo()
408 const u32 n_descsz = note_sec->n_hdr.n_descsz; in add_build_id_vmcoreinfo() local
412 bin2hex(build_id, s, n_descsz); in add_build_id_vmcoreinfo()
413 build_id[2 * n_descsz] = '\0'; in add_build_id_vmcoreinfo()
418 note_sec->n_hdr.n_descsz, in add_build_id_vmcoreinfo()
424 ALIGN(note_sec->n_hdr.n_descsz, 4); in add_build_id_vmcoreinfo()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c539 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id()
643 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id()
664 __func__, filename, nhdr.n_namesz, nhdr.n_descsz); in sysfs__read_build_id()
2355 nhdr.n_descsz, sdt_notes); in construct_sdt_notes_list()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dvmcore.h26 __u32 n_descsz; member
Delf.h371 Elf32_Word n_descsz; member
376 Elf64_Word n_descsz; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvmcore.h13 __u32 n_descsz; member
Delf.h352 Elf32_Word n_descsz; member
357 Elf64_Word n_descsz; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dvmcore.h12 __u32 n_descsz; /* Content size */ member
Delf.h444 Elf32_Word n_descsz; /* Content size */ member
451 Elf64_Word n_descsz; /* Content size */ member
/kernel/linux/linux-5.10/kernel/bpf/
Dstackmap.c185 nhdr->n_descsz > 0 && in stack_map_parse_build_id()
186 nhdr->n_descsz <= BPF_BUILD_ID_SIZE) { in stack_map_parse_build_id()
190 nhdr->n_descsz); in stack_map_parse_build_id()
191 memset(build_id + nhdr->n_descsz, 0, in stack_map_parse_build_id()
192 BPF_BUILD_ID_SIZE - nhdr->n_descsz); in stack_map_parse_build_id()
196 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4); in stack_map_parse_build_id()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dcoredump.c125 en.n_descsz = sz; in spufs_arch_write_note()
/kernel/linux/linux-5.10/fs/proc/
Dvmcore.c733 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf64()
736 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf64()
924 (((u64)nhdr_ptr->n_descsz + 3) & ~3); in update_note_header_size_elf32()
927 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf32()
1354 vdd_hdr->n_descsz = size + sizeof(vdd_hdr->dump_name); in vmcoredd_write_header()
Dkcore.c302 note->n_descsz = descsz; in append_kcore_note()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c806 if (note.nhdr.n_descsz > n - off) in parse_elf_properties()
808 datasz = off + note.nhdr.n_descsz; in parse_elf_properties()
1481 en.n_descsz = men->datasz; in writenote()
Dbinfmt_elf_fdpic.c1245 en.n_descsz = men->datasz; in writenote()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-core.c100 note->n_descsz = cpu_to_be32(data_len); in append_elf64_note()