| /linux/rust/kernel/ |
| H A D | debugfs.rs | 171 T argument 74 create_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, file_ops: &'static FileOps<T>, ) -> impl PinInit<File<T>, E> + 'a where T: Sync + 'static, create_file() argument 77 create_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, file_ops: &'static FileOps<T>, ) -> impl PinInit<File<T>, E> + 'a where T: Sync + 'static, create_file() argument 78 create_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, file_ops: &'static FileOps<T>, ) -> impl PinInit<File<T>, E> + 'a where T: Sync + 'static, create_file() argument 79 create_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, file_ops: &'static FileOps<T>, ) -> impl PinInit<File<T>, E> + 'a where T: Sync + 'static, create_file() argument 144 read_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Send + Sync + 'static, read_only_file() argument 147 read_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Send + Sync + 'static, read_only_file() argument 148 read_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Send + Sync + 'static, read_only_file() argument 174 read_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + Send + Sync + 'static, read_binary_file() argument 175 read_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + Send + Sync + 'static, read_binary_file() argument 208 read_callback_file<'a, T, E: 'a, F>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 211 read_callback_file<'a, T, E: 'a, F>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 213 read_callback_file<'a, T, E: 'a, F>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 216 read_callback_file<'a, T, E: 'a, F>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 226 read_write_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Reader + Send + Sync + 'static, read_write_file() argument 229 read_write_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Reader + Send + Sync + 'static, read_write_file() argument 230 read_write_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Reader + Send + Sync + 'static, read_write_file() argument 242 read_write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + BinaryReader + Send + Sync + 'static, read_write_binary_file() argument 245 read_write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + BinaryReader + Send + Sync + 'static, read_write_binary_file() argument 246 read_write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + BinaryReader + Send + Sync + 'static, read_write_binary_file() argument 260 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 263 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 266 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 269 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 270 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 285 write_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Reader + Send + Sync + 'static, write_only_file() argument 288 write_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Reader + Send + Sync + 'static, write_only_file() argument 289 write_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Reader + Send + Sync + 'static, write_only_file() argument 302 write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryReader + Send + Sync + 'static, write_binary_file() argument 305 write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryReader + Send + Sync + 'static, write_binary_file() argument 306 write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryReader + Send + Sync + 'static, write_binary_file() argument 317 write_callback_file<'a, T, E: 'a, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_callback_file() argument 320 write_callback_file<'a, T, E: 'a, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_callback_file() argument 322 write_callback_file<'a, T, E: 'a, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_callback_file() argument 325 write_callback_file<'a, T, E: 'a, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_callback_file() argument 364 scope<'a, T: 'a, E: 'a, F>( &'a self, data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Scope<T>, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, scope() argument 367 scope<'a, T: 'a, E: 'a, F>( &'a self, data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Scope<T>, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, scope() argument 369 scope<'a, T: 'a, E: 'a, F>( &'a self, data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Scope<T>, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, scope() argument 411 new<E: 'b, F>(data: impl PinInit<T, E> + 'b, init: F) -> impl PinInit<Self, E> + 'b where F: for<'a> FnOnce(&'a T) + 'b, new() argument 435 new<E: 'b, F>(data: impl PinInit<T, E> + 'b, init: F) -> impl PinInit<Self, E> + 'b where F: for<'a> FnOnce(&'a T) -> Entry<'static> + 'b, new() argument 463 dir<E: 'a, F>( data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Self, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, dir() argument 468 dir<E: 'a, F>( data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Self, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, dir() argument 480 deref(&self) -> &T deref() argument 487 deref(&self) -> &T deref() argument 517 create_file<T: Sync>(&self, name: &CStr, data: &'data T, vtable: &'static FileOps<T>) create_file() argument 529 read_only_file<T: Writer + Send + Sync + 'static>(&self, name: &CStr, data: &'data T) read_only_file() argument 542 read_binary_file<T: BinaryWriter + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_binary_file() argument 558 read_callback_file<T, F>(&self, name: &CStr, data: &'data T, _f: &'static F) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 561 read_callback_file<T, F>(&self, name: &CStr, data: &'data T, _f: &'static F) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument 578 read_write_file<T: Writer + Reader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_write_file() argument 594 read_write_binary_file<T: BinaryWriter + BinaryReader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_write_binary_file() argument 610 read_write_callback_file<T, F, W>( &self, name: &CStr, data: &'data T, _f: &'static F, _w: &'static W, ) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 613 read_write_callback_file<T, F, W>( &self, name: &CStr, data: &'data T, _f: &'static F, _w: &'static W, ) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 618 read_write_callback_file<T, F, W>( &self, name: &CStr, data: &'data T, _f: &'static F, _w: &'static W, ) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 619 read_write_callback_file<T, F, W>( &self, name: &CStr, data: &'data T, _f: &'static F, _w: &'static W, ) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument 634 write_only_file<T: Reader + Send + Sync + 'static>(&self, name: &CStr, data: &'data T) write_only_file() argument 648 write_binary_file<T: BinaryReader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) write_binary_file() argument 663 write_only_callback_file<T, W>(&self, name: &CStr, data: &'data T, _w: &'static W) where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_only_callback_file() argument 666 write_only_callback_file<T, W>(&self, name: &CStr, data: &'data T, _w: &'static W) where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_only_callback_file() argument [all...] |
| H A D | list.rs | 460 raw_get_self_ptr(me: *const Self) -> *const Opaque<*const T> raw_get_self_ptr() argument 491 insert_inner( &mut self, item: ListArc<T, ID>, next: *mut ListLinksFields, ) -> *mut ListLinksFields insert_inner() argument 534 push_back(&mut self, item: ListArc<T, ID>) push_back() argument 542 push_front(&mut self, item: ListArc<T, ID>) push_front() argument 553 pop_back(&mut self) -> Option<ListArc<T, ID>> pop_back() argument 565 pop_front(&mut self) -> Option<ListArc<T, ID>> pop_front() argument 585 remove(&mut self, item: &T) -> Option<ListArc<T, ID>> remove() argument 626 remove_internal(&mut self, item: *mut ListLinksFields) -> ListArc<T, ID> remove_internal() argument 645 remove_internal_inner( &mut self, item: *mut ListLinksFields, next: *mut ListLinksFields, prev: *mut ListLinksFields, ) -> ListArc<T, ID> remove_internal_inner() argument 693 push_all_back(&mut self, other: &mut List<T, ID>) push_all_back() argument 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 782 next(&mut self) -> Option<ArcBorrow<'a, T>> next() 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 1047 insert_inner(&mut self, item: ListArc<T, ID>) -> *mut ListLinksFields insert_inner() argument 1065 insert(mut self, item: ListArc<T, ID>) insert() argument 1076 insert_next(&mut self, item: ListArc<T, ID>) insert_next() argument 1083 insert_prev(&mut self, item: ListArc<T, ID>) insert_prev() argument 1088 remove_next(&mut self) -> Option<ListArc<T, ID>> remove_next() argument 1093 remove_prev(&mut self) -> Option<ListArc<T, ID>> remove_prev() argument 1113 remove(self) -> ListArc<T, ID> remove() argument 1126 arc(&self) -> ArcBorrow<'_, T> arc() argument 1153 deref(&self) -> &T deref() argument 1173 into_iter(self) -> Iter<'a, T, ID> into_iter() argument 1186 next(&mut self) -> Option<ListArc<T, ID>> next() argument 1194 next_back(&mut self) -> Option<ListArc<T, ID>> next_back() argument 1203 into_iter(self) -> IntoIter<T, ID> into_iter() argument [all...] |
| H A D | devres.rs | 144 new<'a, E>( dev: &'a Device<Bound>, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<Self, Error> + 'a where T: 'a, Error: From<E>, new() argument 185 inner(&self) -> &Inner<T> inner() argument 191 data(&self) -> &Revocable<T> data() argument 259 access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> access() argument 271 try_access(&self) -> Option<RevocableGuard<'_, T>> try_access() argument 281 try_access_with_guard<'a>(&'a self, guard: &'a rcu::Guard) -> Option<&'a T> try_access_with_guard() argument 371 register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result where T: Send + 'static, Error: From<E>, register() argument [all...] |
| H A D | slice.rs | |
| H A D | init.rs | 146 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() argument 154 fn pin_init<E>(init: impl PinInit<T, argument 166 try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> where E: From<AllocError> try_init() argument 171 init<E>(init: impl Init<T, E>, flags: Flags) -> error::Result<Self> where Error: From<E>, init() argument [all...] |
| H A D | types.rs | 224 new_with_data(data: T, cleanup_func: F) -> Self new_with_data() argument 230 dismiss(mut self) -> T dismiss() argument 247 deref(&self) -> &T deref() argument 254 deref_mut(&mut self) -> &mut T deref_mut() argument 394 get(&self) -> *mut T get() argument 402 cast_into(this: *const Self) -> *mut T cast_into() argument 414 pin_init<E>(slot: impl PinInit<T, E>) -> impl PinInit<Self, E> pin_init() argument [all...] |
| H A D | maple_tree.rs | 50 fn deref(&self) -> &MapleTree<T> { in deref() 121 pub fn insert(&self, index: usize, value: T, gfp: Flags) -> Result<(), InsertError<T>> { in insert() 169 pub fn insert_range<R>(&self, range: R, value: T, gfp: Flags) -> Result<(), InsertError<T>> in insert_range() 227 pub fn erase(&self, index: usize) -> Option<T> { in erase() 238 pub fn lock(&self) -> MapleGuard<'_, T> { in lock() argument 323 pub fn ma_state(&mut self, first: usize, end: usize) -> MaState<'_, T> { in ma_state() argument 443 value: T, in alloc_range() 511 unsafe fn new_raw(mt: &'tree MapleTree<T>, first: usize, end: usize) -> Self { in new_raw()
|
| H A D | revocable.rs | 85 pub fn new<E>(data: impl PinInit<T, E>) -> impl PinInit<Self, E> { in new() 99 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access() argument 118 pub fn try_access_with_guard<'a>(&'a self, _guard: &'a rcu::Guard) -> Option<&'a T> { in try_access_with_guard() 150 pub unsafe fn access(&self) -> &T { in access() 246 fn new(data_ref: *const T, rcu_guard: rcu::Guard) -> Self { in new()
|
| H A D | xarray.rs | 122 try_lock(&self) -> Option<Guard<'_, T>> try_lock() argument 135 lock(&self) -> Guard<'_, T> lock() argument 208 remove(&mut self, index: usize) -> Option<T> remove() argument 230 store( &mut self, index: usize, value: T, gfp: alloc::Flags, ) -> Result<Option<T>, StoreError<T>> store() argument 232 store( &mut self, index: usize, value: T, gfp: alloc::Flags, ) -> Result<Option<T>, StoreError<T>> store() argument [all...] |
| H A D | dma.rs | 403 alloc_attrs( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<CoherentAllocation<T>> alloc_attrs() argument 445 alloc_coherent( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<CoherentAllocation<T>> alloc_coherent() argument 466 as_ptr(&self) -> *const [T] as_ptr() argument 473 as_mut_ptr(&self) -> *mut [T] as_mut_ptr() argument 478 start_ptr(&self) -> *const T start_ptr() argument 484 start_ptr_mut(&mut self) -> *mut T start_ptr_mut() argument 530 as_slice(&self, offset: usize, count: usize) -> Result<&[T]> as_slice() argument 550 as_slice_mut(&mut self, offset: usize, count: usize) -> Result<&mut [T]> as_slice_mut() argument 580 write(&mut self, src: &[T], offset: usize) -> Result write() argument [all...] |
| /linux/rust/pin-init/src/ |
| H A D | lib.rs | 953 pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> where F: FnOnce(Pin<&mut T>) -> Result<(), E>, pin_chain() argument 1061 chain<F>(self, f: F) -> ChainInit<Self, F, T, E> where F: FnOnce(&mut T) -> Result<(), E>, chain() argument 1117 pin_init_from_closure<T: ?Sized, E>( f: impl FnOnce(*mut T) -> Result<(), E>, ) -> impl PinInit<T, E> pin_init_from_closure() argument 1136 init_from_closure<T: ?Sized, E>( f: impl FnOnce(*mut T) -> Result<(), E>, ) -> impl Init<T, E> init_from_closure() argument 1146 cast_pin_init<T, U, E>(init: impl PinInit<T, E>) -> impl PinInit<U, E> cast_pin_init() argument 1162 cast_init<T, U, E>(init: impl Init<T, E>) -> impl Init<U, E> cast_init() argument 1176 uninit<T, E>() -> impl Init<MaybeUninit<T>, E> uninit() argument 1191 init_array_from_fn<I, const N: usize, T, E>( mut make_init: impl FnMut(usize) -> I, ) -> impl Init<[T; N], E> where I: Init<T, E>, init_array_from_fn() argument 1195 init_array_from_fn<I, const N: usize, T, E>( mut make_init: impl FnMut(usize) -> I, ) -> impl Init<[T; N], E> where I: Init<T, E>, global() argument 1234 pin_init_array_from_fn<I, const N: usize, T, E>( mut make_init: impl FnMut(usize) -> I, ) -> impl PinInit<[T; N], E> where I: PinInit<T, E>, pin_init_array_from_fn() argument 1238 pin_init_array_from_fn<I, const N: usize, T, E>( mut make_init: impl FnMut(usize) -> I, ) -> impl PinInit<[T; N], E> where I: PinInit<T, E>, global() argument 1288 pin_init_scope<T, E, F, I>(make_init: F) -> impl PinInit<T, E> where F: FnOnce() -> Result<I, E>, I: PinInit<T, E>, pin_init_scope() argument 1291 pin_init_scope<T, E, F, I>(make_init: F) -> impl PinInit<T, E> where F: FnOnce() -> Result<I, E>, I: PinInit<T, E>, pin_init_scope() argument 1331 init_scope<T, E, F, I>(make_init: F) -> impl Init<T, E> where F: FnOnce() -> Result<I, E>, I: Init<T, E>, init_scope() argument 1334 init_scope<T, E, F, I>(make_init: F) -> impl Init<T, E> where F: FnOnce() -> Result<I, E>, I: Init<T, E>, init_scope() argument 1350 unsafe impl<T> Init<T> for T { global() implementation 1360 unsafe impl<T> PinInit<T> for T { global() implementation 1398 write_init<E>(self, init: impl Init<T, E>) -> Result<Self::Initialized, E> write_init() argument 1403 write_pin_init<E>(self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> write_pin_init() argument 1407 type Initialized = &'static mut T; global() variable 1409 write_init<E>(self, init: impl Init<T, E>) -> Result<Self::Initialized, E> write_init() argument 1419 write_pin_init<E>(self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> write_pin_init() argument 1534 unsafe impl<T> ZeroableOption for &T {} global() implementation 1537 unsafe impl<T> ZeroableOption for &mut T {} global() implementation 1546 init_zeroed<T: Zeroable>() -> impl Init<T> init_zeroed() argument 1577 zeroed<T: Zeroable>() -> T zeroed() argument 1691 pin_init<E>(value_init: impl PinInit<T, E>) -> impl PinInit<Self, E> pin_init() argument 1695 pin_init<E>(value_init: impl PinInit<T, E>) -> impl PinInit<Self, E> pin_init() argument 1702 pin_init<E>(value_init: impl PinInit<T, E>) -> impl PinInit<Self, E> pin_init() argument 1710 pin_init<E>(init: impl PinInit<T, E>) -> impl PinInit<Self, E> pin_init() argument [all...] |
| H A D | alloc.rs | 30 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 50 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 82 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 90 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 100 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 118 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 139 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init() 148 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> { in write_pin_init()
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 203 into_raw(b: Self) -> *mut T into_raw() argument 211 leak<'a>(b: Self) -> &'a mut T leak() argument 230 assume_init(self) -> Box<T, A> assume_init() argument 240 write(mut self, value: T) -> Box<T, A> write() argument 256 new(x: T, flags: Flags) -> Result<Self, AllocError> new() argument 275 new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> new_uninit() argument 287 pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> where A: 'static, pin() argument 340 pin_slice<Func, Item, E>( mut init: Func, len: usize, flags: Flags, ) -> Result<Pin<Box<[T], A>>, E> where Func: FnMut(usize) -> Item, Item: PinInit<T, E>, E: From<AllocError>, pin_slice() argument 343 pin_slice<Func, Item, E>( mut init: Func, len: usize, flags: Flags, ) -> Result<Pin<Box<[T], A>>, E> where Func: FnMut(usize) -> Item, Item: PinInit<T, E>, E: From<AllocError>, pin_slice() argument 378 forget_contents(this: Self) -> Box<MaybeUninit<T>, A> forget_contents() argument 398 drop_contents(this: Self) -> Box<MaybeUninit<T>, A> drop_contents() argument 409 into_inner(b: Self) -> T into_inner() argument 426 from(b: Box<T, A>) -> Self from() argument 439 write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> write_init() argument 448 write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> write_pin_init() argument 465 try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> where E: From<AllocError>, try_pin_init() argument 473 try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> where E: From<AllocError>, try_init() argument 506 borrow<'a>(ptr: *mut c_void) -> &'a T borrow() argument 512 borrow_mut<'a>(ptr: *mut c_void) -> &'a mut T borrow_mut() argument 541 borrow<'a>(ptr: *mut c_void) -> Pin<&'a T> borrow() argument 552 borrow_mut<'a>(ptr: *mut c_void) -> Pin<&'a mut T> borrow_mut() argument 572 deref(&self) -> &T deref() argument 584 deref_mut(&mut self) -> &mut T deref_mut() argument 614 borrow(&self) -> &T borrow() argument 642 borrow_mut(&mut self) -> &mut T borrow_mut() argument [all...] |
| H A D | kvec.rs | 218 unsafe fn dec_len(&mut self, count: usize) -> &mut [T] { in dec_len() 241 pub fn as_slice(&self) -> &[T] { in as_slice() 247 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice() 254 pub fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() 261 pub const fn as_ptr(&self) -> *const T { in as_ptr() 300 pub fn spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>] { in spare_capacity_mut() 325 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push() 348 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity() 363 unsafe fn push_within_capacity_unchecked(&mut self, v: T) { in push_within_capacity_unchecked() 398 element: T, in insert_within_capacity() [all …]
|
| /linux/rust/kernel/sync/ |
| H A D | atomic.rs | 140 from_repr<T: AtomicType>(r: T::Repr) -> T from_repr() argument 228 as_ptr(&self) -> *mut T as_ptr() argument 238 get_mut(&mut self) -> &mut T get_mut() argument 269 load<Ordering: ordering::AcquireOrRelaxed>(&self, _: Ordering) -> T load() argument 299 store<Ordering: ordering::ReleaseOrRelaxed>(&self, v: T, _: Ordering) store() argument 340 xchg<Ordering: ordering::Ordering>(&self, v: T, _: Ordering) -> T xchg() argument 413 cmpxchg<Ordering: ordering::Ordering>( &self, mut old: T, new: T, o: Ordering, ) -> Result<T, T> cmpxchg() argument 414 cmpxchg<Ordering: ordering::Ordering>( &self, mut old: T, new: T, o: Ordering, ) -> Result<T, T> cmpxchg() argument 416 cmpxchg<Ordering: ordering::Ordering>( &self, mut old: T, new: T, o: Ordering, ) -> Result<T, T> cmpxchg() argument 458 try_cmpxchg<Ordering: ordering::Ordering>(&self, old: &mut T, new: T, _: Ordering) -> bool try_cmpxchg() argument [all...] |
| H A D | lock.rs | 132 t: impl PinInit<T>, in new() argument 172 lock(&self) -> Guard<'_, T, B> lock() argument 185 try_lock(&self) -> Option<Guard<'_, T, B>> try_lock() argument 234 lock_ref(&self) -> &'a Lock<T, B> lock_ref() argument 269 as_mut(&mut self) -> Pin<&mut T> as_mut() argument 307 new(lock: &'a Lock<T, B>, state: B::GuardState) -> Self new() argument [all...] |
| H A D | condvar.rs | 114 fn wait_internal<T: ?Sized, B: Backend>( in wait_internal() argument 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() argument 168 pub fn wait_interruptible_freezable<T: ?Sized, B: Backend>( in wait_interruptible_freezable() argument 186 pub fn wait_interruptible_timeout<T: ?Sized, B: Backend>( in wait_interruptible_timeout() argument
|
| /linux/rust/kernel/list/ |
| H A D | arc.rs | 173 new(contents: T, flags: Flags) -> Result<Self, AllocError> new() argument 183 pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self, E> where E: From<AllocError>, pin_init() argument 194 init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> where E: From<AllocError>, init() argument 237 pair_from_unique<const ID2: u64>(unique: UniqueArc<T>) -> (Self, ListArc<T, ID2>) where T: ListArcSafe<ID2>, pair_from_unique() argument 249 pair_from_pin_unique<const ID2: u64>( mut unique: Pin<UniqueArc<T>>, ) -> (Self, ListArc<T, ID2>) where T: ListArcSafe<ID2>, pair_from_pin_unique() argument 250 pair_from_pin_unique<const ID2: u64>( mut unique: Pin<UniqueArc<T>>, ) -> (Self, ListArc<T, ID2>) where T: ListArcSafe<ID2>, pair_from_pin_unique() argument 337 transmute_to_arc(self) -> Arc<T> transmute_to_arc() argument 349 into_raw(self) -> *const T into_raw() argument 371 into_arc(self) -> Arc<T> into_arc() argument 380 clone_arc(&self) -> Arc<T> clone_arc() argument 391 as_arc(&self) -> &Arc<T> as_arc() argument 400 as_arc_borrow(&self) -> ArcBorrow<'_, T> as_arc_borrow() argument 440 as_ref(&self) -> &Arc<T> as_ref() argument [all...] |
| /linux/rust/kernel/num/ |
| H A D | bounded.rs | 39 fn fits_within<T: Integer>(value: T, num_bits: u32) -> bool { in fits_within() argument 390 get(self) -> T get() argument 408 extend<const M: u32>(self) -> Bounded<T, M> extend() argument 439 try_shrink<const M: u32>(self) -> Option<Bounded<T, M>> try_shrink() argument 515 try_into_bounded(self) -> Option<Bounded<T, N>> try_into_bounded() argument 524 try_into_bounded(self) -> Option<Bounded<T, N>> try_into_bounded() argument 596 add(self, rhs: Bounded<T, M>) -> Self::Output add() argument 608 bitand(self, rhs: Bounded<T, M>) -> Self::Output bitand() argument 620 bitor(self, rhs: Bounded<T, M>) -> Self::Output bitor() argument 632 bitxor(self, rhs: Bounded<T, M>) -> Self::Output bitxor() argument 644 div(self, rhs: Bounded<T, M>) -> Self::Output div() argument 656 mul(self, rhs: Bounded<T, M>) -> Self::Output mul() argument 668 rem(self, rhs: Bounded<T, M>) -> Self::Output rem() argument 680 sub(self, rhs: Bounded<T, M>) -> Self::Output sub() argument 906 impl<T> AtLeastXBits<32> for T where T: AtLeastXBits<64> {} global() implementation 916 impl<T> AtLeastXBits<16> for T where T: AtLeastXBits<32> {} global() implementation 924 impl<T> AtLeastXBits<8> for T where T: AtLeastXBits<16> {} global() implementation 980 impl<T> FitsInXBits<16> for T where T: FitsInXBits<8> {} global() implementation 985 impl<T> FitsInXBits<32> for T where T: FitsInXBits<16> {} global() implementation 993 impl<T> FitsInXBits<64> for T where T: FitsInXBits<32> {} global() implementation 1047 from(value: Bounded<T, 1>) -> Self from() argument [all...] |
| /linux/rust/syn/ |
| H A D | punctuated.rs | 78 pub fn first(&self) -> Option<&T> { in first() 83 pub fn first_mut(&mut self) -> Option<&mut T> { in first_mut() 88 pub fn last(&self) -> Option<&T> { in last() 93 pub fn last_mut(&mut self) -> Option<&mut T> { in last_mut() 98 pub fn get(&self, index: usize) -> Option<&T> { in get() 109 pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { in get_mut() 121 pub fn iter(&self) -> Iter<T> { in iter() 132 pub fn iter_mut(&mut self) -> IterMut<T> { in iter_mut() 143 pub fn pairs(&self) -> Pairs<T, P> { in pairs() 152 pub fn pairs_mut(&mut self) -> PairsMut<T, P> { in pairs_mut() [all …]
|
| /linux/rust/proc-macro2/ |
| H A D | rcvec.rs | 35 pub(crate) fn iter(&self) -> slice::Iter<T> { in iter() 48 pub(crate) fn get_mut(&mut self) -> Option<RcVecMut<T>> { in get_mut() 77 pub(crate) fn push(&mut self, element: T) { in push() 85 pub(crate) fn as_mut(&mut self) -> RcVecMut<T> { in as_mut() 91 pub(crate) fn build(self) -> RcVec<T> { in build() 99 pub(crate) fn push(&mut self, element: T) { in push() 107 pub(crate) fn as_mut(&mut self) -> RcVecMut<T> { in as_mut() 111 pub(crate) fn take(self) -> RcVecBuilder<T> { in take()
|
| /linux/rust/kernel/ptr/ |
| H A D | projection.rs | 78 fn get(self, slice: *mut [T]) -> Option<*mut T> { in get() 93 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() 110 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() 120 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() 130 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() 166 unsafe impl<T> ProjectField<false> for T { implementation 184 unsafe impl<T: Deref> ProjectField<true> for T { implementation
|
| /linux/drivers/comedi/drivers/tests/ |
| H A D | ni_routes_test.c | 310 const struct ni_route_tables *T = &private.routing_tables; in test_ni_route_to_register() local 360 const struct ni_route_tables *T = &private.routing_tables; in test_ni_lookup_route_register() local 399 const struct ni_route_tables *T = &private.routing_tables; in test_route_is_valid() local 454 const struct ni_route_tables *T = &private.routing_tables; in test_ni_count_valid_routes() local 462 const struct ni_route_tables *T = &private.routing_tables; in test_ni_get_valid_routes() local 479 const struct ni_route_tables *T = &private.routing_tables; in test_ni_find_route_source() local 496 const struct ni_route_tables *T = &private.routing_tables; in test_route_register_is_valid() local 511 const struct ni_route_tables *T = &private.routing_tables; in test_ni_check_trigger_arg() local 544 const struct ni_route_tables *T = &private.routing_tables; in test_ni_get_reg_value() local
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 122 impl<T: Writer + Sync> ReadFile<T> for T { global() implementation 140 read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize read() argument 165 let data = unsafe { &*(seq.private as *const T) }; write() constant 174 impl<T: Writer + Reader + Sync> ReadWriteFile<T> for T { global() implementation 224 let data = unsafe { &*((*file).private_data as *const T) }; write_only_write() constant 232 impl<T: Reader + Sync> WriteFile<T> for T { global() implementation 285 impl<T: BinaryWriter + Sync> BinaryReadFile<T> for T { global() implementation 340 impl<T: BinaryReader + Sync> BinaryWriteFile<T> for T { global() implementation 365 impl<T: BinaryWriter + BinaryReader + Sync> BinaryReadWriteFile<T> for T { global() implementation [all...] |
| /linux/drivers/android/binder/range_alloc/ |
| H A D | tree.rs | 36 ranges: &mut KVec<Range<T>>, in from_array() 37 alloc: &mut FromArrayAllocs<T>, in from_array() 142 fn find_best_match(&mut self, size: usize) -> Option<&mut Descriptor<T>> { in find_best_match() 155 alloc: ReserveNewTreeAlloc<T>, in reserve_new() 328 pub(crate) fn reserve_existing(&mut self, offset: usize) -> Result<(usize, usize, Option<T>)> { in reserve_existing() 417 F: FnOnce(Option<TreeDescriptorState<T>>) -> (Option<TreeDescriptorState<T>>, Result<Data>), in try_change_state() 450 desc: Descriptor<T>, in initialize() 452 RBTreeNode<usize, Descriptor<T>>, in initialize()
|