Home
last modified time | relevance | path

Searched defs:_ (Results 1 – 25 of 120) sorted by relevance

12345

/linux/rust/zerocopy/src/
H A Dimpls.rs31 const _: () = unsafe { constant
67 const _: () = unsafe { constant
101 const _: () = unsafe { unsafe_impl!(bool: Immutable, FromZeros, IntoBytes, Unaligned) }; constant
112 const _: () = unsafe { constant
131 const _: () = unsafe { unsafe_impl!(char: Immutable, FromZeros, IntoBytes) }; constant
141 const _: () = unsafe { constant
165 const _: () = unsafe { unsafe_impl!(str: Immutable, FromZeros, IntoBytes, Unaligned) }; constant
174 const _: () = unsafe { constant
226 const _: () = unsafe { constant
281 const _ constant
303 const _: () = unsafe { global() constant
332 const _: () = unsafe { global() constant
381 const _: () = unsafe { global() constant
487 const _: () = unsafe { global() constant
511 const _: () = unsafe { global() constant
542 const _: () = unsafe { global() constant
569 const _: () = unsafe { global() constant
596 const _: () = unsafe { global() constant
629 const _: () = unsafe { global() constant
638 const _: () = unsafe { unsafe_impl_transmute_from_for_atomic!(T => AtomicPtr<T> [*mut T]) }; global() constant
653 const _: () = unsafe { global() constant
679 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for Wrapping<T>) }; global() constant
683 const _: () = unsafe { unsafe_impl!(T: Unaligned => Unaligned for Wrapping<T>) }; global() constant
688 const _: () = unsafe { global() constant
711 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for CoreMaybeUninit<T>) }; global() constant
715 const _: () = unsafe { unsafe_impl!(T: Unaligned => Unaligned for CoreMaybeUninit<T>) }; global() constant
735 const _: () = unsafe { unsafe_impl!(T: ?Sized + Immutable => Immutable for ManuallyDrop<T>) }; global() constant
748 const _: () = unsafe { unsafe_impl!(T: ?Sized + Unaligned => Unaligned for ManuallyDrop<T>) }; global() constant
751 const _: () = { global() constant
813 project(slf: PtrInner<'_, Self>) -> *mut T project() argument
837 const _: () = unsafe { unsafe_impl!(T: ?Sized + Unaligned => Unaligned for Cell<T>) }; global() constant
849 const _: () = unsafe { unsafe_impl!(T: ?Sized + Unaligned => Unaligned for UnsafeCell<T>) }; global() constant
862 is_bit_valid<A>(candidate: Maybe<'_, Self, A>) -> bool where A: invariant::Alignment, is_bit_valid() argument
892 const _: () = unsafe { global() constant
965 const _: () = unsafe { global() constant
976 const _: () = unsafe { unsafe_impl!(T: ?Sized => Immutable for NonNull<T>) }; global() constant
980 const _: () = unsafe { global() constant
990 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for Option<T>) }; global() constant
1192 const _: () = unsafe { global() constant
1314 const _: () = unsafe { global() constant
1322 const _: () = { global() constant
1883 const _: () = { static_assertions::assert_impl_all!($ty: TryFromBytes); }; test_impls() constant
1887 const _: () = { static_assertions::assert_impl_all!($ty: $trait); }; test_impls() constant
1891 const _: () = { static_assertions::assert_not_impl_any!($ty: $trait); }; test_impls() constant
[all...]
H A Dwrappers.rs149 const _: () = unsafe { constant
660 const _: () = unsafe { global() constant
672 const _: () = unsafe { global() constant
685 const _: () = unsafe { global() constant
689 const _: () = { global() constant
812 project(slf: PtrInner<'_, Self>) -> *mut ReadOnly<T::Type> project() argument
901 const _: () = { test_unalign() constant
[all...]
H A Dmacros.rs89 let _ = src; localVariable
135 let _ = e; localVariable
173 let _ = src; localVariable
363 let _ = AssertSrcIsIntoBytes(e); localVariable
364 let _ = AssertSrcIsImmutable(e); localVariable
1296 let _: () = transmute!(PanicOnDrop(())); test_transmute() localVariable
1298 let _: () = transmute!(#![allow(shrink)] PanicOnDrop(())); test_transmute() localVariable
1657 let _: usize = transmute!({ test_macros_evaluate_args_once() localVariable
1664 let _: &usize = transmute_ref!({ test_macros_evaluate_args_once() localVariable
1671 let _: &mut usize = transmute_mut!({ test_macros_evaluate_args_once() localVariable
1679 let _: usize = try_transmute!({ test_macros_evaluate_args_once() localVariable
[all...]
/linux/rust/zerocopy/src/pointer/
H A Dtransmute.rs389 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T: ?Sized => ManuallyDrop<T>) }; global() constant
395 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T => Unalign<T>) }; global() constant
403 const _: () = unsafe { unsafe_impl_invariants_eq!(T => T, Unalign<T>) }; global() constant
428 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T => Wrapping<T>) }; global() constant
436 const _: () = unsafe { unsafe_impl_invariants_eq!(T => T, Wrapping<T>) }; global() constant
450 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T: ?Sized => UnsafeCell<T>) }; global() constant
472 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T: ?Sized => Cell<T>) }; global() constant
497 let _: *mut Dst = test_size_eq() localVariable
[all...]
H A Dmod.rs35 pub(crate) fn is_zeroed<T, I>(ptr: Ptr<'_, T, I>) -> bool in is_zeroed() argument
73 project(src: PtrInner<'_, Src>) -> *mut Dst project() argument
102 project(src: PtrInner<'_, T>) -> *mut T project() argument
130 project(src: PtrInner<'_, Src>) -> *mut Dst project() argument
157 project(src: PtrInner<'_, Src>) -> *mut Dst project() argument
196 project(src: PtrInner<'_, Src>) -> *mut Dst project() argument
257 project(src: PtrInner<'_, T>) -> *mut T::Type project() argument
330 project(t: PtrInner<'_, T>) -> *mut V project() argument
374 project(src: PtrInner<'_, T>) -> *mut [u8] project() argument
403 project(src: PtrInner<'_, T>) -> *mut () project() argument
[all...]
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py711 _, 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 Dlib.rs643 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/kernel/
H A Dplatform.rs231 dev: &'bound Device<device::Core<'_>>, in probe()
245 fn unbind<'bound>(dev: &'bound Device<device::Core<'_>>, this: Pin<&Self::Data<'bound>>) { in unbind()
246 let _ = (dev, this); in unbind() localVariable
312 pub fn io_request_by_index(&self, index: u32) -> Option<IoRequest<'_>> { in io_request_by_index()
320 pub fn io_request_by_name(&self, name: &CStr) -> Option<IoRequest<'_>> { in io_request_by_name()
410 pub fn irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> { in irq_by_index()
424 pub fn optional_irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> { in optional_irq_by_index()
437 pub fn irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> { in irq_by_name()
451 pub fn optional_irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> { in optional_irq_by_name()
H A Dkunit.rs16 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 _: () = { global() constant
H A Ddevice.rs306 pub fn pr_emerg(&self, args: fmt::Arguments<'_>) { in pr_emerg()
316 pub fn pr_alert(&self, args: fmt::Arguments<'_>) { in pr_alert()
326 pub fn pr_crit(&self, args: fmt::Arguments<'_>) { in pr_crit()
336 pub fn pr_err(&self, args: fmt::Arguments<'_>) { in pr_err()
346 pub fn pr_warn(&self, args: fmt::Arguments<'_>) { in pr_warn()
356 pub fn pr_notice(&self, args: fmt::Arguments<'_>) { in pr_notice()
366 pub fn pr_info(&self, args: fmt::Arguments<'_>) { in pr_info()
376 pub fn pr_dbg(&self, args: fmt::Arguments<'_>) { in pr_dbg()
390 unsafe fn printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) { in printk()
H A Dxarray.rs122 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 Djump_label.rs40 const _: &str = include!(concat!( constant
H A Dmm.rs201 pub fn vma_start_read_unlocked(&self, vma_addr: usize) -> Option<VmaReadGuard<'_>> { in mmap_read_lock() argument
176 lock_vma_under_rcu(&self, vma_addr: usize) -> Option<VmaReadGuard<'_>> lock_vma_under_rcu() argument
194 let _ = vma_addr; lock_vma_under_rcu() localVariable
214 mmap_read_trylock(&self) -> Option<MmapReadGuard<'_>> mmap_read_trylock() argument
H A Dprint.rs28 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 Dio.rs288 copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) copy_from_io() argument
296 copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) copy_to_io() argument
300 copy_read<T: FromBytes>(view: Self::View<'_, T>) -> T copy_read() argument
324 copy_write<T: IntoBytes>(view: Self::View<'_, T>, value: T) copy_write() argument
1222 copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) copy_from_io() argument
1232 copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) copy_to_io() argument
1387 copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) copy_from_io() argument
1396 copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) copy_to_io() argument
1405 copy_read<T: FromBytes>(view: Self::View<'_, T>) -> T copy_read() argument
1416 copy_write<T: IntoBytes>(view: Self::View<'_, T>, value: T) copy_write() argument
1561 io_read(view: Self::View<'_, T>) -> T io_read() argument
1579 copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) copy_from_io() argument
1589 copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) copy_to_io() argument
1599 copy_read<T: FromBytes>(view: Self::View<'_, T>) -> T copy_read() argument
1607 copy_write<T: IntoBytes>(view: Self::View<'_, T>, value: T) copy_write() argument
[all...]
H A Drbtree.rs201 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...]
/linux/rust/pin-init/src/
H A Dmacros.rs
/linux/rust/zerocopy/src/util/
H A Dmacros.rs180 const _: () = { global() constant
435 const _: () = { global() constant
597 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e))); global() localVariable
608 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e), ": ", stringify!($arg)), $($args)*); global() localVariable
627 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e) $(, ": ", $msg)?)); global() localVariable
807 const _: () = { global() constant
[all...]
/linux/rust/kernel/sync/
H A Dcondvar.rs117 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/drivers/android/binder/
H A Dnode.rs336 add_death( &self, death: ListArc<DTRWrap<NodeDeath>, 1>, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, ) add_death() argument
495 populate_counts( &self, out: &mut BinderNodeInfoForRef, guard: &Guard<'_, ProcessInner, SpinLockBackend>, ) populate_counts() argument
505 populate_debug_info( &self, out: &mut BinderNodeDebugInfo, guard: &Guard<'_, ProcessInner, SpinLockBackend>, ) populate_debug_info() argument
518 force_has_count(&self, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>) force_has_count() argument
524 write(&self, writer: &mut BinderReturnWriter<'_>, code: u32) -> Result write() argument
534 submit_oneway( &self, transaction: DLArc<Transaction>, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, ) -> Result<(), (BinderError, DLArc<dyn DeliverToRead>)> submit_oneway() argument
596 take_outdated_transaction( &self, new: &Transaction, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, ) -> Option<DLArc<Transaction>> take_outdated_transaction() argument
613 do_work_locked( &self, writer: &mut BinderReturnWriter<'_>, mut guard: Guard<'_, ProcessInner, SpinLockBackend>, ) -> Result<bool> do_work_locked() argument
614 do_work_locked( &self, writer: &mut BinderReturnWriter<'_>, mut guard: Guard<'_, ProcessInner, SpinLockBackend>, ) -> Result<bool> do_work_locked() argument
718 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
1043 let _ = thread.push_work_if_looper(death); set_notification_done() localVariable
1064 let _ = process.push_work(death); set_dead() localVariable
1105 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
[all...]
/linux/tools/testing/selftests/proc/
H A Dproc-tid0.c35 static void *f(void *_) in f()
40 static void sigalrm(int _) in sigalrm()
/linux/arch/x86/include/asm/
H A Dspecial_insns.h219 const struct { char _[64]; } *__src = src; in movdir64b() member
220 struct { char _[64]; } *__dst = dst; in movdir64b() member
264 const struct { char _[64]; } *__src = src; in enqcmds() member
265 struct { char _[64]; } __iomem *__dst = dst; in enqcmds() member
/linux/samples/rust/
H A Drust_debugfs.rs127 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 Dproc_macro_span.rs53 const _: Option<&str> = option_env!("RUSTC_BOOTSTRAP"); global() constant
/linux/rust/pin-init/examples/
H A Dmutex.rs34 acquire(&self) -> SpinLockGuard<'_> acquire() argument
92 lock(&self) -> Pin<CMutexGuard<'_, T>> lock() argument
174 insert_new(list: &ListHead) -> impl PinInit<Self> + '_ insert_new() argument

12345