/linux/tools/testing/selftests/net/lib/py/ |
H A D | utils.py | 15 def __init__(self, msg, cmd_obj): argument 34 def __init__(self, comm, shell=True, fail=True, ns=None, background=False, argument 73 def process(self, terminate=True, fail=None, timeout=5): argument 114 def __init__(self, comm, shell=True, fail=None, ns=None, host=None, argument 126 def __enter__(self): argument 129 def __exit__(self, ex_type, ex_value, ex_tb): argument 137 def __init__(self, func, *args, **kwargs): argument 150 def __enter__(self): argument 153 def __exit__(self, ex_type, ex_value, ex_tb): argument 156 def exec_only(self): argument [all …]
|
H A D | ynl.py | 35 def __init__(self, recv_size=0): argument 41 def __init__(self, recv_size=0): argument 46 def __init__(self, recv_size=0): argument 51 def __init__(self, recv_size=0): argument 56 def __init__(self, recv_size=0): argument 61 def __init__(self, recv_size=0): argument
|
/linux/scripts/gdb/linux/ |
H A D | cpus.py | 128 def __init__(self): argument 131 def invoke(self, arg, from_tty): argument 148 def __init__(self): argument 151 def invoke(self, var, cpu=-1): argument 165 def __init__(self): argument 168 def invoke(self, var, cpu=-1): argument 220 def __init__(self): argument 223 def invoke(self, cpu=-1): argument
|
H A D | rbtree.py | 118 def __init__(self): argument 121 def invoke(self, root): argument 138 def __init__(self): argument 141 def invoke(self, root): argument 158 def __init__(self): argument 161 def invoke(self, node): argument 178 def __init__(self): argument 181 def invoke(self, node): argument
|
H A D | pgtable.py | 66 self.page_levels = page_levels argument 73 return PageHierarchyEntry(entry_va(next_level, self.next_entry_physical_address, va), next_level) argument 77 mk_string(self) global() argument 89 __init__(self, address, level) global() argument 136 next_entry(self, va) global() argument 144 mk_string(self) global() argument 204 __init__(self) global() argument 207 invoke(self, arg, from_tty) global() argument [all...] |
H A D | clk.py | 26 def __init__(self): argument 29 def show_subtree(self, clk, level): argument 43 def invoke(self, arg, from_tty): argument 61 def __init__(self): argument 64 def lookup_hlist(self, hlist_head, name): argument 72 def invoke(self, name): argument
|
H A D | modules.py | 50 def __init__(self): argument 53 def invoke(self, mod_name): argument 70 def __init__(self): argument 73 def invoke(self, arg, from_tty): argument 114 def __init__(self): argument 117 def invoke(self, arg, from_tty): argument
|
H A D | mapletree.py | 35 def __init__(self, mt, first, end): argument 49 def is_start(self): argument 53 def is_ptr(self): argument 57 def is_none(self): argument 61 def root(self): argument 65 def start(self): argument 104 def reset(self): argument
|
/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 64 def __init__(self, root_blkcg, q_id, include_dying=False): argument 72 def walk(self, blkcg, q_id, parent_path): argument 90 def __iter__(self): argument 94 def __init__(self, ioc): argument 114 def dict(self, now): argument 127 def table_preamble_str(self): argument 139 def table_header_str(self): argument 144 def __init__(self, iocg): argument 175 def dict(self, now, path): argument 192 def table_row_str(self, path): argument
|
/linux/drivers/gpu/drm/ |
H A D | drm_panic_qr.rs | 319 fn length_bits_count(&self, version: Version) -> usize { in length_bits_count() 346 fn get_length_field(&self, version: Version) -> (u16, usize) { in get_length_field() 353 fn total_size_bits(&self, version: Version) -> usize { in total_size_bits() 405 fn push(&mut self, data: u64, len: usize) { in push() 513 fn push(&mut self, offset: &mut usize, bits: (u16, usize)) { in push() 543 fn add_segments(&mut self, segments: &[&Segment<'_>]) { in add_segments() 561 fn error_code_for_blocks(&mut self, offset: usize, size: usize, ec_offset: usize) { in error_code_for_blocks() 579 fn compute_error_code(&mut self) { in compute_error_code() 595 fn encode(&mut self, segments: &[&Segment<'_>]) { in encode() 682 fn clear(&mut self) { in clear() [all …]
|
/linux/rust/kernel/ |
H A D | dma.rs | 31 unsafe fn dma_set_mask(&self, mask: DmaMask) -> Result { in dma_set_mask() 48 unsafe fn dma_set_coherent_mask(&self, mask: DmaMask) -> Result { in dma_set_coherent_mask() 67 unsafe fn dma_set_mask_and_coherent(&self, mask: DmaMask) -> Result { in dma_set_mask_and_coherent() 187 pub fn contains(self, flags: Attrs) -> bool { in contains() argument 194 fn bitor(self, rhs: Self) -> Self::Output { in bitor() argument 201 fn bitand(self, rhs: Self) -> Self::Output { in bitand() argument 387 pub fn dma_handle_with_offset(&self, offset: usize) -> Result<bindings::dma_addr_t> { in dma_handle_with_offset() 399 fn validate_range(&self, offset: usize, count: usize) -> Result { in validate_range() 419 pub unsafe fn as_slice(&self, offset: usize, count: usize) -> Result<&[T]> { in as_slice() 439 pub unsafe fn as_slice_mut(&mut self, offset: usize, count: usize) -> Result<&mut [T]> { in as_slice_mut() [all …]
|
H A D | device.rs | 199 pub fn set_drvdata(&self, data: impl ForeignOwnable) { in set_drvdata() 287 pub fn pr_emerg(&self, args: fmt::Arguments<'_>) { in pr_emerg() 297 pub fn pr_alert(&self, args: fmt::Arguments<'_>) { in pr_alert() 307 pub fn pr_crit(&self, args: fmt::Arguments<'_>) { in pr_crit() 317 pub fn pr_err(&self, args: fmt::Arguments<'_>) { in pr_err() 327 pub fn pr_warn(&self, args: fmt::Arguments<'_>) { in pr_warn() 337 pub fn pr_notice(&self, args: fmt::Arguments<'_>) { in pr_notice() 347 pub fn pr_info(&self, args: fmt::Arguments<'_>) { in pr_info() 357 pub fn pr_dbg(&self, args: fmt::Arguments<'_>) { in pr_dbg() 371 unsafe fn printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) { in printk() [all …]
|
H A D | page.rs | 104 fn with_page_mapped<T>(&self, f: impl FnOnce(*mut u8) -> T) -> T { in with_page_mapped() 146 &self, in with_pointer_into_page() 174 pub unsafe fn read_raw(&self, dst: *mut u8, offset: usize, len: usize) -> Result { in read_raw() 196 pub unsafe fn write_raw(&self, src: *const u8, offset: usize, len: usize) -> Result { in write_raw() 216 pub unsafe fn fill_zero_raw(&self, offset: usize, len: usize) -> Result { in fill_zero_raw() 240 &self, in copy_from_user_slice_raw() 256 fn drop(&mut self) { in drop()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ring.c | 84 static int aq_get_rxpages(struct aq_ring_s *self, struct aq_ring_buff_s *rxbuf) in aq_get_rxpages() 135 static int aq_ring_alloc(struct aq_ring_s *self, in aq_ring_alloc() 164 int aq_ring_tx_alloc(struct aq_ring_s *self, in aq_ring_tx_alloc() 177 int aq_ring_rx_alloc(struct aq_ring_s *self, in aq_ring_rx_alloc() 207 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc() 230 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init() 285 bool aq_ring_tx_clean(struct aq_ring_s *self) in aq_ring_tx_clean() 339 static void aq_rx_checksum(struct aq_ring_s *self, in aq_rx_checksum() 528 static int __aq_ring_rx_clean(struct aq_ring_s *self, struct napi_struct *napi, in __aq_ring_rx_clean() 836 int aq_ring_rx_clean(struct aq_ring_s *self, in aq_ring_rx_clean() [all …]
|
H A D | aq_pci_func.c | 147 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, in aq_pci_func_alloc_irq() 172 void aq_pci_func_free_irqs(struct aq_nic_s *self) in aq_pci_func_free_irqs() 196 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self) in aq_pci_func_get_irq_type() 206 static void aq_pci_free_irq_vectors(struct aq_nic_s *self) in aq_pci_free_irq_vectors() 216 struct aq_nic_s *self; in aq_pci_probe() local 343 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_remove() local 367 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_shutdown() local
|
/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 31 def __init__(self, missing_pg): argument 35 def __init__(self, stage, output, message): argument 41 def __init__(self, argparser): argument 60 def load_plugin(self, pgdir, pgname): argument 74 def get_required_plugins(self, testlist): argument 96 def load_required_plugins(self, reqs, parser, args, remaining): argument 129 def call_pre_suite(self, testcount, testidlist): argument 133 def call_post_suite(self, index): argument 137 def call_pre_case(self, caseinfo, *, test_skip=False): argument 149 def call_post_case(self, caseinfo): argument [all …]
|
/linux/rust/kernel/sync/ |
H A D | condvar.rs | 114 fn wait_internal<T: ?Sized, B: Backend>( in wait_internal() 145 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() argument 156 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() 168 pub fn wait_interruptible_freezable<T: ?Sized, B: Backend>( in wait_interruptible_freezable() 186 pub fn wait_interruptible_timeout<T: ?Sized, B: Backend>( in wait_interruptible_timeout() 202 fn notify(&self, count: c_int) { in notify() 220 pub fn notify_sync(&self) { in notify_sync() 230 pub fn notify_one(&self) { in notify_one() 239 pub fn notify_all(&self) { in notify_all()
|
/linux/rust/kernel/device/ |
H A D | property.rs | 80 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in display_name() 98 pub fn property_present(&self, name: &CStr) -> bool { in property_present() 104 pub fn property_read_bool(&self, name: &CStr) -> bool { in property_read_bool() 113 pub fn property_match_string(&self, name: &CStr, match_str: &CStr) -> Result<usize> { in property_match_string() 130 &'fwnode self, in property_read_array_vec() 157 pub fn property_count_elem<T: PropertyInt>(&self, name: &CStr) -> Result<usize> { in property_count_elem() 191 &'fwnode self, in property_read() 202 pub fn get_child_by_name(&self, name: &CStr) -> Option<ARef<Self>> { in get_child_by_name() 259 &self, in property_get_reference_args() 323 fn drop(&mut self) { in drop() [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | flamegraph.py | 53 def __init__(self, name: str, libtype: str): argument 61 def to_json(self) -> Dict[str, Union[str, int, list[Dict]]]: argument 71 def __init__(self, args): argument 96 def process_event(self, event) -> None: argument 124 def get_report_header(self) -> str: argument 147 def trace_end(self) -> None: argument
|
H A D | libxed.py | 32 def __init__(self, libxed): argument 46 def __init__(self): argument 80 def Instruction(self): argument 83 def SetMode(self, inst, mode): argument 92 def DisassembleOne(self, inst, bytes_ptr, bytes_cnt, ip): argument
|
/linux/tools/testing/selftests/drivers/net/lib/py/ |
H A D | remote_ssh.py | 12 def __init__(self, name, dir_path): argument 17 def __del__(self): argument 22 def cmd(self, comm): argument 26 def _mktmp(self): argument 29 def deploy(self, what): argument
|
H A D | load.py | 9 def __init__(self, env, port=None): argument 26 def _wait_pkts(self, pkt_cnt=None, pps=None): argument 44 def wait_pkts_and_stop(self, pkt_cnt): argument 48 def stop(self, verbose=None): argument 61 def _wait_client_stopped(self, sleep=0.005, timeout=5): argument
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base_gamepad.py | 20 def __init__(self, hid, evdev=None): argument 59 def __init__(self, rdesc, application="Game Pad", name=None, input_info=None): argument 74 def store_axes(self, which, gamepad, data): argument 81 self, argument 150 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument 199 def __init__(self, rdesc, application="Joystick", name=None, input_info=None): argument 203 self, argument 237 def store_right_joystick(self, gamepad, data): argument
|
H A D | test_usb_crash.py | 53 def __init__(self, name=None, input_info=None): argument 60 def is_ready(self): argument 65 def get_evdev(self, application=None): argument 82 def new_uhdev(self, usbVidPid, request): argument 87 def test_creation(self): argument
|
/linux/rust/kernel/alloc/ |
H A D | kvec.rs | 199 pub unsafe fn inc_len(&mut self, additional: usize) { in inc_len() 215 unsafe fn dec_len(&mut self, count: usize) -> &mut [T] { in dec_len() 312 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push() 335 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity() 350 unsafe fn push_within_capacity_unchecked(&mut self, v: T) { in push_within_capacity_unchecked() 383 &mut self, in insert_within_capacity() 452 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove() 587 pub fn clear(&mut self) { in clear() 609 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve() 664 pub fn truncate(&mut self, len: usize) { in truncate() [all …]
|