| /linux/tools/testing/selftests/net/ |
| H A D | bpf_offload.py | 711 _, base_maps = bpftool("map") global() variable 724 _, out = cmd("mount") global() variable 736 _, _, err = cmd("tc qdisc delete dev lo handle 0", global() variable 765 ret, _ = sim.cls_bpf_add_filter(obj, skip_hw=True, fail=False) global() variable 769 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) global() variable 776 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, global() variable 786 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) global() variable 796 ret, _ = sim.cls_bpf_add_filter(bytecode, fail=False) global() variable 807 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True, global() variable 815 ret, _, err = sim.cls_bpf_add_filter(obj, chain=1, prio=1, handle=1, global() variable 838 ret, _ = sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, global() variable 861 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True, global() variable 868 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True, global() variable 892 ret, _ = sim.set_ethtool_tc_offloads(False, fail=False) global() variable 901 ret, _ = sim.set_ethtool_tc_offloads(False, fail=False) global() variable 933 ret, _ = sim.set_xdp(obj, "drv", fail=False) global() variable 938 ret, _ = sim.set_xdp(obj, "drv", force=True, fail=False) global() variable 949 ret, _, err = sim.set_xdp(obj, "generic", force=True, global() variable 957 ret, _ = sim.set_mtu(9000, fail=False) global() variable 963 ret, _, err = sim.set_xdp(obj, "drv", fail=False, include_stderr=True) global() variable 972 ret, _, err = sim.set_xdp(nooffload, "offload", global() variable 982 ret, _, err = sim.set_xdp(offload, "drv", fail=False, include_stderr=True) global() variable 992 ret, _, err = sim.set_xdp(devbound, "generic", fail=False, include_stderr=True) global() variable 1000 ret, _, err = bpftool_prog_load("sample_ret0.bpf.o", "/sys/fs/bpf/offload", global() variable 1008 _, _, err = sim.set_xdp(obj, "offload", verbose=True, include_stderr=True) global() variable 1040 ret, _, err = sim.set_xdp(pinned, "offload", global() variable 1045 ret, _, err = sim.set_xdp(pinned, "offload", global() variable 1059 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, global() variable 1067 ret, _, err = sim.set_xdp(obj, "offload", fail=False, include_stderr=True) global() variable 1087 ret, _ = sim.cls_bpf_add_filter(pinned, da=True, skip_sw=True, fail=False) global() variable 1092 ret, _, err = sim.cls_bpf_add_filter(obj, da=True, skip_sw=True, global() variable 1111 ret, _ = cmd_result(tc_proc, fail=False) global() variable 1145 prog_file, _ = pin_prog("/sys/fs/bpf/tmp_prog") global() variable 1146 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) global() variable 1170 ret, _ = bpftool("map update id %d key %s value %s" % global() variable 1201 _, entries = bpftool("map dump id %d" % (m["id"])) global() variable 1210 _, entry = bpftool("map getnext id %d" % (m["id"])) global() variable 1213 _, entry = bpftool("map getnext id %d key %s" % global() variable 1250 ret, _ = sim.set_xdp(map_obj, "offload", JSON=False, fail=False) global() variable 1276 ret, _ = simA.set_xdp(progB, "offload", force=True, JSON=False, fail=False) global() variable 1279 ret, _ = d.set_xdp(progA, "offload", force=True, JSON=False, fail=False) global() variable 1286 ret, _, err = simA.set_xdp(progB, "offload", force=True, JSON=False, global() variable 1291 ret, _, err = d.set_xdp(progA, "offload", force=True, JSON=False, global() variable 1301 ret, _ = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimB_", global() variable 1308 ret, _, err = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimA_", global() variable 1316 ret, _, err = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimB_", global() variable [all...] |
| /linux/rust/quote/ |
| H A D | lib.rs | 643 let _: $crate::__private::Span = $crate::__private::get_span($span).__into_span(); localVariable 658 let _: $crate::__private::Span = $crate::__private::get_span($span).__into_span(); localVariable 895 let _: $crate::__private::HasIterator = has_iter; localVariable 918 let _: $crate::__private::HasIterator = has_iter; localVariable 965 let _: $crate::__private::HasIterator = has_iter; localVariable 979 let _: $crate::__private::HasIterator = has_iter; localVariable
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| /linux/rust/kernel/ |
| H A D | kunit.rs | 16 pub fn err(args: fmt::Arguments<'_>) { in err() argument 19 let _ = args; in err() localVariable 36 pub fn info(args: fmt::Arguments<'_>) { in info() argument 39 let _ = args; in info() localVariable 246 const _: () = { constant
|
| H A D | device.rs | 379 pub fn pr_info(&self, args: fmt::Arguments<'_>) { in pr_emerg() argument 389 pub fn pr_dbg(&self, args: fmt::Arguments<'_>) { in pr_alert() argument 399 pr_crit(&self, args: fmt::Arguments<'_>) pr_crit() argument 409 pr_err(&self, args: fmt::Arguments<'_>) pr_err() argument 419 pr_warn(&self, args: fmt::Arguments<'_>) pr_warn() argument 429 pr_notice(&self, args: fmt::Arguments<'_>) pr_notice() argument 439 pr_info(&self, args: fmt::Arguments<'_>) pr_info() argument 449 pr_dbg(&self, args: fmt::Arguments<'_>) pr_dbg() argument 463 printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) printk() argument
|
| H A D | platform.rs | 241 let _ = (dev, this); unbind() localVariable 306 io_request_by_index(&self, index: u32) -> Option<IoRequest<'_>> io_request_by_index() argument 314 io_request_by_name(&self, name: &CStr) -> Option<IoRequest<'_>> io_request_by_name() argument 388 irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> irq_by_index() argument 402 optional_irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> optional_irq_by_index() argument 415 irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> irq_by_name() argument 429 optional_irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> optional_irq_by_name() argument [all...] |
| H A D | xarray.rs | 122 try_lock(&self) -> Option<Guard<'_, T>> try_lock() argument 135 lock(&self) -> Guard<'_, T> lock() argument 192 get(&self, index: usize) -> Option<T::Borrowed<'_>> get() argument 200 get_mut(&mut self, index: usize) -> Option<T::BorrowedMut<'_>> get_mut() argument
|
| H A D | jump_label.rs | 40 const _: &str = include!(concat!( constant
|
| H A D | mm.rs | 176 pub fn lock_vma_under_rcu(&self, vma_addr: usize) -> Option<VmaReadGuard<'_>> { in lock_vma_under_rcu() 194 let _ = vma_addr; in lock_vma_under_rcu() localVariable 201 pub fn mmap_read_lock(&self) -> MmapReadGuard<'_> { in mmap_read_lock() 214 pub fn mmap_read_trylock(&self) -> Option<MmapReadGuard<'_>> { in mmap_read_trylock()
|
| H A D | print.rs | 28 let _ = w.write_fmt(unsafe { *ptr.cast::<fmt::Arguments<'_>>() }); rust_fmt_argument() localVariable 103 call_printk( format_string: &[u8; format_strings::LENGTH], module_name: &[u8], args: fmt::Arguments<'_>, ) global() argument 124 call_printk_cont(args: fmt::Arguments<'_>) call_printk_cont() argument
|
| H A D | rbtree.rs | 201 pub fn iter(&self) -> Iter<'_, K, V> { in iter() argument 216 pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { in iter_mut() argument 246 pub fn cursor_front_mut(&mut self) -> Option<CursorMut<'_, K, V>> { in cursor_front_mut() argument 261 pub fn cursor_front(&self) -> Option<Cursor<'_, argument 276 cursor_back_mut(&mut self) -> Option<CursorMut<'_, K, V>> cursor_back_mut() argument 291 cursor_back(&self) -> Option<Cursor<'_, K, V>> cursor_back() argument 341 raw_entry(&mut self, key: &K) -> RawEntry<'_, K, V> raw_entry() argument 395 entry(&mut self, key: K) -> Entry<'_, K, V> entry() argument 403 find_mut(&mut self, key: &K) -> Option<OccupiedEntry<'_, K, V>> find_mut() argument 454 cursor_lower_bound_mut(&mut self, key: &K) -> Option<CursorMut<'_, K, V>> where K: Ord, cursor_lower_bound_mut() argument 475 cursor_lower_bound(&self, key: &K) -> Option<Cursor<'_, K, V>> where K: Ord, cursor_lower_bound() argument [all...] |
| H A D | list.rs | 722 cursor_front(&mut self) -> Cursor<'_, T, ID> cursor_front() argument 731 cursor_back(&mut self) -> Cursor<'_, T, ID> cursor_back() argument 740 iter(&self) -> Iter<'_, T, ID> iter() argument 979 peek_next(&mut self) -> Option<CursorPeek<'_, 'a, T, true, ID>> peek_next() argument 994 peek_prev(&mut self) -> Option<CursorPeek<'_, 'a, T, false, ID>> peek_prev() argument 1126 arc(&self) -> ArcBorrow<'_, T> arc() argument
|
| H A D | maple_tree.rs | 238 pub fn lock(&self) -> MapleGuard<'_, T> { in lock() 323 pub fn ma_state(&mut self, first: usize, end: usize) -> MaState<'_, T> { in ma_state() 376 pub fn load(&mut self, index: usize) -> Option<T::BorrowedMut<'_>> { in load() 571 pub fn find(&mut self, max: usize) -> Option<T::BorrowedMut<'_>> { in find()
|
| /linux/drivers/android/binder/ |
| H A D | process.rs | 234 let _ = self.push_work(node); in update_node_refcount() localVariable 601 let _ = all_threads.push(thread.clone(), GFP_ATOMIC); in debug_print() localVariable 606 let _ = all_nodes.push(node.clone(), GFP_ATOMIC); in debug_print() localVariable 682 fn get_current_thread(self: ArcBorrow<'_, Self>) -> Result<Arc<Thread>> { in get_current_thread() 729 self: ArcBorrow<'_, Self>, in set_as_manager() 756 self: ArcBorrow<'_, Self>, in get_node_inner() 791 self: ArcBorrow<'_, Self>, in get_node() 814 self: ArcBorrow<'_, Process>, in insert_or_update_handle() 928 self: ArcBorrow<'_, Process>, in update_ref() 938 let _ = self.insert_or_update_handle(node_ref, true); in update_ref() localVariable [all …]
|
| H A D | freeze.rs | 88 writer: &mut BinderReturnWriter<'_>, in do_work() 231 let _ = self.push_work(msg); in request_freeze_notif() localVariable 266 let _ = self.push_work(clear_msg); in freeze_notif_done() localVariable 305 let _ = self.push_work(msg); in clear_freeze_notif() localVariable 395 let _ = proc.push_work(msg); in send_messages() localVariable
|
| /linux/rust/kernel/sync/ |
| H A D | condvar.rs | 117 guard: &mut Guard<'_, T, B>, in wait_internal() 145 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() 156 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() 170 guard: &mut Guard<'_, T, B>, in wait_interruptible_freezable() 188 guard: &mut Guard<'_, T, B>, in wait_interruptible_timeout()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-tid0.c | 35 static void *f(void *_) in f() 40 static void sigalrm(int _) in sigalrm()
|
| /linux/arch/x86/include/asm/ |
| H A D | special_insns.h | 232 const struct { char _[64]; } *__src = src; in movdir64b() member 233 struct { char _[64]; } *__dst = dst; in movdir64b() member 277 const struct { char _[64]; } *__src = src; in enqcmds() member 278 struct { char _[64]; } __iomem *__dst = dst; in enqcmds() member
|
| /linux/samples/rust/ |
| H A D | rust_debugfs.rs | 127 build_counter(dir: &Dir) -> impl PinInit<File<Atomic<usize>>> + '_ build_counter() argument 131 build_inner(dir: &Dir) -> impl PinInit<File<Mutex<Inner>>> + '_ build_inner() argument 135 new(pdev: &platform::Device<Core>) -> impl PinInit<Self, Error> + '_ new() argument
|
| /linux/rust/proc-macro2/probe/ |
| H A D | proc_macro_span.rs | 53 const _: Option<&str> = option_env!("RUSTC_BOOTSTRAP"); constant
|
| /linux/rust/syn/ |
| H A D | parse.rs | 383 let _ = proof; in advance_step_cursor() localVariable 584 let _ = token; in peek() localVariable 627 let _ = token; in peek2() localVariable 641 let _ = token; in peek3() localVariable 745 let _ = separator; in parse_terminated() localVariable 1276 let _ = scope; in __parse_scoped() localVariable 1381 let _ = tokens; in to_tokens() localVariable
|
| /linux/rust/pin-init/examples/ |
| H A D | mutex.rs | 34 acquire(&self) -> SpinLockGuard<'_> acquire() argument 92 lock(&self) -> Pin<CMutexGuard<'_, T>> lock() argument 174 insert_new(list: &ListHead) -> impl PinInit<Self> + '_ insert_new() argument
|
| H A D | linked_list.rs | 44 insert_next(list: &ListHead) -> impl PinInit<Self, Infallible> + '_ insert_next() argument 53 insert_prev(list: &ListHead) -> impl PinInit<Self, Infallible> + '_ insert_prev() argument
|
| /linux/tools/testing/selftests/x86/ |
| H A D | nx_stack.c | 112 static void sigsegv(int _, siginfo_t *__, void *uc_) in sigsegv() 153 static void sigtrap(int _, siginfo_t *__, void *uc_) in sigtrap()
|
| /linux/tools/lib/bpf/ |
| H A D | bpf_core_read.h | 368 #define ___nolast2(a, _) a argument 369 #define ___nolast3(a, b, _) a, b argument 370 #define ___nolast4(a, b, c, _) a, b, c argument 371 #define ___nolast5(a, b, c, d, _) a, b, c, d argument 372 #define ___nolast6(a, b, c, d, e, _) a, b, c, d, e argument 373 #define ___nolast7(a, b, c, d, e, f, _) a, b, c, d, e, f argument 374 #define ___nolast8(a, b, c, d, e, f, g, _) a, b, c, d, e, f, g argument 375 #define ___nolast9(a, b, c, d, e, f, g, h, _) argument 376 ___nolast10(a,b,c,d,e,f,g,h,i,_) global() argument [all...] |