Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 1370) sorted by relevance

12345678910>>...55

/Linux-v6.1/tools/perf/pmu-events/
Djevents.py39 def removesuffix(s: str, suffix: str) -> str:
48 def file_name_to_table_name(parents: Sequence[str], dirname: str) -> str:
56 def c_len(s: str) -> int:
94 def add(self, s: str) -> None:
168 def fixdesc(s: str) -> str:
176 def convert_aggr_mode(aggr_mode: str) -> Optional[str]:
186 def lookup_msr(num: str) -> Optional[str]:
198 def real_event(name: str, event: str) -> Optional[str]:
214 def unit_to_pmu(unit: str) -> Optional[str]:
335 def read_json_events(path: str, topic: str) -> Sequence[JsonEvent]:
[all …]
/Linux-v6.1/tools/testing/kunit/
Dkunit_kernel.py45 def __init__(self, linux_arch: str, cross_compile: Optional[str]):
60 def make_olddefconfig(self, build_dir: str, make_options) -> None:
74 def make(self, jobs, build_dir: str, make_options) -> None:
95 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
101 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]):
115 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
144 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
154 def get_kconfig_path(build_dir: str) -> str:
157 def get_kunitconfig_path(build_dir: str) -> str:
160 def get_old_kunitconfig_path(build_dir: str) -> str:
[all …]
Dkunit_printer.py22 def print(self, message: str) -> None:
25 def print_with_timestamp(self, message: str) -> None:
29 def _color(self, code: str, text: str) -> str:
34 def red(self, text: str) -> str:
37 def yellow(self, text: str) -> str:
40 def green(self, text: str) -> str:
Dkunit_parser.py56 def add_error(self, error_message: str) -> None:
162 def __init__(self, lines: Iterator[Tuple[int, str]]): argument
221 def extract_tap_lines(kernel_output: Iterable[str], lstrip=True) -> LineStream:
223 def isolate_ktap_output(kernel_output: Iterable[str]) \
259 version_type: str, test: Test) -> None:
467 def format_test_divider(message: str, len_message: int) -> str:
511 def print_log(log: Iterable[str]) -> None:
612 def parse_test(lines: LineStream, expected_num: int, log: List[str]) -> Test:
731 def parse_run_tests(kernel_output: Iterable[str]) -> Test:
Dkunit_config.py49 def add_entry(self, name: str, value: str) -> None:
76 def write_to_file(self, path: str) -> None:
81 def parse_file(path: str) -> Kconfig:
85 def parse_from_string(blob: str) -> Kconfig:
/Linux-v6.1/drivers/usb/common/
Ddebug.c15 __u16 wLength, char *str, size_t size) in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature()
100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address()
107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor()
170 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration()
175 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) in usb_decode_set_configuration()
180 static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, in usb_decode_get_intf()
187 static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, in usb_decode_set_intf()
195 char *str, size_t size) in usb_decode_synch_frame()
201 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) in usb_decode_set_sel()
[all …]
/Linux-v6.1/sound/pci/lola/
Dlola_pcm.c52 struct lola_stream *str) in lola_stream_clear_pending_irq()
60 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start()
72 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop()
83 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear()
97 struct lola_stream *str, in lola_stream_wait_for_fifo()
127 struct lola_stream *str; in lola_sync_wait_for_fifo() local
158 struct lola_stream *str; in lola_sync_pause() local
169 static void lola_stream_reset(struct lola *chip, struct lola_stream *str) in lola_stream_reset()
214 struct lola_stream *str = lola_get_stream(substream); in lola_pcm_open() local
247 struct lola_stream *str) in lola_cleanup_slave_streams()
[all …]
/Linux-v6.1/rust/macros/
Dmodule.rs22 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) { in emit_base()
60 fn emit_only_builtin(&mut self, field: &str, content: &str) { in emit_only_builtin()
64 fn emit_only_loadable(&mut self, field: &str, content: &str) { in emit_only_loadable()
68 fn emit(&mut self, field: &str, content: &str) { in emit()
/Linux-v6.1/tools/perf/util/
Dstring.c23 s64 perf_atoll(const char *str) in perf_atoll()
110 static bool __match_glob(const char *str, const char *pat, bool ignore_space, in __match_glob()
170 bool strglobmatch(const char *str, const char *pat) in strglobmatch()
175 bool strglobmatch_nocase(const char *str, const char *pat) in strglobmatch_nocase()
188 bool strlazymatch(const char *str, const char *pat) in strlazymatch()
251 char *strpbrk_esc(char *str, const char *stopset) in strpbrk_esc()
267 char *strdup_esc(const char *str) in strdup_esc()
Dcomm.c13 char *str; member
41 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc()
61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew()
97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew()
108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new()
127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override()
Dparse-regs-options.c13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) in __parse_regs()
90 parse_user_regs(const struct option *opt, const char *str, int unset) in parse_user_regs()
96 parse_intr_regs(const struct option *opt, const char *str, int unset) in parse_intr_regs()
/Linux-v6.1/arch/mips/kernel/
Dmips-mt.c25 static int __init maxvpes(char *str) in maxvpes()
36 static int __init maxtcs(char *str) in maxtcs()
127 static int __init rpsctl_set(char *str) in rpsctl_set()
134 static int __init nblsu_set(char *str) in nblsu_set()
141 static int __init config7_set(char *str) in config7_set()
151 static int __init set_itc_base(char *str) in set_itc_base()
/Linux-v6.1/drivers/acpi/
Dacpi_configfs.c99 static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) in acpi_table_signature_show()
109 static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) in acpi_table_length_show()
119 static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) in acpi_table_revision_show()
129 static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) in acpi_table_oem_id_show()
139 static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) in acpi_table_oem_table_id_show()
149 static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str) in acpi_table_oem_revision_show()
160 char *str) in acpi_table_asl_compiler_id_show()
171 char *str) in acpi_table_asl_compiler_revision_show()
/Linux-v6.1/drivers/usb/cdns3/
Dcdns3-debug.h15 static inline char *cdns3_decode_usb_irq(char *str, in cdns3_decode_usb_irq()
51 static inline char *cdns3_decode_ep_irq(char *str, in cdns3_decode_ep_irq()
89 static inline char *cdns3_decode_epx_irq(char *str, in cdns3_decode_epx_irq()
96 static inline char *cdns3_decode_ep0_irq(char *str, in cdns3_decode_ep0_irq()
111 struct cdns3_trb *ring, char *str) in cdns3_dbg_ring()
/Linux-v6.1/drivers/gpu/drm/arm/display/komeda/
Dkomeda_event.c13 char *str; member
21 static int komeda_sprintf(struct komeda_str *str, const char *fmt, ...) in komeda_sprintf()
48 static void evt_sprintf(struct komeda_str *str, u64 evt, const char *msg) in evt_sprintf()
54 static void evt_str(struct komeda_str *str, u64 events) in evt_str()
137 struct komeda_str str; in komeda_print_events() local
/Linux-v6.1/scripts/
Dgenerate_rust_target.rs59 fn push(&mut self, key: &str, value: T); in push()
63 fn push(&mut self, key: &str, value: bool) { in push()
69 fn push(&mut self, key: &str, value: i32) { in push()
75 fn push(&mut self, key: &str, value: String) { in push()
81 fn push(&mut self, key: &str, value: &str) { in push()
87 fn push(&mut self, key: &str, value: Object) { in push()
/Linux-v6.1/drivers/md/
Ddm-init.c83 static char __init *str_field_delimit(char **str, char separator) in str_field_delimit()
106 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) in dm_parse_table_entry()
157 static int __init dm_parse_table(struct dm_device *dev, char *str) in dm_parse_table()
187 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) in dm_parse_device_entry()
232 static int __init dm_parse_devices(struct list_head *devices, char *str) in dm_parse_devices()
268 char *str; in dm_init_init() local
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c271 size_t ptr_sz, char *str, const char *expected_val) in btf_dump_data()
351 char *str) in test_btf_dump_int_data()
409 char *str) in test_btf_dump_float_data()
454 char *str) in test_btf_dump_char_data()
476 char *str) in test_btf_dump_typedef_data()
531 char *str) in test_btf_dump_enum_data()
567 char *str) in test_btf_dump_struct_data()
802 char *str) in test_btf_dump_var_data()
812 static void test_btf_datasec(struct btf *btf, struct btf_dump *d, char *str, in test_btf_datasec()
838 static void test_btf_dump_datasec_data(char *str) in test_btf_dump_datasec_data()
[all …]
/Linux-v6.1/tools/perf/
Dbuiltin-probe.c54 static int parse_probe_event(const char *str) in parse_probe_event()
82 static int params_add_filter(const char *str) in params_add_filter()
168 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target()
204 const char *str, int unset __maybe_unused) in opt_set_target_ns()
235 const char *str, int unset __maybe_unused) in opt_show_lines()
255 const char *str, int unset __maybe_unused) in opt_show_vars()
277 const char *str, int unset __maybe_unused) in opt_add_probe_event()
288 const char *str, int unset) in opt_set_filter_with_command()
300 const char *str, int unset __maybe_unused) in opt_set_filter()
427 char *str = strfilter__string(filter); in perf_del_probe_events() local
/Linux-v6.1/include/linux/ceph/
Dstring_table.h17 char str[]; member
25 static inline struct ceph_string *ceph_get_string(struct ceph_string *str) in ceph_get_string()
31 static inline void ceph_put_string(struct ceph_string *str) in ceph_put_string()
39 const char* str, size_t len) in ceph_compare_string()
/Linux-v6.1/drivers/char/
Dhangcheck-timer.c69 static int __init hangcheck_parse_tick(char *str) in hangcheck_parse_tick()
77 static int __init hangcheck_parse_margin(char *str) in hangcheck_parse_margin()
85 static int __init hangcheck_parse_reboot(char *str) in hangcheck_parse_reboot()
93 static int __init hangcheck_parse_dump_tasks(char *str) in hangcheck_parse_dump_tasks()
/Linux-v6.1/arch/s390/kernel/
Dnospec-branch.c7 static int __init nobp_setup_early(char *str) in nobp_setup_early()
30 static int __init nospec_setup_early(char *str) in nospec_setup_early()
53 static int __init nospectre_v2_setup_early(char *str) in nospectre_v2_setup_early()
85 static int __init spectre_v2_setup_early(char *str) in spectre_v2_setup_early()
/Linux-v6.1/drivers/media/platform/st/sti/delta/
Ddelta-debug.c12 char *delta_streaminfo_str(struct delta_streaminfo *s, char *str, in delta_streaminfo_str()
34 char *delta_frameinfo_str(struct delta_frameinfo *f, char *str, in delta_frameinfo_str()
59 unsigned char str[100] = ""; in delta_trace_summary() local
/Linux-v6.1/lib/
Dcmdline.c23 static int get_range(char **str, int *pint, int n) in get_range()
56 int get_option(char **str, int *pint) in get_option()
107 char *get_options(const char *str, int nints, int *ints) in get_options()
203 bool parse_option_str(const char *str, const char *option) in parse_option_str()
Dcmdline_kunit.c59 const char *str = cmdline_test_strings[i]; in cmdline_test_noint() local
75 const char *str = cmdline_test_strings[i]; in cmdline_test_lead_int() local
92 const char *str = cmdline_test_strings[i]; in cmdline_test_tail_int() local
135 const char *str = cmdline_test_range_strings[i]; in cmdline_test_range() local

12345678910>>...55