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.c269 const char *name, *spec_str; in bpf_core_parse_spec() local
273 spec_str = btf__name_by_offset(btf, relo->access_str_off); in bpf_core_parse_spec()
274 if (str_is_empty(spec_str) || *spec_str == ':') in bpf_core_parse_spec()
284 if (strcmp(spec_str, "0")) in bpf_core_parse_spec()
290 while (*spec_str) { in bpf_core_parse_spec()
291 if (*spec_str == ':') in bpf_core_parse_spec()
292 ++spec_str; in bpf_core_parse_spec()
293 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
299 spec_str += parsed_len; in bpf_core_parse_spec()
388 prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
[all …]
H A Dusdt.c251 const char *spec_str; member
844 target->spec_str = note.args; in collect_usdt_targets()
970 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
989 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
1002 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
/linux/sound/hda/codecs/
H A Dgeneric.c5685 * from @spec_str and @nid in fill_pcm_stream_name()
5689 const struct hda_pcm_stream *spec_str, in fill_pcm_stream_name()
5695 if (spec_str) { in fill_pcm_stream_name()
5696 if (spec_str->substreams) in fill_pcm_stream_name()
5697 str->substreams = spec_str->substreams; in fill_pcm_stream_name()
5698 if (spec_str->channels_min) in fill_pcm_stream_name()
5699 str->channels_min = spec_str->channels_min; in fill_pcm_stream_name()
5700 if (spec_str->channels_max)
5701 str->channels_max = spec_str->channels_max;
5702 if (spec_str
5706 setup_pcm_stream(struct hda_pcm_stream * str,const struct hda_pcm_stream * default_str,const struct hda_pcm_stream * spec_str,hda_nid_t nid) setup_pcm_stream() argument
[all...]