Home
last modified time | relevance | path

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

/Linux-v6.1/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.c516 d->d_buf = buffer_ext_addr(&dl); in jit_add_debug_info()
550 d->d_buf = buffer_ext_addr(&di); in jit_add_debug_info()
584 d->d_buf = buffer_ext_addr(&da); in jit_add_debug_info()
Dsymbol-elf.c164 return symstrs->d_buf + sym->st_name; in elf_sym__name()
170 return secstrs->d_buf + shdr->sh_name; in elf_sec__name()
540 ptr = data->d_buf; in elf_read_build_id()
541 while (ptr < (data->d_buf + data->d_size)) { in elf_read_build_id()
791 strncpy(debuglink, data->d_buf, size); in filename__read_debuglink()
1233 u64 *opd = opddata->d_buf + offset; in dso__load_sym_internal()
2293 .d_buf = &buf, .d_type = ELF_T_ADDR, .d_version = EV_CURRENT, in populate_sdt_note()
2298 .d_buf = (void *) data, .d_type = ELF_T_ADDR, in populate_sdt_note()
2448 !memcmp(data->d_buf + name_off, SDT_NOTE_NAME, in construct_sdt_notes_list()
2454 ret = populate_sdt_note(&elf, ((data->d_buf) + desc_off), in construct_sdt_notes_list()
Dprobe-event.c299 if (!data || !data->d_buf) in find_module_name()
316 mod_name = strdup((char *)data->d_buf + name_offset); in find_module_name()
/Linux-v6.1/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()
90 feature = bswap_if_needed(*(unsigned short *)(sec->data->d_buf + in get_alt_entry()
Dorc_dump.c136 orc = data->d_buf; in orc_dump()
139 orc_ip = data->d_buf; in orc_dump()
Delf.c669 symtab_data->d_buf = buf; in elf_update_symbol()
678 shndx_data->d_buf = &sym->sec->idx; in elf_update_symbol()
1005 data->d_buf = str; in elf_add_string()
1058 sec->data->d_buf = malloc(size); in elf_create_section()
1059 if (!sec->data->d_buf) { in elf_create_section()
1063 memset(sec->data->d_buf, 0, size); in elf_create_section()
1182 sec->data->d_buf = buf; in elf_rebuild_rel_reloc_section()
1213 sec->data->d_buf = buf; in elf_rebuild_rela_reloc_section()
1252 memcpy(data->d_buf + offset, insn, len); in elf_write_insn()
Dorc_gen.c98 orc = (struct orc_entry *)orc_sec->data->d_buf + idx; in write_orc_entry()
Dcheck.c652 site = (struct static_call_site *)sec->data->d_buf + idx; in create_static_call_sections()
738 int *site = (int *)sec->data->d_buf + idx; in create_retpoline_sites_sections()
784 int *site = (int *)sec->data->d_buf + idx; in create_return_sites_sections()
836 int *site = (int *)sec->data->d_buf + idx; in create_ibt_endbr_seal_sections()
881 loc = (unsigned long *)sec->data->d_buf + idx; in create_mcount_loc_sections()
2044 hint = (struct unwind_hint *)sec->data->d_buf + i; in read_unwind_hints()
/Linux-v6.1/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-v6.1/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()
1125 memcpy(dst->raw_data + dst_align_sz, src->data->d_buf, src->shdr->sh_size); in extend_sec()
1212 Elf64_Sym *sym = symtab->data->d_buf; in linker_append_elf_syms()
2048 src_rel = src_sec->data->d_buf; in linker_append_elf_relos()
2058 src_sym = src_symtab->data->d_buf + sizeof(*src_sym) * src_sym_idx; in linker_append_elf_relos()
[all …]
Dlibbpf.c791 void *data = sec_data->d_buf; in bpf_object__add_programs()
1236 obj->efile.st_ops_data->d_buf + vsi->offset, in bpf_object__init_struct_ops_maps()
1661 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
1669 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
2765 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf()
2784 obj->btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size); in bpf_object__init_btf()
3239 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
3247 return (Elf64_Rel *)data->d_buf + idx; in elf_rel_by_idx()
3382 err = bpf_object__init_license(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
3386 err = bpf_object__init_kversion(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
Dusdt.c621 err = parse_usdt_note(elf, path, &nhdr, data->d_buf, name_off, desc_off, &note); in collect_usdt_targets()
Dbtf.c996 btf = btf_new(btf_data->d_buf, btf_data->d_size, base_btf); in btf_parse_elf()
1014 *btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size); in btf_parse_elf()
/Linux-v6.1/tools/bpf/resolve_btfids/
Dmain.c598 int *ptr = data->d_buf; in id_patch()
652 int *ptr = data->d_buf; in sets_patch()
/Linux-v6.1/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-v6.1/drivers/scsi/lpfc/
Dlpfc_sli.c2618 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2620 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2621 if (!d_buf) in lpfc_sli_hbqbuf_get()
2623 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2661 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2670 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2671 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
3197 struct lpfc_dmabuf *d_buf; in lpfc_nvme_unsol_ls_handler() local
3205 d_buf = piocb->cmd_dmabuf; in lpfc_nvme_unsol_ls_handler()
3207 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-v6.1/tools/objtool/arch/x86/
Ddecode.c139 ret = insn_decode(&insn, sec->data->d_buf + offset, maxlen, in arch_decode_instruction()