Home
last modified time | relevance | path

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

12345678910

/Linux-v5.15/tools/testing/kunit/
Dkunit_tool_test.py41 def test_is_subset_of(self): argument
51 def test_read_from_file(self): argument
71 def test_write_to_file(self): argument
96 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): argument
104 def test_output_isolated_correctly(self): argument
115 def test_output_with_prefix_isolated_correctly(self): argument
144 def test_parse_successful_test_log(self): argument
152 def test_parse_failed_test_log(self): argument
160 def test_no_header(self): argument
170 def test_no_tests(self): argument
[all …]
Dkunit_kernel.py49 def __init__(self, linux_arch: str, cross_compile: Optional[str]): argument
53 def make_mrproper(self) -> None: argument
61 def make_arch_qemuconfig(self, kconfig: kunit_config.Kconfig) -> None: argument
64 def make_allyesconfig(self, build_dir, make_options) -> None: argument
67 def make_olddefconfig(self, build_dir, make_options) -> None: argument
83 def make(self, jobs, build_dir, make_options) -> None: argument
106 def run(self, params, timeout, build_dir, outfile) -> None: argument
112 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]): argument
121 def make_arch_qemuconfig(self, base_kunitconfig: kunit_config.Kconfig) -> None: argument
126 def run(self, params, timeout, build_dir, outfile): argument
[all …]
/Linux-v5.15/tools/kvm/kvm_stat/
Dkvm_stat268 def tracepoint_is_child(self, field): argument
275 def __init__(self, exit_reasons): argument
281 def debugfs_is_child(self, field): argument
287 def __init__(self): argument
301 def debugfs_is_child(self, field): argument
307 def __init__(self): argument
313 def debugfs_is_child(self, field): argument
319 def __init__(self): argument
325 def debugfs_is_child(self, field): argument
356 def __init__(self): argument
[all …]
/Linux-v5.15/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-v5.15/scripts/
Dbpf_doc.py21 def __init__(self, line='<line not provided>', reader=None): argument
37 def __init__(self, proto='', desc='', ret=''): argument
50 def proto_break_down(self): argument
85 def __init__(self, filename): argument
91 def parse_element(self): argument
97 def parse_helper(self): argument
103 def parse_symbol(self): argument
115 def parse_proto(self): argument
130 def parse_desc(self): argument
153 def parse_ret(self): argument
[all …]
Dspdxcheck.py15 def __init__(self, tok, txt): argument
20 def __init__(self, el, txt): argument
25 def __init__(self): argument
84 def __init__(self, spdx): argument
100 def validate(self, tok): argument
116 def t_RPAR(self, tok): argument
121 def t_LPAR(self, tok): argument
126 def t_ID(self, tok): argument
145 def t_error(self, tok): argument
148 def p_expr(self, p): argument
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py20 def __init__(self, reader): argument
23 def search_block(self, start_marker): argument
34 def parse(self, pattern, end_marker): argument
59 def __init__(self, reader, array_name): argument
64 def search_block(self): argument
70 def parse(self): argument
90 def parse(self, pattern, end_marker): argument
115 def __init__(self): argument
118 def close(self): argument
124 def reset_read(self): argument
[all …]
/Linux-v5.15/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-v5.15/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 test_seal_with_policy(self): argument
60 def test_unseal_with_wrong_auth(self): argument
74 def test_unseal_with_wrong_policy(self): argument
132 def test_seal_with_too_long_auth(self): argument
145 def test_too_short_cmd(self): argument
162 def test_read_partial_resp(self): argument
179 def test_read_partial_overwrite(self): argument
[all …]
Dtpm2.py203 def __init__(self, alg): argument
206 def __str__(self): argument
211 def __init__(self, name): argument
214 def __str__(self): argument
219 def __init__(self, alg): argument
222 def __str__(self): argument
227 def __init__(self, cc, rc): argument
240 def __str__(self): argument
250 def __init__(self, session_handle=TPM2_RS_PW, nonce=bytes(), argument
257 def __bytes__(self): argument
[all …]
/Linux-v5.15/tools/power/pm-graph/
Dsleepgraph.py299 def __init__(self): argument
317 def resetlog(self): argument
320 def vprint(self, msg): argument
324 def signalHandler(self, signum, frame): argument
331 def signalHandlerInit(self): argument
343 def rootCheck(self, fatal=True): argument
352 def rootUser(self, fatal=False): argument
361 def usable(self, file): argument
363 def getExec(self, cmd): argument
378 def setPrecision(self, num): argument
[all …]
/Linux-v5.15/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 …]
DTdcPlugin.py4 def __init__(self): argument
8 def pre_suite(self, testcount, testidlist): argument
15 def post_suite(self, index): argument
21 def pre_case(self, caseinfo, test_skip): argument
28 def post_case(self): argument
33 def pre_execute(self): argument
38 def post_execute(self): argument
43 def adjust_command(self, stage, command): argument
65 def add_args(self, parser): argument
70 def check_args(self, args, remaining): argument
/Linux-v5.15/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-v5.15/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
279 static int aq_nic_hw_prepare(struct aq_nic_s *self) in aq_nic_hw_prepare()
301 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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, u8 *mac_addr) in hw_atl_a0_hw_mac_addr_set()
351 static int hw_atl_a0_hw_init(struct aq_hw_s *self, 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-v5.15/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-v5.15/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()
226 static int aq_a2_fw_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_a2_fw_set_link_speed()
238 static void aq_a2_fw_set_mpi_flow_control(struct aq_hw_s *self, in aq_a2_fw_set_mpi_flow_control()
247 static void aq_a2_fw_upd_eee_rate_bits(struct aq_hw_s *self, in aq_a2_fw_upd_eee_rate_bits()
258 static int aq_a2_fw_set_state(struct aq_hw_s *self, in aq_a2_fw_set_state()
286 static int aq_a2_fw_update_link_status(struct aq_hw_s *self) in aq_a2_fw_update_link_status()
328 static int aq_a2_fw_get_mac_permanent(struct aq_hw_s *self, u8 *mac) in aq_a2_fw_get_mac_permanent()
[all …]
Dhw_atl2.c75 static u32 hw_atl2_sem_act_rslvr_get(struct aq_hw_s *self) in hw_atl2_sem_act_rslvr_get()
80 static int hw_atl2_hw_reset(struct aq_hw_s *self) in hw_atl2_hw_reset()
98 static int hw_atl2_hw_queue_to_tc_map_set(struct aq_hw_s *self) in hw_atl2_hw_queue_to_tc_map_set()
148 static int hw_atl2_hw_qos_set(struct aq_hw_s *self) in hw_atl2_hw_qos_set()
200 static int hw_atl2_hw_rss_set(struct aq_hw_s *self, in hw_atl2_hw_rss_set()
225 static int hw_atl2_hw_init_tx_tc_rate_limit(struct aq_hw_s *self) in hw_atl2_hw_init_tx_tc_rate_limit()
340 static int hw_atl2_hw_init_tx_path(struct aq_hw_s *self) in hw_atl2_hw_init_tx_path()
365 static void hw_atl2_hw_init_new_rx_filters(struct aq_hw_s *self) in hw_atl2_hw_init_new_rx_filters()
416 static void hw_atl2_hw_new_rx_filter_vlan_promisc(struct aq_hw_s *self, in hw_atl2_hw_new_rx_filter_vlan_promisc()
431 static void hw_atl2_hw_new_rx_filter_promisc(struct aq_hw_s *self, bool promisc) in hw_atl2_hw_new_rx_filter_promisc()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py28 def __init__(self, pools): argument
33 def _cell_size(self): argument
36 def _get_static_size(self, th): argument
41 def _get_size(self): argument
44 def _get_thtype(self): argument
47 def _get_th(self, pool): argument
55 def _get_pool(self, direction): argument
69 def get_value(self, objid): argument
103 def __init__(self, objlist): argument
108 def get_value(self, objid): argument
[all …]

12345678910