Home
last modified time | relevance | path

Searched refs:spec_str (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Drelo_core.c270 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()
1306 const char *spec_str; in bpf_core_calc_relo_insn() local
[all …]
H A Dusdt.c240 const char *spec_str; member
783 target->spec_str = note.args; in collect_usdt_targets()
909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
928 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
941 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
/linux/sound/pci/hda/
H A Dhda_generic.c5726 if (spec_str) { in setup_pcm_stream()
5727 if (spec_str->substreams) in setup_pcm_stream()
5728 str->substreams = spec_str->substreams; in setup_pcm_stream()
5729 if (spec_str->channels_min) in setup_pcm_stream()
5731 if (spec_str->channels_max) in setup_pcm_stream()
5733 if (spec_str->rates) in setup_pcm_stream()
5734 str->rates = spec_str->rates; in setup_pcm_stream()
5735 if (spec_str->formats) in setup_pcm_stream()
5736 str->formats = spec_str->formats; in setup_pcm_stream()
5737 if (spec_str->maxbps) in setup_pcm_stream()
[all …]