Lines Matching refs:spec_str
270 const char *name, *spec_str; in bpf_core_parse_spec() local
274 spec_str = btf__name_by_offset(btf, relo->access_str_off); in bpf_core_parse_spec()
275 if (str_is_empty(spec_str) || *spec_str == ':') in bpf_core_parse_spec()
285 if (strcmp(spec_str, "0")) in bpf_core_parse_spec()
291 while (*spec_str) { in bpf_core_parse_spec()
292 if (*spec_str == ':') in bpf_core_parse_spec()
293 ++spec_str; in bpf_core_parse_spec()
294 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
298 spec_str += parsed_len; in bpf_core_parse_spec()
387 prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1306 const char *spec_str; in bpf_core_calc_relo_insn() local
1308 spec_str = btf__name_by_offset(local_btf, relo->access_str_off); in bpf_core_calc_relo_insn()
1312 spec_str ?: "<?>", err); in bpf_core_calc_relo_insn()