Home
last modified time | relevance | path

Searched refs:nhdr (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/tools/perf/util/
Dsymbol-minimal.c36 } *nhdr; in read_build_id() local
44 nhdr = ptr; in read_build_id()
46 nhdr->n_namesz = bswap_32(nhdr->n_namesz); in read_build_id()
47 nhdr->n_descsz = bswap_32(nhdr->n_descsz); in read_build_id()
48 nhdr->n_type = bswap_32(nhdr->n_type); in read_build_id()
51 namesz = NOTE_ALIGN(nhdr->n_namesz); in read_build_id()
52 descsz = NOTE_ALIGN(nhdr->n_descsz); in read_build_id()
54 ptr += sizeof(*nhdr); in read_build_id()
57 if (nhdr->n_type == NT_GNU_BUILD_ID && in read_build_id()
58 nhdr->n_namesz == sizeof("GNU")) { in read_build_id()
Dsymbol-elf.c403 GElf_Nhdr *nhdr = ptr; in elf_read_build_id() local
404 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id()
405 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id()
408 ptr += sizeof(*nhdr); in elf_read_build_id()
411 if (nhdr->n_type == NT_GNU_BUILD_ID && in elf_read_build_id()
412 nhdr->n_namesz == sizeof("GNU")) { in elf_read_build_id()
468 GElf_Nhdr nhdr; in sysfs__read_build_id() local
471 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr)) in sysfs__read_build_id()
474 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id()
475 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id()
[all …]
/linux-4.4.14/fs/proc/
Dkcore.c323 struct elf_phdr *nhdr, *phdr; in elf_kcore_store_hdr() local
354 nhdr = (struct elf_phdr *) bufp; in elf_kcore_store_hdr()
357 nhdr->p_type = PT_NOTE; in elf_kcore_store_hdr()
358 nhdr->p_offset = 0; in elf_kcore_store_hdr()
359 nhdr->p_vaddr = 0; in elf_kcore_store_hdr()
360 nhdr->p_paddr = 0; in elf_kcore_store_hdr()
361 nhdr->p_filesz = 0; in elf_kcore_store_hdr()
362 nhdr->p_memsz = 0; in elf_kcore_store_hdr()
363 nhdr->p_flags = 0; in elf_kcore_store_hdr()
364 nhdr->p_align = 0; in elf_kcore_store_hdr()
[all …]
/linux-4.4.14/scripts/
Drecordmcount.h484 unsigned nhdr, in tot_relsize() argument
492 for (; nhdr; --nhdr, ++shdrp) { in tot_relsize()
507 unsigned const nhdr = w2(ehdr->e_shnum); in do_func() local
516 unsigned const totrelsz = tot_relsize(shdr0, nhdr, shstrtab, fname); in do_func()
527 for (relhdr = shdr0, k = nhdr; k; --k, ++relhdr) { in do_func()
/linux-4.4.14/include/pcmcia/
Dcistpl.h507 u_char nhdr; member
/linux-4.4.14/drivers/pcmcia/
Dcistpl.c1242 v2->nhdr = p[8]; in parse_vers_2()