Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 274) sorted by relevance

1234567891011

/Linux-v6.1/tools/testing/kunit/
Dkunit_tool_test.py43 def test_is_subset_of(self): argument
53 def test_read_from_file(self): argument
67 def test_write_to_file(self): argument
84 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): argument
92 def test_output_isolated_correctly(self): argument
103 def test_output_with_prefix_isolated_correctly(self): argument
132 def test_parse_successful_test_log(self): argument
140 def test_parse_successful_nested_tests_log(self): argument
148 def test_kselftest_nested(self): argument
156 def test_parse_failed_test_log(self): argument
[all …]
Dkunit_kernel.py45 def __init__(self, linux_arch: str, cross_compile: Optional[str]): argument
49 def make_mrproper(self) -> None: argument
57 def make_arch_config(self, base_kunitconfig: kunit_config.Kconfig) -> kunit_config.Kconfig: argument
60 def make_olddefconfig(self, build_dir: str, make_options) -> None: argument
74 def make(self, jobs, build_dir: str, make_options) -> None: argument
95 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: argument
101 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]): argument
110 def make_arch_config(self, base_kunitconfig: kunit_config.Kconfig) -> kunit_config.Kconfig: argument
115 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: argument
136 def __init__(self, cross_compile=None): argument
[all …]
/Linux-v6.1/tools/verification/dot2/
Ddot2c.py25 def __init__(self, file_path): argument
29 def __buff_to_string(self, buff): argument
38 def __get_enum_states_content(self): argument
48 def get_enum_states_string(self): argument
52 def format_states_enum(self): argument
60 def __get_enum_events_content(self): argument
74 def get_enum_events_string(self): argument
78 def format_events_enum(self): argument
86 def get_minimun_type(self): argument
100 def format_automaton_definition(self): argument
[all …]
Ddot2k.py20 def __init__(self, file_path, MonitorType): argument
32 def __fill_rv_templates_dir(self): argument
53 def __open_file(self, path): argument
63 def __buff_to_string(self, buff): argument
72 def fill_tracepoint_handlers_skel(self): argument
86 def fill_tracepoint_attach_probe(self): argument
92 def fill_tracepoint_detach_helper(self): argument
98 def fill_main_c(self): argument
115 def fill_model_h_header(self): argument
126 def fill_model_h(self): argument
[all …]
/Linux-v6.1/lib/
Dtest_bpf.c90 static int bpf_fill_maxinsns1(struct bpf_test *self) in bpf_fill_maxinsns1()
110 static int bpf_fill_maxinsns2(struct bpf_test *self) in bpf_fill_maxinsns2()
129 static int bpf_fill_maxinsns3(struct bpf_test *self) in bpf_fill_maxinsns3()
156 static int bpf_fill_maxinsns4(struct bpf_test *self) in bpf_fill_maxinsns4()
175 static int bpf_fill_maxinsns5(struct bpf_test *self) in bpf_fill_maxinsns5()
198 static int bpf_fill_maxinsns6(struct bpf_test *self) in bpf_fill_maxinsns6()
220 static int bpf_fill_maxinsns7(struct bpf_test *self) in bpf_fill_maxinsns7()
246 static int bpf_fill_maxinsns8(struct bpf_test *self) in bpf_fill_maxinsns8()
269 static int bpf_fill_maxinsns9(struct bpf_test *self) in bpf_fill_maxinsns9()
295 static int bpf_fill_maxinsns10(struct bpf_test *self) in bpf_fill_maxinsns10()
[all …]
/Linux-v6.1/tools/kvm/kvm_stat/
Dkvm_stat336 def tracepoint_is_child(self, field): argument
343 def __init__(self, exit_reasons): argument
349 def debugfs_is_child(self, field): argument
355 def __init__(self): argument
369 def debugfs_is_child(self, field): argument
375 def __init__(self): argument
381 def debugfs_is_child(self, field): argument
387 def __init__(self): argument
393 def debugfs_is_child(self, field): argument
424 def __init__(self): argument
[all …]
/Linux-v6.1/tools/perf/scripts/python/
Dexported-sql-viewer.py194 def __init__(self, task, param=None, parent=None): argument
199 def run(self): argument
213 def __init__(self, glb, params, parent=None): argument
220 def Item(self, parent): argument
226 def rowCount(self, parent): argument
233 def hasChildren(self, parent): argument
236 def headerData(self, section, orientation, role): argument
245 def parent(self, child): argument
252 def index(self, row, column, parent): argument
256 def DisplayData(self, item, index): argument
[all …]
/Linux-v6.1/scripts/
Dbpf_doc.py24 def __init__(self, line='<line not provided>', reader=None): argument
40 def __init__(self, proto='', desc='', ret=''): argument
53 def __init__(self, *args, **kwargs): argument
57 def proto_break_down(self): argument
92 def __init__(self, filename): argument
103 def parse_element(self): argument
109 def parse_helper(self): argument
115 def parse_symbol(self): argument
127 def parse_proto(self): argument
142 def parse_desc(self, proto): argument
[all …]
Dspdxcheck.py16 def __init__(self, tok, txt): argument
21 def __init__(self, el, txt): argument
26 def __init__(self): argument
33 def __init__(self): argument
38 def update(self, fname, basedir, miss): argument
100 def __init__(self, spdx): argument
119 def set_dirinfo(self, basedir, dirdepth): argument
130 def validate(self, tok): argument
146 def t_RPAR(self, tok): argument
151 def t_LPAR(self, tok): argument
[all …]
/Linux-v6.1/tools/testing/selftests/tpm2/
Dtpm2_tests.py14 def setUp(self): argument
18 def tearDown(self): argument
22 def test_seal_with_auth(self): argument
30 def determine_bank_alg(self, mask): argument
37 def test_seal_with_policy(self): argument
70 def test_unseal_with_wrong_auth(self): argument
84 def test_unseal_with_wrong_policy(self): argument
145 def test_seal_with_too_long_auth(self): argument
158 def test_too_short_cmd(self): argument
175 def test_read_partial_resp(self): argument
[all …]
Dtpm2.py204 def __init__(self, alg): argument
207 def __str__(self): argument
212 def __init__(self, name): argument
215 def __str__(self): argument
220 def __init__(self, alg): argument
223 def __str__(self): argument
228 def __init__(self, cc, rc): argument
241 def __str__(self): argument
251 def __init__(self, session_handle=TPM2_RS_PW, nonce=bytes(), argument
258 def __bytes__(self): argument
[all …]
/Linux-v6.1/tools/bpf/bpftool/
Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor()
57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts()
95 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
108 json_writer_t *self = *self_p; in jsonw_destroy() local
117 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
122 void jsonw_reset(json_writer_t *self) in jsonw_reset()
129 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
137 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
[all …]
/Linux-v6.1/tools/power/pm-graph/
Dsleepgraph.py318 def __init__(self): argument
336 def resetlog(self): argument
339 def vprint(self, msg): argument
343 def signalHandler(self, signum, frame): argument
350 def signalHandlerInit(self): argument
362 def rootCheck(self, fatal=True): argument
371 def rootUser(self, fatal=False): argument
380 def usable(self, file, ishtml=False): argument
393 def getExec(self, cmd): argument
408 def setPrecision(self, num): argument
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py28 def __init__(self, reader): argument
31 def search_block(self, start_marker): argument
42 def parse(self, pattern, end_marker): argument
67 def __init__(self, reader, array_name): argument
72 def search_block(self): argument
78 def parse(self): argument
98 def parse(self, pattern, end_marker): argument
123 def __init__(self): argument
126 def close(self): argument
132 def reset_read(self): argument
[all …]
/Linux-v6.1/tools/testing/selftests/tc-testing/
DTdcResults.py12 def __init__(self, test_id="", test_name=""): argument
20 def set_result(self, result): argument
27 def get_result(self): argument
30 def set_errormsg(self, errormsg): argument
34 def append_errormsg(self, errormsg): argument
37 def get_errormsg(self): argument
40 def set_failmsg(self, failmsg): argument
44 def append_failmsg(self, failmsg): argument
47 def get_failmsg(self): argument
50 def add_steps(self, newstep): argument
[all …]
/Linux-v6.1/scripts/kconfig/tests/
Dconftest.py30 def __init__(self, request): argument
39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument
120 def oldaskconfig(self, dot_config=None, in_keys=None): argument
130 def oldconfig(self, dot_config=None, in_keys=None): argument
140 def olddefconfig(self, dot_config=None): argument
148 def defconfig(self, defconfig): argument
157 def _allconfig(self, mode, all_config): argument
166 def allyesconfig(self, all_config=None): argument
174 def allmodconfig(self, all_config=None): argument
182 def allnoconfig(self, all_config=None): argument
[all …]
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c45 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init()
69 static void aq_nic_cfg_update_num_vecs(struct aq_nic_s *self) in aq_nic_cfg_update_num_vecs()
96 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start()
156 static int aq_nic_update_link_status(struct aq_nic_s *self) in aq_nic_update_link_status()
215 struct aq_nic_s *self = private; in aq_linkstate_threaded_isr() local
230 struct aq_nic_s *self = container_of(work, struct aq_nic_s, in aq_nic_service_task() local
257 struct aq_nic_s *self = from_timer(self, t, service_timer); in aq_nic_service_timer_cb() local
267 struct aq_nic_s *self = from_timer(self, t, polling_timer); in aq_nic_polling_timer_cb() local
277 static int aq_nic_hw_prepare(struct aq_nic_s *self) in aq_nic_hw_prepare()
299 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register()
[all …]
/Linux-v6.1/tools/perf/tests/
Dattr.py33 def __init__(self, test, msg): argument
36 def getMsg(self): argument
40 def __init__(self, test, arch): argument
43 def getMsg(self): argument
47 def __init__(self, test): argument
49 def getMsg(self): argument
93 def add(self, data): argument
98 def __init__(self, name, data, base): argument
105 def equal(self, other): argument
114 def optional(self): argument
[all …]
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c115 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset()
130 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc()
137 static int hw_atl_b0_tc_ptp_set(struct aq_hw_s *self) in hw_atl_b0_tc_ptp_set()
152 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set()
209 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set()
237 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set()
273 int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set()
332 static int hw_atl_b0_hw_init_tx_tc_rate_limit(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_tc_rate_limit()
449 static int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path()
474 void hw_atl_b0_hw_init_rx_rss_ctrl1(struct aq_hw_s *self) in hw_atl_b0_hw_init_rx_rss_ctrl1()
[all …]
Dhw_atl_a0.c86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset()
124 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set()
183 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set()
211 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set()
247 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set()
264 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path()
283 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path()
325 static int hw_atl_a0_hw_mac_addr_set(struct aq_hw_s *self, const u8 *mac_addr) in hw_atl_a0_hw_mac_addr_set()
351 static int hw_atl_a0_hw_init(struct aq_hw_s *self, const u8 *mac_addr) in hw_atl_a0_hw_init()
405 static int hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_start()
[all …]
Dhw_atl_utils.c67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
95 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb()
171 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self) in hw_atl_utils_soft_reset_rbl()
240 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset()
306 int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a, in hw_atl_utils_fw_downld_dwords()
352 static int hw_atl_utils_write_b1_mbox(struct aq_hw_s *self, u32 addr, in hw_atl_utils_write_b1_mbox()
391 static int hw_atl_utils_write_b0_mbox(struct aq_hw_s *self, u32 addr, in hw_atl_utils_write_b0_mbox()
416 static int hw_atl_utils_fw_upload_dwords(struct aq_hw_s *self, u32 addr, u32 *p, in hw_atl_utils_fw_upload_dwords()
444 int hw_atl_write_fwcfg_dwords(struct aq_hw_s *self, u32 *p, u32 cnt) in hw_atl_write_fwcfg_dwords()
450 int hw_atl_write_fwsettings_dwords(struct aq_hw_s *self, u32 offset, u32 *p, in hw_atl_write_fwsettings_dwords()
[all …]
/Linux-v6.1/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py23 def __init__(self, sched_tracer, title, parent = None, id = -1): argument
65 def us_to_px(self, val): argument
68 def px_to_us(self, val): argument
71 def scroll_start(self): argument
75 def scroll_start_us(self): argument
79 def paint_rectangle_zone(self, nr, color, top_color, start, end): argument
103 def update_rectangles(self, dc, start, end): argument
108 def on_paint(self, event): argument
118 def rect_from_ypixel(self, y): argument
128 def update_summary(self, txt): argument
[all …]
/Linux-v6.1/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py11 def __init__(self): argument
15 def pre_suite(self, testcount, testidlist): argument
24 def post_suite(self, index): argument
35 def add_args(self, parser): argument
45 def adjust_command(self, stage, command): argument
80 def _ports_create(self): argument
89 def _ports_destroy(self): argument
93 def _ns_create(self): argument
112 def _ns_destroy(self): argument
121 def _exec_cmd(self, stage, command): argument
[all …]
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils_fw.c74 static int hw_atl2_shared_buffer_read_block(struct aq_hw_s *self, in hw_atl2_shared_buffer_read_block()
103 static inline int hw_atl2_shared_buffer_finish_ack(struct aq_hw_s *self) in hw_atl2_shared_buffer_finish_ack()
117 static int aq_a2_fw_init(struct aq_hw_s *self) in aq_a2_fw_init()
141 static int aq_a2_fw_deinit(struct aq_hw_s *self) in aq_a2_fw_deinit()
224 static int aq_a2_fw_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_a2_fw_set_link_speed()
236 static void aq_a2_fw_set_mpi_flow_control(struct aq_hw_s *self, in aq_a2_fw_set_mpi_flow_control()
245 static void aq_a2_fw_upd_eee_rate_bits(struct aq_hw_s *self, in aq_a2_fw_upd_eee_rate_bits()
256 static int aq_a2_fw_set_state(struct aq_hw_s *self, in aq_a2_fw_set_state()
284 static int aq_a2_fw_update_link_status(struct aq_hw_s *self) in aq_a2_fw_update_link_status()
326 static int aq_a2_fw_get_mac_permanent(struct aq_hw_s *self, u8 *mac) in aq_a2_fw_get_mac_permanent()
[all …]
/Linux-v6.1/scripts/gdb/linux/
Dproc.py26 def __init__(self): argument
29 def invoke(self, arg, from_tty): argument
40 def __init__(self): argument
43 def invoke(self, arg, from_tty): argument
85 def __init__(self): argument
88 def invoke(self, arg, from_tty): argument
100 def __init__(self): argument
103 def invoke(self, arg, from_tty): argument
145 def __init__(self): argument
151 def invoke(self, arg, from_tty): argument
[all …]

1234567891011