Lines Matching refs:spec_str
155 const char *spec_str, in bpf_core_parse_spec() argument
166 if (str_is_empty(spec_str) || *spec_str == ':') in bpf_core_parse_spec()
176 if (strcmp(spec_str, "0")) in bpf_core_parse_spec()
182 while (*spec_str) { in bpf_core_parse_spec()
183 if (*spec_str == ':') in bpf_core_parse_spec()
184 ++spec_str; in bpf_core_parse_spec()
185 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
189 spec_str += parsed_len; in bpf_core_parse_spec()
276 type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1157 const char *spec_str; in bpf_core_apply_relo_insn() local
1169 spec_str = btf__name_by_offset(local_btf, relo->access_str_off); in bpf_core_apply_relo_insn()
1170 if (str_is_empty(spec_str)) in bpf_core_apply_relo_insn()
1173 err = bpf_core_parse_spec(local_btf, local_id, spec_str, relo->kind, &local_spec); in bpf_core_apply_relo_insn()
1178 spec_str, err); in bpf_core_apply_relo_insn()
1197 if (str_is_empty(spec_str)) { in bpf_core_apply_relo_insn()