Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
/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-4.19/tools/kvm/kvm_stat/
Dkvm_stat264 def tracepoint_is_child(self, field): argument
271 def __init__(self, exit_reasons): argument
277 def debugfs_is_child(self, field): argument
283 def __init__(self): argument
297 def debugfs_is_child(self, field): argument
303 def __init__(self): argument
309 def debugfs_is_child(self, field): argument
315 def __init__(self): argument
321 def debugfs_is_child(self, field): argument
352 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 …]
/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()
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 …]
/kernel/linux/linux-4.19/tools/bpf/bpftool/
Djson_writer.c33 static void jsonw_indent(json_writer_t *self) in jsonw_indent()
41 static void jsonw_eol(json_writer_t *self) in jsonw_eol()
51 static void jsonw_eor(json_writer_t *self) in jsonw_eor()
61 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts()
99 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
112 json_writer_t *self = *self_p; in jsonw_destroy() local
121 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
127 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
135 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
148 void jsonw_name(json_writer_t *self, const char *name) in jsonw_name()
[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 …]
/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 …]
/kernel/linux/linux-4.19/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
172 def __init__(self, helpers): argument
[all …]
/kernel/linux/linux-4.19/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/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/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 …]
/kernel/linux/linux-4.19/tools/power/pm-graph/
Dsleepgraph.py244 def __init__(self): argument
259 def vprint(self, msg): argument
263 def rootCheck(self, fatal=True): argument
272 def rootUser(self, fatal=False): argument
281 def getExec(self, cmd): argument
289 def setPrecision(self, num): argument
293 def setOutputFolder(self, value): argument
300 def setOutputFile(self): argument
309 def systemInfo(self, info): argument
325 def printSystemInfo(self, fatal=False): argument
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c41 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init()
64 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start()
124 static int aq_nic_update_link_status(struct aq_nic_s *self) in aq_nic_update_link_status()
157 struct aq_nic_s *self = from_timer(self, t, service_timer); in aq_nic_service_timer_cb() local
183 struct aq_nic_s *self = from_timer(self, t, polling_timer); in aq_nic_polling_timer_cb() local
195 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register()
243 void aq_nic_ndev_init(struct aq_nic_s *self) in aq_nic_ndev_init()
260 void aq_nic_set_tx_ring(struct aq_nic_s *self, unsigned int idx, in aq_nic_set_tx_ring()
266 struct net_device *aq_nic_get_ndev(struct aq_nic_s *self) in aq_nic_get_ndev()
271 int aq_nic_init(struct aq_nic_s *self) in aq_nic_init()
[all …]
/kernel/linux/linux-4.19/tools/perf/scripts/python/
Dcall-graph-from-sql.py65 def __init__(self, db, row, parent_item): argument
81 def setUpRoot(self): argument
95 def setUpLevel1(self, comm_id, comm): argument
111 def setUpLevel2(self, comm_id, thread_id, pid, tid): argument
116 def getChildItem(self, row): argument
119 def getParentItem(self): argument
122 def getRow(self): argument
125 def timePercent(self, b): argument
131 def branchPercent(self, b): argument
137 def addChild(self, call_path_id, name, dso, count, time, branch_count): 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-4.19/tools/perf/tests/
Dattr.py28 def __init__(self, test, msg): argument
31 def getMsg(self): argument
35 def __init__(self, test, arch): argument
38 def getMsg(self): argument
42 def __init__(self, test): argument
44 def getMsg(self): argument
88 def add(self, data): argument
93 def __init__(self, name, data, base): argument
100 def equal(self, other): argument
109 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-4.19/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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c85 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset()
118 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set()
177 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set()
203 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set()
237 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set()
254 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path()
274 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path()
316 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()
341 static int hw_atl_a0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_a0_hw_init()
397 static int hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_start()
[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 …]

12345678910>>...20