Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/tools/testing/kunit/
Dkunit_tool_test.py37 def test_is_subset_of(self): argument
47 def test_read_from_file(self): argument
68 def test_write_to_file(self): argument
93 def assertContains(self, needle, haystack): argument
100 def test_output_isolated_correctly(self): argument
113 def test_output_with_prefix_isolated_correctly(self): argument
143 def test_parse_successful_test_log(self): argument
153 def test_parse_failed_test_log(self): argument
163 def test_no_tests(self): argument
175 def test_no_kunit_output(self): argument
[all …]
Dkunit_kernel.py37 def make_mrproper(self): argument
45 def make_olddefconfig(self, build_dir, make_options): argument
58 def make_allyesconfig(self, build_dir, make_options): argument
80 def make(self, jobs, build_dir, make_options): argument
98 def linux_bin(self, params, timeout, build_dir): argument
131 def __init__(self): argument
135 def clean(self): argument
143 def create_kunitconfig(self, build_dir, defconfig=DEFAULT_KUNITCONFIG_PATH): argument
148 def read_kunitconfig(self, build_dir): argument
153 def validate_config(self, build_dir): argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexported-sql-viewer.py193 def __init__(self, task, param=None, parent=None): argument
198 def run(self): argument
212 def __init__(self, glb, params, parent=None): argument
219 def Item(self, parent): argument
225 def rowCount(self, parent): argument
232 def hasChildren(self, parent): argument
235 def headerData(self, section, orientation, role): argument
244 def parent(self, child): argument
251 def index(self, row, column, parent): argument
255 def DisplayData(self, item, index): argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
105 json_writer_t *self = *self_p; in jsonw_destroy() local
114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
119 void jsonw_reset(json_writer_t *self) in jsonw_reset()
126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.py297 def __init__(self): argument
315 def resetlog(self): argument
318 def vprint(self, msg): argument
322 def signalHandler(self, signum, frame): argument
329 def signalHandlerInit(self): argument
341 def rootCheck(self, fatal=True): argument
350 def rootUser(self, fatal=False): argument
359 def usable(self, file): argument
361 def getExec(self, cmd): argument
376 def setPrecision(self, num): argument
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/scripts/
Dbpf_helpers_doc.py17 def __init__(self, line='<line not provided>', reader=None): argument
32 def __init__(self, proto='', desc='', ret=''): argument
37 def proto_break_down(self): argument
71 def __init__(self, filename): argument
76 def parse_helper(self): argument
82 def parse_proto(self): argument
97 def parse_desc(self): argument
120 def parse_ret(self): argument
143 def run(self): argument
170 def __init__(self, helpers): 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/scripts/kconfig/tests/
Dconftest.py30 def __init__(self, request): argument
39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument
116 def oldaskconfig(self, dot_config=None, in_keys=None): argument
126 def oldconfig(self, dot_config=None, in_keys=None): argument
136 def olddefconfig(self, dot_config=None): argument
144 def defconfig(self, defconfig): argument
153 def _allconfig(self, mode, all_config): argument
162 def allyesconfig(self, all_config=None): argument
170 def allmodconfig(self, all_config=None): argument
178 def allnoconfig(self, all_config=None): argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
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_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_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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/uniproton/
Dbuild.py39 def get_config(self, cpu_type, cpu_plat): argument
49 def setCmdEnv(self): argument
54 def SetCMakeEnviron(self): argument
73 def prepare_env(self, cpu_type, choice): argument
86 def getOsPlatform(self): argument
95 …def __init__(self, cpu_type: str, make_option="normal", lib_run_type="FPGA", choice="ALL", make_ph… argument
129 def CMake(self): argument
171 def UniProton_clean(self): argument
192 def make(self): argument
212 def SdkCompaile(self)->bool: argument
[all …]
/kernel/linux/linux-5.10/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 …]
Dsymbols.py23 def __init__(self, spec, gdb_command): argument
28 def stop(self): argument
70 def __init__(self): argument
74 def _update_module_files(self): argument
84 def _get_module_file(self, module_name): argument
92 def _section_arguments(self, module): argument
110 def load_module_symbols(self, module): argument
138 def load_all_symbols(self): argument
166 def invoke(self, arg, from_tty): argument
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]

1234567891011