Home
last modified time | relevance | path

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

12

/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch4 Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
6 The one which actually saves the data is data_list.data.d.d_buf, so check it
31 + && (scn->data_list.data.d.d_buf != NULL))
40 + && (scn->data_list.data.d.d_buf != NULL))
/openbmc/linux/tools/perf/util/
H A 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()
H A 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()
H A 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 …]
/openbmc/linux/tools/objtool/
H A 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()
H A Dorc_dump.c146 orc = data->d_buf; in orc_dump()
149 orc_ip = data->d_buf; in orc_dump()
H A 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()
H A Dorc_gen.c115 orc = (struct orc_entry *)orc_sec->data->d_buf + idx; in write_orc_entry()
/openbmc/u-boot/lib/zlib/
H A Ddeflate.h238 ushf *d_buf; member
321 s->d_buf[s->last_lit] = 0; \
329 s->d_buf[s->last_lit] = dist; \
H A Dtrees.c1031 s->d_buf[s->last_lit] = (ush)dist;
1088 dist = s->d_buf[lx];
H A Ddeflate.c300 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
972 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
/openbmc/linux/drivers/crypto/ccp/
H A 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()
H A Dccp-crypto.h250 u8 *d_buf; member
/openbmc/linux/tools/objtool/arch/powerpc/
H A Ddecode.c51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset)); in arch_decode_instruction()
/openbmc/linux/tools/lib/bpf/
H A 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()
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()
2106 Elf64_Sym *sym = symtab->data->d_buf; in find_sym_by_name()
2582 sec->data->d_buf = (void *)strs; in bpf_linker__finalize()
2598 sec->data->d_buf = sec->raw_data; in bpf_linker__finalize()
[all …]
H A Dlibbpf.c813 void *data = sec_data->d_buf; in bpf_object__add_programs()
1223 data->d_buf + vsi->offset, in init_struct_ops_maps()
1717 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
1725 sec_desc->data->d_buf, in bpf_object__init_global_data_maps()
2830 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf()
2849 obj->btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size); in bpf_object__init_btf()
3323 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
3331 return (Elf64_Rel *)data->d_buf + idx; in elf_rel_by_idx()
3471 err = bpf_object__init_license(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
3475 err = bpf_object__init_kversion(obj, data->d_buf, data->d_size); in bpf_object__elf_collect()
/openbmc/linux/tools/bpf/resolve_btfids/
H A Dmain.c616 int *ptr = data->d_buf; in id_patch()
691 set = data->d_buf + off; in sets_patch()
694 set8 = data->d_buf + off; in sets_patch()
/openbmc/openbmc/poky/meta/recipes-devtools/debugedit/files/
H A D0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch42 + (crcp - (const uint8_t *) data->d_buf));
/openbmc/linux/lib/zlib_deflate/
H A Ddefutil.h216 ush *d_buf; member
H A Ddeftree.c921 s->d_buf[s->last_lit] = (ush)dist;
977 dist = s->d_buf[lx];
H A Ddeflate.c271 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); in zlib_deflateInit2()
/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h207 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c2634 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2637 if (!d_buf) in lpfc_sli_hbqbuf_get()
2677 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
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()
18687 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
18735 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18752 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
19103 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
19214 iocbq->bpl_dmabuf = d_buf; in lpfc_prep_seq()
[all …]
/openbmc/linux/tools/objtool/arch/x86/
H A Ddecode.c167 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen, in arch_decode_instruction()
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/
H A Delfutils_0.191.bb20 file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \

12