Home
last modified time | relevance | path

Searched refs:n_namesz (Results 1 – 15 of 15) sorted by relevance

/linux/tools/perf/util/
A Dsymbol-minimal.c39 u32 n_namesz; in read_build_id() member
52 nhdr->n_namesz = bswap_32(nhdr->n_namesz); in read_build_id()
57 namesz = NOTE_ALIGN(nhdr->n_namesz); in read_build_id()
64 nhdr->n_namesz == sizeof("GNU")) { in read_build_id()
A Dsymbol-elf.c516 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id()
524 nhdr->n_namesz == sizeof("GNU")) { in elf_read_build_id()
653 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id()
656 nhdr.n_namesz == sizeof("GNU")) { in sysfs__read_build_id()
675 __func__, filename, nhdr.n_namesz, nhdr.n_descsz); in sysfs__read_build_id()
2389 if (nhdr.n_namesz == sizeof(SDT_NOTE_NAME) && in construct_sdt_notes_list()
/linux/arch/powerpc/platforms/cell/spufs/
A Dcoredump.c124 en.n_namesz = strlen(fullname) + 1; in spufs_arch_write_note()
130 if (!dump_emit(cprm, fullname, en.n_namesz)) in spufs_arch_write_note()
/linux/lib/
A Dbuildid.c27 nhdr->n_namesz == sizeof("GNU") && in parse_build_id_buf()
42 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4); in parse_build_id_buf()
/linux/kernel/
A Dcrash_core.c314 note->n_namesz = strlen(name) + 1; in append_elf_note()
318 memcpy(buf, name, note->n_namesz); in append_elf_note()
319 buf += DIV_ROUND_UP(note->n_namesz, sizeof(Elf_Word)); in append_elf_note()
/linux/include/uapi/linux/
A Dvmcore.h11 __u32 n_namesz; /* Name size */ member
A Delf.h441 Elf32_Word n_namesz; /* Name size */ member
448 Elf64_Word n_namesz; /* Name size */ member
/linux/fs/proc/
A Dvmcore.c769 while (nhdr_ptr->n_namesz != 0) { in update_note_header_size_elf64()
771 (((u64)nhdr_ptr->n_namesz + 3) & ~3) + in update_note_header_size_elf64()
775 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf64()
960 while (nhdr_ptr->n_namesz != 0) { in update_note_header_size_elf32()
962 (((u64)nhdr_ptr->n_namesz + 3) & ~3) + in update_note_header_size_elf32()
966 nhdr_ptr->n_namesz, nhdr_ptr->n_descsz); in update_note_header_size_elf32()
1392 vdd_hdr->n_namesz = sizeof(vdd_hdr->name); in vmcoredd_write_header()
A Dkcore.c301 note->n_namesz = strlen(name) + 1; in append_kcore_note()
305 memcpy(&notes[*i], name, note->n_namesz); in append_kcore_note()
306 *i = ALIGN(*i + note->n_namesz, 4); in append_kcore_note()
/linux/arch/s390/kernel/
A Dcrash_dump.c317 note->n_namesz = strlen(name) + 1; in nt_init_name()
322 memcpy(buf + len, name, note->n_namesz); in nt_init_name()
323 len = roundup(len + note->n_namesz, 4); in nt_init_name()
503 note->n_namesz = 0; in nt_final()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dcore-pkey.c191 __ALIGN_KERNEL(nhdr->n_namesz, 4) + in next_note()
242 note = p + sizeof(*nhdr) + __ALIGN_KERNEL(nhdr->n_namesz, 4); in check_core_file()
/linux/fs/afs/
A Dfsclient.c961 size_t reqsz, o_namesz, o_padsz, n_namesz, n_padsz; in afs_fs_rename() local
969 n_namesz = new_name->len; in afs_fs_rename()
970 n_padsz = (4 - (n_namesz & 3)) & 3; in afs_fs_rename()
975 4 + n_namesz + n_padsz; in afs_fs_rename()
998 *bp++ = htonl(n_namesz); in afs_fs_rename()
999 memcpy(bp, new_name->name, n_namesz); in afs_fs_rename()
1000 bp = (void *) bp + n_namesz; in afs_fs_rename()
/linux/fs/
A Dbinfmt_elf.c799 note.nhdr.n_namesz != NOTE_NAME_SZ || in parse_elf_properties()
1459 en.n_namesz = strlen(men->name) + 1; in writenote()
1464 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote()
A Dbinfmt_elf_fdpic.c1228 en.n_namesz = strlen(men->name) + 1; in writenote()
1233 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote()
/linux/arch/powerpc/platforms/powernv/
A Dopal-core.c99 note->n_namesz = cpu_to_be32(namesz); in append_elf64_note()

Completed in 31 milliseconds