Home
last modified time | relevance | path

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

1234567891011

/linux/tools/testing/kunit/
A Dkunit_tool_test.py42 def test_is_subset_of(self): argument
52 def test_read_from_file(self): argument
72 def test_write_to_file(self): argument
177 def test_no_header(self): argument
199 def test_no_tests(self): argument
219 def test_crashed_test(self): argument
321 def setUp(self): argument
390 def test_nested_json(self): argument
397 def __eq__(self, other): argument
401 def setUp(self): argument
[all …]
A Dkunit_kernel.py50 def make_mrproper(self) -> None: argument
61 def make_allyesconfig(self, build_dir, make_options) -> None: argument
64 def make_olddefconfig(self, build_dir, make_options) -> None: argument
80 def make(self, jobs, build_dir, make_options) -> None: argument
143 def __init__(self, cross_compile=None): argument
224 self, argument
255 def clean(self) -> bool: argument
263 def validate_config(self, build_dir) -> bool: argument
277 def build_config(self, build_dir, make_options) -> bool: argument
290 def build_reconfig(self, build_dir, make_options) -> bool: argument
[all …]
/linux/tools/kvm/kvm_stat/
A Dkvm_stat376 def read(self): argument
411 def __del__(self): argument
482 def enable(self): argument
500 def reset(self): argument
675 def fields(self): argument
694 def pid(self): argument
720 def reset(self): argument
762 def fields(self): argument
771 def pid(self): argument
851 def reset(self): argument
[all …]
/linux/lib/
A Dtest_bpf.c89 static int bpf_fill_maxinsns1(struct bpf_test *self) in bpf_fill_maxinsns1()
109 static int bpf_fill_maxinsns2(struct bpf_test *self) in bpf_fill_maxinsns2()
128 static int bpf_fill_maxinsns3(struct bpf_test *self) in bpf_fill_maxinsns3()
155 static int bpf_fill_maxinsns4(struct bpf_test *self) in bpf_fill_maxinsns4()
174 static int bpf_fill_maxinsns5(struct bpf_test *self) in bpf_fill_maxinsns5()
197 static int bpf_fill_maxinsns6(struct bpf_test *self) in bpf_fill_maxinsns6()
219 static int bpf_fill_maxinsns7(struct bpf_test *self) in bpf_fill_maxinsns7()
245 static int bpf_fill_maxinsns8(struct bpf_test *self) in bpf_fill_maxinsns8()
400 static int bpf_fill_ja(struct bpf_test *self) in bpf_fill_ja()
456 static int bpf_fill_stxw(struct bpf_test *self) in bpf_fill_stxw()
[all …]
/linux/tools/perf/scripts/python/
A Dexported-sql-viewer.py199 def run(self): argument
428 def Busy(self): argument
435 def Idle(self): argument
1556 def Step(self): argument
1646 def Unit(self): argument
1649 def Text(self): argument
1659 def Text(self): argument
2358 def Back(self): argument
2382 def Zoom(self): argument
2636 def Run(self): argument
[all …]
/linux/scripts/
A Dbpf_doc.py91 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
206 def run(self): argument
223 def print_header(self): argument
226 def print_footer(self): argument
232 def print_all(self): argument
[all …]
A Dspdxcheck.py15 def __init__(self, tok, txt): argument
20 def __init__(self, el, txt): argument
25 def __init__(self): 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
156 def p_error(self, p): argument
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_bpftool_synctypes.py20 def __init__(self, reader): argument
64 def search_block(self): argument
70 def parse(self): argument
115 def __init__(self): argument
118 def close(self): argument
124 def reset_read(self): argument
276 def get_options(self): argument
300 def get_map_types(self): argument
303 def get_map_help(self): argument
321 def __init__(self): argument
[all …]
/linux/tools/bpf/bpftool/
A 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()
95 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
108 json_writer_t *self = *self_p; in jsonw_destroy() local
122 void jsonw_reset(json_writer_t *self) in jsonw_reset()
180 void jsonw_start_object(json_writer_t *self) in jsonw_start_object()
185 void jsonw_end_object(json_writer_t *self) in jsonw_end_object()
190 void jsonw_start_array(json_writer_t *self) in jsonw_start_array()
195 void jsonw_end_array(json_writer_t *self) in jsonw_end_array()
[all …]
/linux/tools/testing/selftests/tpm2/
A 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
145 def test_too_short_cmd(self): argument
201 def test_send_two_cmds(self): argument
226 def setUp(self): argument
253 def test_get_handles(self): argument
270 def test_invalid_cc(self): argument
294 def setUp(self): argument
[all …]
A Dtpm2.py206 def __str__(self): argument
214 def __str__(self): argument
222 def __str__(self): argument
240 def __str__(self): argument
257 def __bytes__(self): argument
263 def __len__(self): argument
275 def __bytes__(self): argument
280 def __len__(self): argument
295 def __fmt(self): argument
320 def __len__(self): argument
[all …]
/linux/tools/power/pm-graph/
A Dsleepgraph.py299 def __init__(self): argument
317 def resetlog(self): argument
427 def cpuInfo(self): argument
493 def initdmesg(self): argument
1297 def __init__(self): argument
2136 def title(self): argument
2147 def text(self): argument
2254 def isCall(self): argument
2258 def isLeaf(self): argument
3104 def start(self): argument
[all …]
/linux/tools/testing/selftests/tc-testing/
A DTdcResults.py20 def set_result(self, result): argument
27 def get_result(self): argument
37 def get_errormsg(self): argument
47 def get_failmsg(self): argument
50 def add_steps(self, newstep): argument
58 def get_executed_steps(self): argument
69 def count_tests(self): argument
72 def count_failures(self): argument
75 def count_skips(self): argument
89 def format_tap(self): argument
[all …]
A 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/scripts/kconfig/tests/
A Dconftest.py30 def __init__(self, request): argument
148 def defconfig(self, defconfig): argument
206 def savedefconfig(self, dot_config): argument
234 def _contains(self, attr, expected): argument
239 def _matches(self, attr, expected): argument
243 def config_contains(self, expected): argument
251 def config_matches(self, expected): argument
259 def stdout_contains(self, expected): argument
267 def stdout_matches(self, expected): argument
275 def stderr_contains(self, expected): argument
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_nic.c96 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start()
215 struct aq_nic_s *self = private; in aq_linkstate_threaded_isr() local
301 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register()
371 void aq_nic_ndev_init(struct aq_nic_s *self) in aq_nic_ndev_init()
402 int aq_nic_init(struct aq_nic_s *self) in aq_nic_init()
469 int aq_nic_start(struct aq_nic_s *self) in aq_nic_start()
1209 int aq_nic_set_loopback(struct aq_nic_s *self) in aq_nic_set_loopback()
1247 int aq_nic_stop(struct aq_nic_s *self) in aq_nic_stop()
1276 void aq_nic_set_power(struct aq_nic_s *self) in aq_nic_set_power()
1317 void aq_nic_free_vectors(struct aq_nic_s *self) in aq_nic_free_vectors()
[all …]
/linux/tools/perf/tests/
A Dattr.py33 def __init__(self, test, msg): argument
36 def getMsg(self): argument
43 def getMsg(self): argument
47 def __init__(self, test): argument
49 def getMsg(self): argument
93 def add(self, data): argument
105 def equal(self, other): argument
114 def optional(self): argument
119 def diff(self, other): argument
169 def is_event(self, name): argument
[all …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
A DSchedGui.py65 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
108 def on_paint(self, event): argument
118 def rect_from_ypixel(self, y): argument
128 def update_summary(self, txt): argument
148 def __zoom(self, x): argument
155 def zoom_in(self): argument
160 def zoom_out(self): argument
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A 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()
645 int hw_atl_b0_hw_start(struct aq_hw_s *self) in hw_atl_b0_hw_start()
1192 static int hw_atl_b0_hw_stop(struct aq_hw_s *self) in hw_atl_b0_hw_stop()
1230 #define get_ptp_ts_val_u64(self, indx) \ argument
[all …]
A 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()
421 static int hw_atl_a0_hw_start(struct aq_hw_s *self) in hw_atl_a0_hw_start()
437 static int hw_atl_a0_hw_ring_tx_xmit(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_xmit()
867 static int hw_atl_a0_hw_stop(struct aq_hw_s *self) in hw_atl_a0_hw_stop()
[all …]
A Dhw_atl_utils.c240 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset()
473 static int hw_atl_utils_init_ucp(struct aq_hw_s *self, in hw_atl_utils_init_ucp()
538 int hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, in hw_atl_utils_fw_rpc_wait()
599 static int hw_atl_utils_mpi_create(struct aq_hw_s *self) in hw_atl_utils_mpi_create()
615 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, in hw_atl_utils_mpi_read_mbox()
624 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, in hw_atl_utils_mpi_read_stats()
859 static int hw_atl_fw1x_deinit(struct aq_hw_s *self) in hw_atl_fw1x_deinit()
867 int hw_atl_utils_update_stats(struct aq_hw_s *self) in hw_atl_utils_update_stats()
949 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, in hw_atl_utils_hw_get_regs()
962 u32 hw_atl_utils_get_fw_version(struct aq_hw_s *self) in hw_atl_utils_get_fw_version()
[all …]
/linux/tools/testing/selftests/tc-testing/plugin-lib/
A 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/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2_utils_fw.c117 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()
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()
336 static void aq_a2_fill_a0_stats(struct aq_hw_s *self, in aq_a2_fill_a0_stats()
378 static void aq_a2_fill_b0_stats(struct aq_hw_s *self, in aq_a2_fill_b0_stats()
414 static int aq_a2_fw_update_stats(struct aq_hw_s *self) in aq_a2_fw_update_stats()
493 static int aq_a2_fw_renegotiate(struct aq_hw_s *self) in aq_a2_fw_renegotiate()
513 static int aq_a2_fw_set_flow_control(struct aq_hw_s *self) in aq_a2_fw_set_flow_control()
[all …]
/linux/scripts/gdb/linux/
A 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/tools/testing/selftests/drivers/net/mlxsw/
A Dsharedbuffer_configuration.py28 def __init__(self, pools): argument
33 def _cell_size(self): argument
41 def _get_size(self): argument
44 def _get_thtype(self): argument
47 def _get_th(self, pool): argument
69 def get_value(self, objid): argument
143 def var_tuple(self): argument
150 def weak_eq(self, other): argument
160 def get_by(self, by_obj): argument
166 def del_by(self, by_obj): argument
[all …]

Completed in 105 milliseconds

1234567891011