Home
last modified time | relevance | path

Searched refs:str_off (Results 1 – 7 of 7) sorted by relevance

/third_party/elfutils/libdw/
Ddwarf_formstring.c138 Dwarf_Off str_off = __libdw_cu_str_off_base (cu); in dwarf_formstring() local
139 if (str_off == (Dwarf_Off) -1) in dwarf_formstring()
158 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring()
163 - offset_size - str_off) / offset_size; in dwarf_formstring()
168 + str_off + (idx * offset_size)); in dwarf_formstring()
/third_party/libbpf/src/
Dlinker.c297 int err, str_off; in init_output_elf() local
361 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
362 if (str_off < 0) in init_output_elf()
363 return str_off; in init_output_elf()
369 sec->shdr->sh_name = str_off; in init_output_elf()
400 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
401 if (str_off < 0) in init_output_elf()
402 return str_off; in init_output_elf()
407 sec->shdr->sh_name = str_off; in init_output_elf()
925 static int check_btf_str_off(__u32 *str_off, void *ctx) in check_btf_str_off() argument
[all …]
Dbtf.c220 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
254 if (meta_left < (long long)hdr->str_off + hdr->str_len) { in btf_parse_hdr()
259 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
261 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
455 static int btf_validate_str(const struct btf *btf, __u32 str_off, const char *what, __u32 type_id) in btf_validate_str() argument
459 s = btf__str_by_offset(btf, str_off); in btf_validate_str()
461 pr_warn("btf: type [%u]: invalid %s (string offset %u)\n", type_id, what, str_off); in btf_validate_str()
1063 btf->strs_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->str_off; in btf_new()
1822 btf->hdr->str_off += data_sz;
1833 static int btf_rewrite_str(__u32 *str_off, void *ctx) argument
[all …]
Dlibbpf_probes.c229 .str_off = types_len, in libbpf__load_raw_btf()
Dlibbpf_internal.h549 typedef int (*str_off_visit_fn)(__u32 *str_off, void *ctx);
/third_party/libbpf/include/uapi/linux/
Dbtf.h20 __u32 str_off; /* offset of string section */ member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h25822 __u32 str_off; member