Home
last modified time | relevance | path

Searched refs:d_buf (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dgenelf.c185 d->d_buf = unwinding; in jit_add_eh_frame_info()
219 d->d_buf = unwinding + unwinding_table_size; in jit_add_eh_frame_info()
321 d->d_buf = (void *)code; in jit_write_elf()
368 d->d_buf = shd_string_table; in jit_write_elf()
404 d->d_buf = symtab; in jit_write_elf()
447 d->d_buf = strsym; in jit_write_elf()
489 d->d_buf = &bnote; in jit_write_elf()
Dgenelf_debug.c527 d->d_buf = buffer_ext_addr(&dl); in jit_add_debug_info()
561 d->d_buf = buffer_ext_addr(&di); in jit_add_debug_info()
595 d->d_buf = buffer_ext_addr(&da); in jit_add_debug_info()
Dsymbol-elf.c153 return symstrs->d_buf + sym->st_name; in elf_sym__name()
159 return secstrs->d_buf + shdr->sh_name; in elf_sec__name()
604 disp = get_x86_64_plt_disp(di->plt_got_data->d_buf + i); in get_plt_got_name()
908 ptr = data->d_buf; in elf_read_build_id()
909 while (ptr < (data->d_buf + data->d_size)) { in elf_read_build_id()
1159 strncpy(debuglink, data->d_buf, size); in filename__read_debuglink()
1609 u64 *opd = opddata->d_buf + offset; in dso__load_sym_internal()
2669 .d_buf = &buf, .d_type = ELF_T_ADDR, .d_version = EV_CURRENT, in populate_sdt_note()
2674 .d_buf = (void *) data, .d_type = ELF_T_ADDR, in populate_sdt_note()
2824 !memcmp(data->d_buf + name_off, SDT_NOTE_NAME, in construct_sdt_notes_list()
[all …]
Dprobe-event.c307 if (!data || !data->d_buf) in find_module_name()
324 mod_name = strdup((char *)data->d_buf + name_offset); in find_module_name()
/linux-6.6.21/tools/objtool/
Dspecial.c81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
91 *(unsigned short *)(sec->data->d_buf + in get_alt_entry()
Dorc_dump.c146 orc = data->d_buf; in orc_dump()
149 orc_ip = data->d_buf; in orc_dump()
Delf.c658 symtab_data->d_buf = buf; in elf_update_symbol()
673 shndx_data->d_buf = buf; in elf_update_symbol()
1078 data->d_buf = str; in elf_add_string()
1130 sec->data->d_buf = malloc(size); in elf_create_section()
1131 if (!sec->data->d_buf) { in elf_create_section()
1135 memset(sec->data->d_buf, 0, size); in elf_create_section()
1236 memcpy(data->d_buf + offset, insn, len); in elf_write_insn()
Dorc_gen.c115 orc = (struct orc_entry *)orc_sec->data->d_buf + idx; in write_orc_entry()
Dcheck.c864 int *site = (int *)sec->data->d_buf + idx; in create_ibt_endbr_seal_sections()
2230 hint = (struct unwind_hint *)sec->data->d_buf + i; in read_unwind_hints()
/linux-6.6.21/drivers/crypto/ccp/
Dccp-crypto-rsa.c121 kfree_sensitive(ctx->u.rsa.d_buf); in ccp_rsa_free_key_bufs()
122 ctx->u.rsa.d_buf = NULL; in ccp_rsa_free_key_bufs()
163 ret = ccp_copy_and_save_keypart(&ctx->u.rsa.d_buf, in ccp_rsa_setkey()
169 ctx->u.rsa.d_buf, ctx->u.rsa.d_len); in ccp_rsa_setkey()
Dccp-crypto.h250 u8 *d_buf; member
/linux-6.6.21/tools/objtool/arch/powerpc/
Ddecode.c51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset)); in arch_decode_instruction()
/linux-6.6.21/tools/lib/bpf/
Dlinker.c656 obj->btf = btf__new(data->d_buf, shdr->sh_size); in linker_load_obj_file()
666 obj->btf_ext = btf_ext__new(data->d_buf, shdr->sh_size); in linker_load_obj_file()
787 sym = sec->data->d_buf; in linker_sanity_check_elf_symtab()
884 relo = sec->data->d_buf; in linker_sanity_check_elf_relos()
1027 data->d_buf = NULL; in init_sec()
1074 if (memcmp(dst_sec->raw_data, src_sec->data->d_buf, dst_sec->sec_sz) != 0) in sec_content_is_same()
1137 memcpy(dst->raw_data + dst_align_sz, src->data->d_buf, src->shdr->sh_size); in extend_sec()
1224 Elf64_Sym *sym = symtab->data->d_buf; in linker_append_elf_syms()
2056 src_rel = src_sec->data->d_buf; in linker_append_elf_relos()
2064 src_sym = src_symtab->data->d_buf + sizeof(*src_sym) * src_sym_idx; in linker_append_elf_relos()
[all …]
Dlibbpf.c812 void *data = sec_data->d_buf; in bpf_object__add_programs()
1222 data->d_buf + vsi->offset, in init_struct_ops_maps()
1716 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
1724 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
2829 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf()
2848 obj->btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size); in bpf_object__init_btf()
3322 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
3330 return (Elf64_Rel *)data->d_buf + idx; in elf_rel_by_idx()
3470 err = bpf_object__init_license(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
3474 err = bpf_object__init_kversion(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
Dusdt.c627 err = parse_usdt_note(elf, path, &nhdr, data->d_buf, name_off, desc_off, &note); in collect_usdt_targets()
Dbtf.c1008 btf = btf_new(btf_data->d_buf, btf_data->d_size, base_btf); in btf_parse_elf()
1026 *btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size); in btf_parse_elf()
/linux-6.6.21/tools/bpf/resolve_btfids/
Dmain.c598 int *ptr = data->d_buf; in id_patch()
652 int *ptr = data->d_buf; in sets_patch()
/linux-6.6.21/lib/zlib_deflate/
Ddefutil.h216 ush *d_buf; member
Ddeftree.c921 s->d_buf[s->last_lit] = (ush)dist;
977 dist = s->d_buf[lx];
Ddeflate.c271 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); in zlib_deflateInit2()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_sli.c2634 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2636 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2637 if (!d_buf) in lpfc_sli_hbqbuf_get()
2639 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2677 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2686 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2687 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
3213 struct lpfc_dmabuf *d_buf; in lpfc_nvme_unsol_ls_handler() local
3221 d_buf = piocb->cmd_dmabuf; in lpfc_nvme_unsol_ls_handler()
3223 nvmebuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_nvme_unsol_ls_handler()
[all …]
Dlpfc_debugfs.c288 struct lpfc_dmabuf *d_buf; in lpfc_debugfs_hbqinfo_data() local
312 list_for_each_entry(d_buf, &hbqs->hbq_buffer_list, list) in lpfc_debugfs_hbqinfo_data()
357 list_for_each_entry(d_buf, &hbqs->hbq_buffer_list, list) { in lpfc_debugfs_hbqinfo_data()
358 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_debugfs_hbqinfo_data()
/linux-6.6.21/tools/objtool/include/objtool/
Delf.h207 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel()
/linux-6.6.21/tools/objtool/arch/x86/
Ddecode.c167 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen, in arch_decode_instruction()