Home
last modified time | relevance | path

Searched defs:_ (Results 1 – 25 of 111) 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 _: () = unsafe { constant
[all …]
H A Dwrappers.rs149 const _: () = unsafe { constant
660 const _: () = unsafe { constant
672 const _: () = unsafe { constant
685 const _: () = unsafe { constant
689 const _: () = { constant
812 fn project(slf: PtrInner<'_, Self>) -> *mut ReadOnly<T::Type> { in project()
901 const _: () = { in test_unalign() constant
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(())); in test_transmute() localVariable
1298 let _: () = transmute!(#![allow(shrink)] PanicOnDrop(())); in test_transmute() localVariable
1657 let _: usize = transmute!({ in test_macros_evaluate_args_once() localVariable
1664 let _: &usize = transmute_ref!({ in test_macros_evaluate_args_once() localVariable
1671 let _: &mut usize = transmute_mut!({ in 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>) }; constant
395 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T => Unalign<T>) }; constant
403 const _: () = unsafe { unsafe_impl_invariants_eq!(T => T, Unalign<T>) }; constant
428 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T => Wrapping<T>) }; constant
436 const _: () = unsafe { unsafe_impl_invariants_eq!(T => T, Wrapping<T>) }; constant
450 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T: ?Sized => UnsafeCell<T>) }; constant
472 const _: () = unsafe { unsafe_impl_for_transparent_wrapper!(pub T: ?Sized => Cell<T>) }; constant
497 let _: *mut Dst = in test_size_eq() localVariable
H A Dmod.rs35 pub(crate) fn is_zeroed<T, I>(ptr: Ptr<'_, T, I>) -> bool in is_zeroed()
73 fn project(src: PtrInner<'_, Src>) -> *mut Dst; in project()
102 fn project(src: PtrInner<'_, T>) -> *mut T { in project()
130 fn project(src: PtrInner<'_, Src>) -> *mut Dst { in project()
157 fn project(src: PtrInner<'_, Src>) -> *mut Dst { in project()
196 fn project(src: PtrInner<'_, Src>) -> *mut Dst { in project()
257 fn project(src: PtrInner<'_, T>) -> *mut T::Type { in project()
330 fn project(t: PtrInner<'_, T>) -> *mut V { in project()
374 fn project(src: PtrInner<'_, T>) -> *mut [u8] { in project()
403 fn project(src: PtrInner<'_, T>) -> *mut () { in project()
/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 _: () = { 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.rs176 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 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 unsafe fn copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8); in copy_from_io()
296 unsafe fn copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8); in copy_to_io()
300 fn copy_read<T: FromBytes>(view: Self::View<'_, T>) -> T { in copy_read()
324 fn copy_write<T: IntoBytes>(view: Self::View<'_, T>, value: T) { in copy_write()
1222 unsafe fn copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) { in copy_from_io()
1232 unsafe fn copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) { in copy_to_io()
1387 unsafe fn copy_from_io(view: Self::View<'_, [u8]>, buffer: *mut u8) { in copy_from_io()
1396 unsafe fn copy_to_io(view: Self::View<'_, [u8]>, buffer: *const u8) { in copy_to_io()
1405 fn copy_read<T: FromBytes>(view: Self::View<'_, T>) -> T { in copy_read()
1416 fn copy_write<T: IntoBytes>(view: Self::View<'_, T>, value: T) { in copy_write()
[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 _: () = { constant
435 const _: () = { constant
597 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e))); localVariable
608 …let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e), ": ", stringify!… localVariable
627 …let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e) $(, ": ", $msg)?)… localVariable
807 const _: () = { constant
/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/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.h232 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 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"); 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
/linux/rust/syn/
H A Dparse.rs383 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

12345