Home
last modified time | relevance | path

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

12345678910>>...56

/linux-6.6.21/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: Optional[List[str]]) -> None:
74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> 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]):
116 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
137 def __init__(self, cross_compile: Optional[str]=None):
145 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
155 def get_kconfig_path(build_dir: str) -> str:
158 def get_kunitconfig_path(build_dir: str) -> str:
[all …]
Dkunit_printer.py18 def __init__(self, output: typing.IO[str]):
22 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.py57 def add_error(self, error_message: str) -> None:
157 def __init__(self, lines: Iterator[Tuple[int, str]]): argument
217 def extract_tap_lines(kernel_output: Iterable[str]) -> LineStream:
219 def isolate_ktap_output(kernel_output: Iterable[str]) \
254 version_type: str, test: Test) -> None:
464 def format_test_divider(message: str, len_message: int) -> str:
512 def print_log(log: Iterable[str]) -> None:
575 def failed_names(test: Test, parent_name: str) -> List[str]:
657 def parse_test(lines: LineStream, expected_num: int, log: List[str], is_subtest: bool) -> Test:
801 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-6.6.21/tools/perf/pmu-events/
Djevents.py63 def removesuffix(s: str, suffix: str) -> str:
72 def file_name_to_table_name(prefix: str, parents: Sequence[str],
73 dirname: str) -> str:
82 def c_len(s: str) -> int:
126 def add(self, s: str, metric: bool) -> None:
174 def string_cmp_key(s: str) -> Tuple[bool, int, str]:
208 def fixdesc(s: str) -> str:
216 def convert_aggr_mode(aggr_mode: str) -> Optional[str]:
226 def convert_metric_constraint(metric_constraint: str) -> Optional[str]:
238 def lookup_msr(num: str) -> Optional[str]:
[all …]
Dmetric.py29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
115 def __init__(self, operator: str, lhs: Union[int, float, Expression],
123 other_str: str,
198 def Substitute(self, name: str, expression: Expression) -> Expression:
246 def Substitute(self, name: str, expression: Expression) -> Expression:
259 fn: str,
296 def Substitute(self, name: str, expression: Expression) -> Expression:
306 def _FixEscapes(s: str) -> str:
314 def __init__(self, name: str, legacy_name: str = ''):
331 def Substitute(self, name: str, expression: Expression) -> Expression:
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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()
/linux-6.6.21/rust/macros/
Dmodule.rs40 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) { in emit_base()
78 fn emit_only_builtin(&mut self, field: &str, content: &str) { in emit_only_builtin()
82 fn emit_only_loadable(&mut self, field: &str, content: &str) { in emit_only_loadable()
86 fn emit(&mut self, field: &str, content: &str) { in emit()
/linux-6.6.21/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-6.6.21/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-6.6.21/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()
110 static inline char *cdns3_dbg_ring(struct cdns3_endpoint *priv_ep, char *str) in cdns3_dbg_ring()
/linux-6.6.21/drivers/usb/gadget/udc/cdns2/
Dcdns2-debug.h14 static inline const char *cdns2_decode_usb_irq(char *str, size_t size, in cdns2_decode_usb_irq()
51 static inline const char *cdns2_decode_dma_irq(char *str, size_t size, in cdns2_decode_dma_irq()
83 static inline const char *cdns2_decode_epx_irq(char *str, size_t size, in cdns2_decode_epx_irq()
90 static inline const char *cdns2_decode_ep0_irq(char *str, size_t size, in cdns2_decode_ep0_irq()
100 char *str, size_t size) in cdns2_raw_ring()
161 static inline const char *cdns2_decode_trb(char *str, size_t size, u32 flags, in cdns2_decode_trb()
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/perf/
Dbuiltin-probe.c53 static int parse_probe_event(const char *str) in parse_probe_event()
81 static int params_add_filter(const char *str) in params_add_filter()
167 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target()
203 const char *str, int unset __maybe_unused) in opt_set_target_ns()
234 const char *str, int unset __maybe_unused) in opt_show_lines()
254 const char *str, int unset __maybe_unused) in opt_show_vars()
276 const char *str, int unset __maybe_unused) in opt_add_probe_event()
287 const char *str, int unset) in opt_set_filter_with_command()
299 const char *str, int unset __maybe_unused) in opt_set_filter()
444 char *str = strfilter__string(filter); in perf_del_probe_events() local
/linux-6.6.21/tools/testing/vsock/
Dcontrol.c114 void control_writeln(const char *str) in control_writeln()
146 char str[32]; in control_writeulong() local
159 char *str; in control_readulong() local
231 void control_expectln(const char *str) in control_expectln()
242 bool control_cmpln(char *line, const char *str, bool fail) in control_cmpln()
/linux-6.6.21/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-6.6.21/drivers/md/
Ddm-init.c88 static char __init *str_field_delimit(char **str, char separator) in str_field_delimit()
111 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) in dm_parse_table_entry()
162 static int __init dm_parse_table(struct dm_device *dev, char *str) in dm_parse_table()
192 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) in dm_parse_device_entry()
237 static int __init dm_parse_devices(struct list_head *devices, char *str) in dm_parse_devices()
273 char *str; in dm_init_init() local
/linux-6.6.21/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-6.6.21/init/
Ddo_mounts.c37 static int __init load_ramdisk(char *str) in load_ramdisk()
44 static int __init readonly(char *str) in readonly()
52 static int __init readwrite(char *str) in readwrite()
71 static int __init rootwait_setup(char *str) in rootwait_setup()
81 static int __init rootwait_timeout_setup(char *str) in rootwait_timeout_setup()
107 static int __init root_data_setup(char *str) in root_data_setup()
114 static int __init fs_names_setup(char *str) in fs_names_setup()
121 static int __init root_delay_setup(char *str) in root_delay_setup()
/linux-6.6.21/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-6.6.21/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()

12345678910>>...56