| /linux/tools/testing/kunit/ |
| H A D | kunit_kernel.py | 46 def __init__(self, linux_arch: str, cross_compile: Optional[str]): argument 61 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None: argument 75 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None: argument 97 start(self, params: List[str], build_dir: str) global() argument 103 __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]) global() argument 120 start(self, params: List[str], build_dir: str) global() argument 144 __init__(self, cross_compile: Optional[str]=None) global() argument 152 start(self, params: List[str], build_dir: str) global() argument 163 get_kconfig_path(build_dir: str) global() argument 166 get_kunitconfig_path(build_dir: str) global() argument 169 get_old_kunitconfig_path(build_dir: str) global() argument 172 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument 173 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument 196 get_outfile_path(build_dir: str) global() argument 199 _default_qemu_config_path(arch: str) global() argument 214 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument 215 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument 216 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument 246 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 247 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 248 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 249 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 250 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 251 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 252 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument 281 validate_config(self, build_dir: str) global() argument 296 build_config(self, build_dir: str, make_options: Optional[List[str]]) global() argument 316 _kunitconfig_changed(self, build_dir: str) global() argument 324 build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) global() argument 340 build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) global() argument 355 run_kernel(self, args: Optional[List[str]]=None, build_dir: str='', filter_glob: str='', filter: str='', filter_action: Optional[str]=None, timeout: Optional[int]=None) global() argument [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:
|
| H A D | kunit_parser.py | 57 add_error(self, printer: Printer, error_message: str) global() argument 157 __init__(self, lines: Iterator[Tuple[int, str]]) global() argument 217 extract_tap_lines(kernel_output: Iterable[str]) global() argument 219 isolate_ktap_output(kernel_output: Iterable[str]) global() argument 254 check_version(version_num: int, accepted_versions: List[int], version_type: str, test: Test, printer: Printer) global() argument 467 format_test_divider(message: str, len_message: int) global() argument 516 print_log(log: Iterable[str], printer: Printer) global() argument 607 failed_names(test: Test, parent_name: str) global() argument 690 parse_test(lines: LineStream, expected_num: int, log: List[str], is_subtest: bool, printer: Printer) global() argument 838 parse_run_tests(kernel_output: Iterable[str], printer: Printer) global() argument [all...] |
| /linux/tools/perf/pmu-events/ |
| H A D | jevents.py | 68 def removesuffix(s: str, suffix: str) -> str: argument 77 def file_name_to_table_name(prefix: str, parents: Sequence[str], argument 78 dirname: str) -> str: argument 87 def c_len(s: str) -> int: argument 131 add(self, s: str, metric: bool) global() argument 179 string_cmp_key(s: str) global() argument 213 fixdesc(s: str) global() argument 221 convert_aggr_mode(aggr_mode: str) global() argument 231 convert_metric_constraint(metric_constraint: str) global() argument 244 lookup_msr(num: str) global() argument 256 real_event(name: str, event: str) global() argument 272 unit_to_pmu(unit: str) global() argument 306 is_zero(val: str) global() argument 315 canonicalize_value(val: str) global() argument 453 fix_comment(s: str) global() argument 461 read_json_events(path: str, topic: str) global() argument 483 preprocess_arch_std_files(archpath: str) global() argument 499 add_events_table_entries(item: os.DirEntry, topic: str) global() argument 513 fix_none(s: Optional[str]) global() argument 573 fix_none(s: Optional[str]) global() argument 624 get_topic(topic: str) global() argument 629 preprocess_one_file(parents: Sequence[str], item: os.DirEntry) global() argument 665 process_one_file(parents: Sequence[str], item: os.DirEntry) global() argument 667 is_leaf_dir_ignoring_sys(path: str) global() argument 703 print_mapping_table(archs: Sequence[str]) global() argument 1387 dir_path(path: str) global() argument 1393 ftw(path: str, parents: Sequence[str], action: Callable[[Sequence[str], os.DirEntry], None]) global() argument 1394 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 | 16 def LoadEvents(directory: str) -> None: argument 63 CheckPmu(name: str) global() argument 67 CheckEvent(name: str) global() argument 83 CheckEveryEvent(*names: str) global() argument 103 IsExperimentalEvent(name: str) global() argument 144 Substitute(self, name: str, expression: 'Expression') global() argument 230 __init__(self, operator: str, lhs: Union[int, float, Expression], rhs: Union[int, float, Expression]) global() argument 238 Bracket(self, other: Expression, other_str: str, rhs: bool = False) global() argument 316 Substitute(self, name: str, expression: Expression) global() argument 368 Substitute(self, name: str, expression: Expression) global() argument 381 __init__(self, fn: str, lhs: Union[int, float, Expression], rhs: Optional[Union[int, float, Expression]] = None) global() argument 421 Substitute(self, name: str, expression: Expression) global() argument 431 _FixEscapes(s: str) global() argument 439 __init__(self, *args: str) global() argument 469 Substitute(self, name: str, expression: Expression) global() argument 476 __init__(self, name: str) global() argument 494 Substitute(self, name: str, expression: Expression) global() argument 501 __init__(self, value: Union[float, str]) global() argument 524 Substitute(self, name: str, expression: Expression) global() argument 531 __init__(self, value: str) global() argument 549 Substitute(self, name: str, expression: Expression) global() argument 599 __init__(self, name: str, description: str, expr: Expression, scale_unit: str, constraint: MetricConstraint = MetricConstraint.GROUPED_EVENTS, threshold: Optional[Expression] = None) global() argument 600 __init__(self, name: str, description: str, expr: Expression, scale_unit: str, constraint: MetricConstraint = MetricConstraint.GROUPED_EVENTS, threshold: Optional[Expression] = None) global() argument 602 __init__(self, name: str, description: str, expr: Expression, scale_unit: str, constraint: MetricConstraint = MetricConstraint.GROUPED_EVENTS, threshold: Optional[Expression] = None) global() argument 660 __init__(self, name: str, metric_list: List[Union[Optional[Metric], Optional['MetricGroup']]], description: Optional[str] = None) global() argument 662 __init__(self, name: str, metric_list: List[Union[Optional[Metric], Optional['MetricGroup']]], description: Optional[str] = None) global() argument 730 ParsePerfJson(orig: str) global() argument 777 RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]] ) global() argument [all...] |
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | doc_generator.py | 45 def bold(text: str) -> str: 55 def sanitize(text: str) -> str: 60 def rst_fields(self, key: str, value: str, level: int = 0) -> str: 64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str: 68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str: 72 def rst_bullet(self, item: str, level: int = 0) -> str: 77 def rst_subsection(title: str) -> str: 82 def rst_subsubsection(title: str) -> str: 87 def rst_section(namespace: str, prefix: str, title: str) -> str: 92 def rst_subtitle(title: str) -> str: [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | netpoll_basic.py | 67 def ethtool_get_ringsize(interface_name: str) -> tuple[int, int]: 83 def ethtool_set_ringsize(interface_name: str, ring_size: tuple[int, int]) -> bool: 99 def ethtool_get_queues_cnt(interface_name: str) -> tuple[int, int, int]: 116 def ethtool_set_queues_cnt(interface_name: str, queues: tuple[int, int, int]) -> None: 146 config_data: dict[str, str], argument 147 target_name: str, 193 cfg: NetDrvEpEnv, interface_name: str, target_name: str 213 def netcons_delete_target(name: str) -> None: 282 def do_netpoll_flush_monitored(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None: 298 def do_netpoll_flush(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None: [all …]
|
| /linux/tools/net/sunrpc/xdrgen/generators/ |
| H A D | __init__.py | 13 def create_jinja2_environment(language: str, xdr_type: str) -> Environment: argument 34 get_jinja2_template( environment: Environment, template_type: str, template_name: str ) global() argument 52 header_guard_infix(filename: str) global() argument 76 __init__(self, language: str, peer: str) global() argument 80 emit_declaration(self, filename: str, root: Specification) global() argument 84 emit_definition(self, filename: str, root: Specification) global() argument 88 emit_source(self, filename: str, root: Specification) global() argument 96 __init__(self, language: str, peer: str) global() argument [all...] |
| H A D | program.py | 13 emit_version_definitions( environment: Environment, program: str, version: _RpcVersion ) global() argument 34 emit_version_declarations( environment: Environment, program: str, version: _RpcVersion ) global() argument 59 emit_version_argument_decoders( environment: Environment, program: str, version: _RpcVersion ) global() argument 73 emit_version_result_decoders( environment: Environment, program: str, version: _RpcVersion ) global() argument 87 emit_version_argument_encoders( environment: Environment, program: str, version: _RpcVersion ) global() argument 101 emit_version_result_encoders( environment: Environment, program: str, version: _RpcVersion ) global() argument 117 __init__(self, language: str, peer: str) global() argument
|
| 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/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/tools/lib/python/kdoc/ |
| H A D | parse_data_structs.py | 160 read_exceptions(self, fname: str) global() argument 242 store_type(self, ln, symbol_type: str, symbol: str, ref_name: str = None, replace_underscores: bool = True) global() argument 243 store_type(self, ln, symbol_type: str, symbol: str, ref_name: str = None, replace_underscores: bool = True) global() argument 283 parse_file(self, file_in: str, exceptions: str = None) global() argument 466 write_output(self, file_in: str, file_out: str, toc: bool) global() argument
|
| /linux/tools/testing/selftests/drivers/net/hw/lib/py/ |
| H A D | linkconfig.py | |
| /linux/rust/macros/ |
| H A D | module.rs | 42 emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) emit_base() argument 86 emit_only_builtin(&mut self, field: &str, content: &str, param: bool) emit_only_builtin() argument 90 emit_only_loadable(&mut self, field: &str, content: &str, param: bool) emit_only_loadable() argument 94 emit(&mut self, field: &str, content: &str) emit() argument 98 emit_internal(&mut self, field: &str, content: &str, param: bool) emit_internal() argument 103 emit_param(&mut self, field: &str, param: &str, content: &str) emit_param() argument 172 param_ops_path(param_type: &str) -> &'static str param_ops_path() argument [all...] |
| /linux/tools/perf/python/ |
| H A D | ilist.py | 22 def get_info(info: Dict[str, str], key: str): argument 38 def matches(self, query: str) -> bool: 73 def matches(self, query: str) -> bool: 117 def matches(self, query: str) -> bool: 136 def __init__(self, error: str): 295 def find_search_results(event: str, node: TreeNode[str], 297 match_after_cursor: Optional[TreeNode[str]] = None 466 def add_metrics_to_tree(node: TreeNode[TreeValue], parent: str, pmu: str = None):
|
| /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/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/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/scripts/python/ |
| H A D | flamegraph.py | 53 def __init__(self, name: str, libtype: str): 76 def get_libtype_from_dso(dso: Optional[str]) -> str: 87 def find_or_create_node(node: Node, name: str, libtype: str) -> Node:
|
| /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/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()
|
| /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 233 opt_show_lines(const struct option * opt,const char * str,int unset __maybe_unused) opt_show_lines() argument 253 opt_show_vars(const struct option * opt,const char * str,int unset __maybe_unused) opt_show_vars() argument 275 opt_add_probe_event(const struct option * opt,const char * str,int unset __maybe_unused) opt_add_probe_event() argument 286 opt_set_filter_with_command(const struct option * opt,const char * str,int unset) opt_set_filter_with_command() argument 298 opt_set_filter(const struct option * opt __maybe_unused,const char * str,int unset __maybe_unused) opt_set_filter() argument 443 char *str = strfilter__string(filter); perf_del_probe_events() local [all...] |