/linux/tools/testing/kunit/ |
H A D | kunit_kernel.py | 45 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: 96 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 102 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]): 119 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 140 def __init__(self, cross_compile: Optional[str]=None): 148 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 159 def get_kconfig_path(build_dir: str) -> str: 162 def get_kunitconfig_path(build_dir: str) -> str: [all …]
|
H A D | kunit_printer.py | 18 def __init__(self, print: bool=True, output: typing.IO[str]=sys.stdout): 26 def print(self, message: str) -> None: 30 def print_with_timestamp(self, message: str) -> None: 34 def _color(self, code: str, text: str) -> str: 39 def red(self, text: str) -> str: 42 def yellow(self, text: str) -> str: 45 def green(self, text: str) -> str:
|
H A D | kunit_config.py | 49 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/tools/net/ynl/ |
H A D | ynl-gen-rst.py | 39 def bold(text: str) -> str: 49 def sanitize(text: str) -> str: 55 def rst_fields(key: str, value: str, level: int = 0) -> str: 60 def rst_definition(key: str, value: Any, level: int = 0) -> str: 65 def rst_paragraph(paragraph: str, level: int = 0) -> str: 70 def rst_bullet(item: str, level: int = 0) -> str: 75 def rst_subsection(title: str) -> str: 80 def rst_subsubsection(title: str) -> str: 85 def rst_section(namespace: str, prefix: str, title: str) -> str: 90 def rst_subtitle(title: str) -> str: [all …]
|
/linux/tools/perf/pmu-events/ |
H A D | jevents.py | 63 def removesuffix(s: str, suffix: str) -> str: argument 72 def file_name_to_table_name(prefix: str, parents: Sequence[str], argument 73 dirname: str) -> str: argument 82 def c_len(s: str) -> int: argument 126 add(self, s: str, metric: bool) global() argument 174 string_cmp_key(s: str) global() argument 208 fixdesc(s: str) global() argument 216 convert_aggr_mode(aggr_mode: str) global() argument 226 convert_metric_constraint(metric_constraint: str) global() argument 238 lookup_msr(num: str) global() argument 250 real_event(name: str, event: str) global() argument 266 unit_to_pmu(unit: str) global() argument 298 is_zero(val: str) global() argument 307 canonicalize_value(val: str) global() argument 437 read_json_events(path: str, topic: str) global() argument 459 preprocess_arch_std_files(archpath: str) global() argument 471 add_events_table_entries(item: os.DirEntry, topic: str) global() argument 484 fix_none(s: Optional[str]) global() argument 544 fix_none(s: Optional[str]) global() argument 595 get_topic(topic: str) global() argument 600 preprocess_one_file(parents: Sequence[str], item: os.DirEntry) global() argument 636 process_one_file(parents: Sequence[str], item: os.DirEntry) global() argument 638 is_leaf_dir_ignoring_sys(path: str) global() argument 674 print_mapping_table(archs: Sequence[str]) global() argument 1229 dir_path(path: str) global() argument 1235 ftw(path: str, parents: Sequence[str], action: Callable[[Sequence[str], os.DirEntry], None]) global() argument 1236 ftw(path: str, parents: Sequence[str], action: Callable[[Sequence[str], os.DirEntry], None]) global() argument [all...] |
H A D | models.py | 11 def dir_path(path: str) -> str: 17 def find_archs(start_dir: str, arch: str) -> List[str]: 30 def find_mapfiles(start_dir: str, archs: List[str]) -> List[str]: 40 def find_cpuids(mapfiles: List[str], cpuids: str) -> List[str]:
|
H A D | metric.py | 29 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/tools/net/sunrpc/xdrgen/generators/ |
H A D | __init__.py | 13 def create_jinja2_environment(language: str, xdr_type: str) -> Environment: argument 31 environment: Environment, template_type: str, template_name: str argument 49 def header_guard_infix(filename: str) -> str: argument 75 def __init__(self, language: str, peer: str) argument 79 emit_declaration(self, filename: str, root: Specification) global() argument 83 emit_definition(self, filename: str, root: Specification) global() argument 87 emit_source(self, filename: str, root: Specification) global() argument 95 __init__(self, language: str, peer: str) global() argument [all...] |
H A D | program.py | 13 environment: Environment, program: str, version: _RpcVersion 34 environment: Environment, program: str, version: _RpcVersion 59 environment: Environment, program: str, version: _RpcVersion 73 environment: Environment, program: str, version: _RpcVersion 87 environment: Environment, program: str, version: _RpcVersion 101 environment: Environment, program: str, version: _RpcVersion 117 def __init__(self, language: str, peer: str):
|
H A D | header_top.py | 17 def __init__(self, language: str, peer: str): 22 def emit_declaration(self, filename: str, root: Specification) -> None: 33 def emit_definition(self, filename: str, root: Specification) -> None: 44 def emit_source(self, filename: str, root: Specification) -> None:
|
H A D | header_bottom.py | 17 def __init__(self, language: str, peer: str): 22 def emit_declaration(self, filename: str, root: Specification) -> None: 27 def emit_definition(self, filename: str, root: Specification) -> None: 32 def emit_source(self, filename: str, root: Specification) -> None:
|
/linux/tools/net/sunrpc/xdrgen/subcmds/ |
H A D | source.py | 30 def emit_source_decoder(node: _XdrAst, language: str, peer: str) -> None: argument 49 def emit_source_encoder(node: _XdrAst, language: str, peer: str) -> None: argument 68 def generate_server_source(filename: str, root: Specification, language: str) -> None: argument 80 def generate_client_source(filename: str, root: Specification, language: str) -> None: argument
|
/linux/drivers/usb/common/ |
H A D | debug.c | 15 __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/sound/pci/lola/ |
H A D | lola_pcm.c | 52 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/tools/testing/selftests/drivers/net/hw/lib/py/ |
H A D | linkconfig.py | 84 def set_speed_and_duplex(self, speed: str, duplex: str, autoneg: bool = True) -> bool: 98 def verify_speed_and_duplex(self, expected_speed: str, expected_duplex: str) -> bool: 111 def set_autonegotiation_state(self, state: str, remote: bool = False) -> bool: 179 def get_speed_duplex_values(self, link_modes: list[str]) -> tuple[list[str], list[str]]: 194 def get_ethtool_field(self, field: str, remote: bool = False) -> Optional[str]:
|
/linux/arch/mips/kernel/ |
H A D | mips-mt.c | 26 static int __init maxvpes(char *str) in maxvpes() 37 static int __init maxtcs(char *str) in maxtcs() 51 static int __init rpsctl_set(char *str) in rpsctl_set() 58 static int __init nblsu_set(char *str) in nblsu_set() 65 static int __init config7_set(char *str) in config7_set() 75 static int __init set_itc_base(char *str) in set_itc_base()
|
/linux/drivers/acpi/ |
H A D | acpi_configfs.c | 99 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/rust/macros/ |
H A D | module.rs | 40 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) { in emit_base() argument 78 fn emit_only_builtin(&mut self, field: &str, content: &str) { in emit_only_builtin() argument 82 fn emit_only_loadable(&mut self, field: &str, content: &str) { in emit_only_loadable() argument 86 fn emit(&mut self, field: &str, content: &str) { in emit() argument [all...] |
/linux/drivers/usb/cdns3/ |
H A D | cdns3-debug.h | 15 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/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-debug.h | 14 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/tools/perf/util/ |
H A D | string.c | 23 s64 perf_atoll(const char *str) in perf_atoll() argument 110 static bool __match_glob(const char *str, const char *pat, bool ignore_space, in __match_glob() argument 170 strglobmatch(const char * str,const char * pat) strglobmatch() argument 175 strglobmatch_nocase(const char * str,const char * pat) strglobmatch_nocase() argument 188 strlazymatch(const char * str,const char * pat) strlazymatch() argument 251 strpbrk_esc(char * str,const char * stopset) strpbrk_esc() argument 267 strdup_esc(const char * str) strdup_esc() argument [all...] |
/linux/tools/perf/ |
H A D | builtin-probe.c | 53 static int parse_probe_event(const char *str) in parse_probe_event() argument 81 static int params_add_filter(const char *str) in params_add_filter() argument 167 opt_set_target(const struct option * opt,const char * str,int unset __maybe_unused) opt_set_target() argument 203 opt_set_target_ns(const struct option * opt __maybe_unused,const char * str,int unset __maybe_unused) opt_set_target_ns() argument 234 opt_show_lines(const struct option * opt,const char * str,int unset __maybe_unused) opt_show_lines() argument 254 opt_show_vars(const struct option * opt,const char * str,int unset __maybe_unused) opt_show_vars() argument 276 opt_add_probe_event(const struct option * opt,const char * str,int unset __maybe_unused) opt_add_probe_event() argument 287 opt_set_filter_with_command(const struct option * opt,const char * str,int unset) opt_set_filter_with_command() argument 299 opt_set_filter(const struct option * opt __maybe_unused,const char * str,int unset __maybe_unused) opt_set_filter() argument 444 char *str = strfilter__string(filter); perf_del_probe_events() local [all...] |
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_event.c | 13 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/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 271 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/tools/testing/vsock/ |
H A D | control.c | 111 void control_writeln(const char *str) in control_writeln() 143 char str[32]; in control_writeulong() local 156 char *str; in control_readulong() local 228 void control_expectln(const char *str) in control_expectln() 239 bool control_cmpln(char *line, const char *str, bool fail) in control_cmpln()
|