Lines Matching refs:spec_str
4512 const char *spec_str, in bpf_core_parse_spec() argument
4523 if (str_is_empty(spec_str) || *spec_str == ':') in bpf_core_parse_spec()
4533 if (strcmp(spec_str, "0")) in bpf_core_parse_spec()
4539 while (*spec_str) { in bpf_core_parse_spec()
4540 if (*spec_str == ':') in bpf_core_parse_spec()
4541 ++spec_str; in bpf_core_parse_spec()
4542 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
4546 spec_str += parsed_len; in bpf_core_parse_spec()
4633 type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
5736 const char *spec_str; in bpf_core_apply_relo() local
5748 spec_str = btf__name_by_offset(local_btf, relo->access_str_off); in bpf_core_apply_relo()
5749 if (str_is_empty(spec_str)) in bpf_core_apply_relo()
5752 err = bpf_core_parse_spec(local_btf, local_id, spec_str, relo->kind, &local_spec); in bpf_core_apply_relo()
5757 spec_str, err); in bpf_core_apply_relo()
5776 if (str_is_empty(spec_str)) { in bpf_core_apply_relo()