/openbmc/qemu/target/i386/ |
H A D | arch_dump.c | 50 int descsz, note_size, name_size = 5; in x86_64_write_elf64_note() local 83 descsz = sizeof(x86_64_elf_prstatus); in x86_64_write_elf64_note() 84 note_size = ELF_NOTE_SIZE(sizeof(Elf64_Nhdr), name_size, descsz); in x86_64_write_elf64_note() 87 note->n_descsz = cpu_to_le32(descsz); in x86_64_write_elf64_note() 94 buf += descsz - sizeof(x86_64_user_regs_struct)-sizeof(target_ulong); in x86_64_write_elf64_note() 156 int descsz, note_size, name_size = 5; in x86_write_elf64_note() local 161 descsz = sizeof(x86_elf_prstatus); in x86_write_elf64_note() 162 note_size = ELF_NOTE_SIZE(sizeof(Elf64_Nhdr), name_size, descsz); in x86_write_elf64_note() 165 note->n_descsz = cpu_to_le32(descsz); in x86_write_elf64_note() 210 int descsz, note_size, name_size = 5; in x86_cpu_write_elf32_note() local [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | arch_dump.c | 56 Elf64_Word type, Elf64_Word descsz) in riscv64_note_init() argument 61 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in riscv64_note_init() 125 Elf32_Word type, Elf32_Word descsz) in riscv32_note_init() argument 130 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in riscv32_note_init()
|
/openbmc/linux/tools/perf/util/ |
H A D | symbol-minimal.c | 48 size_t namesz, descsz; in read_build_id() local 58 descsz = NOTE_ALIGN(nhdr->n_descsz); in read_build_id() 66 size_t sz = min(size, descsz); in read_build_id() 73 ptr += descsz; in read_build_id()
|
H A D | genelf.c | 52 unsigned int descsz; /* Size of the note descriptor */ member 483 bnote.desc.descsz = sizeof(bnote.build_id); in jit_write_elf()
|
H A D | symbol-elf.c | 912 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id() local 921 size_t sz = min(size, descsz); in elf_read_build_id() 928 ptr += descsz; in elf_read_build_id() 1043 size_t namesz, descsz; in sysfs__read_build_id() local 1049 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id() 1055 size_t sz = min(descsz, size); in sysfs__read_build_id() 1062 } else if (read(fd, bf, descsz) != (ssize_t)descsz) in sysfs__read_build_id() 1065 int n = namesz + descsz; in sysfs__read_build_id()
|
/openbmc/qemu/target/loongarch/ |
H A D | arch_dump.c | 80 Elf64_Word type, Elf64_Word descsz) in loongarch_note_init() argument 85 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in loongarch_note_init()
|
/openbmc/qemu/target/arm/ |
H A D | arch_dump.c | 96 Elf64_Word type, Elf64_Word descsz) in aarch64_note_init() argument 101 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in aarch64_note_init() 329 Elf32_Word type, Elf32_Word descsz) in arm_note_init() argument 334 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in arm_note_init()
|
/openbmc/linux/fs/proc/ |
H A D | kcore.c | 310 size_t descsz) in append_kcore_note() argument 315 note->n_descsz = descsz; in append_kcore_note() 320 memcpy(¬es[*i], desc, descsz); in append_kcore_note() 321 *i = ALIGN(*i + descsz, 4); in append_kcore_note()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | prom_init.c | 1135 u32 descsz; member 1149 u32 descsz; member 1187 .descsz = sizeof(struct chrpdesc), 1201 .descsz = sizeof(struct rpadesc),
|