Home
last modified time | relevance | path

Searched refs:spec_str (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/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()
290 /* parse spec_str="0:1:2:3:4" into array raw_spec=[0, 1, 2, 3, 4] */ 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, " in bpf_core_parse_spec()
1306 const char *spec_str; 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()
/third_party/libbpf/src/
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()
290 /* parse spec_str="0:1:2:3:4" into array raw_spec=[0, 1, 2, 3, 4] */ 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, " in bpf_core_parse_spec()
1306 const char *spec_str; 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()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dspecifiers.py455 def _compare_less_than(self, prospective: Version, spec_str: str) -> bool:
459 spec = Version(spec_str)
480 def _compare_greater_than(self, prospective: Version, spec_str: str) -> bool:
484 spec = Version(spec_str)
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_generic.c5761 * from @spec_str and @nid
5765 const struct hda_pcm_stream *spec_str, in setup_pcm_stream()
5771 if (spec_str) { in setup_pcm_stream()
5772 if (spec_str->substreams) in setup_pcm_stream()
5773 str->substreams = spec_str->substreams; in setup_pcm_stream()
5774 if (spec_str->channels_min) in setup_pcm_stream()
5775 str->channels_min = spec_str->channels_min; in setup_pcm_stream()
5776 if (spec_str->channels_max) in setup_pcm_stream()
5777 str->channels_max = spec_str->channels_max; in setup_pcm_stream()
5778 if (spec_str in setup_pcm_stream()
5763 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...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_generic.c5654 * from @spec_str and @nid
5658 const struct hda_pcm_stream *spec_str, in setup_pcm_stream()
5664 if (spec_str) { in setup_pcm_stream()
5665 if (spec_str->substreams) in setup_pcm_stream()
5666 str->substreams = spec_str->substreams; in setup_pcm_stream()
5667 if (spec_str->channels_min) in setup_pcm_stream()
5668 str->channels_min = spec_str->channels_min; in setup_pcm_stream()
5669 if (spec_str->channels_max) in setup_pcm_stream()
5670 str->channels_max = spec_str->channels_max; in setup_pcm_stream()
5671 if (spec_str in setup_pcm_stream()
5656 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...]
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c4515 const char *spec_str, in bpf_core_parse_spec()
4526 if (str_is_empty(spec_str) || *spec_str == ':') in bpf_core_parse_spec()
4536 if (strcmp(spec_str, "0")) in bpf_core_parse_spec()
4541 /* parse spec_str="0:1:2:3:4" into array raw_spec=[0, 1, 2, 3, 4] */ in bpf_core_parse_spec()
4542 while (*spec_str) { in bpf_core_parse_spec()
4543 if (*spec_str == ':') in bpf_core_parse_spec()
4544 ++spec_str; in bpf_core_parse_spec()
4545 if (sscanf(spec_str, "%d%n", &access_idx, &parsed_len) != 1) in bpf_core_parse_spec()
4549 spec_str in bpf_core_parse_spec()
4513 bpf_core_parse_spec(const struct btf *btf, __u32 type_id, const char *spec_str, enum bpf_core_relo_kind relo_kind, struct bpf_core_spec *spec) bpf_core_parse_spec() argument
5739 const char *spec_str; bpf_core_apply_relo() local
[all...]

Completed in 33 milliseconds