| /rust/kernel/ |
| D | rbtree.rs | 240 pub fn cursor_front(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_front() 255 pub fn cursor_back(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_back() 285 ) -> Result<Option<RBTreeNode<K, V>>> { in try_create_and_insert() 295 pub fn insert(&mut self, node: RBTreeNode<K, V>) -> Option<RBTreeNode<K, V>> { in insert() 367 pub fn find_mut(&mut self, key: &K) -> Option<OccupiedEntry<'_, K, V>> { in find_mut() 375 pub fn get(&self, key: &K) -> Option<&V> { in get() 395 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { in get_mut() 402 pub fn remove_node(&mut self, key: &K) -> Option<RBTreeNode<K, V>> { in remove_node() 409 pub fn remove(&mut self, key: &K) -> Option<V> { in remove() 418 pub fn cursor_lower_bound(&mut self, key: &K) -> Option<Cursor<'_, K, V>> in cursor_lower_bound() [all …]
|
| D | init.rs | 1405 Option<NonZeroU8>, Option<NonZeroU16>, Option<NonZeroU32>, Option<NonZeroU64>, 1406 Option<NonZeroU128>, Option<NonZeroUsize>, 1407 Option<NonZeroI8>, Option<NonZeroI16>, Option<NonZeroI32>, Option<NonZeroI64>, 1408 Option<NonZeroI128>, Option<NonZeroIsize>, 1409 {<T>} Option<NonNull<T>>, 1410 {<T>} Option<KBox<T>>,
|
| D | mm.rs | 181 pub fn mmget_not_zero(&self) -> Option<ARef<MmWithUser>> { in mmget_not_zero() 223 pub fn lock_vma_under_rcu(&self, vma_addr: usize) -> Option<VmaReadGuard<'_>> { in lock_vma_under_rcu() 261 pub fn mmap_read_trylock(&self) -> Option<MmapReadGuard<'_>> { in mmap_read_trylock() 291 pub fn vma_lookup(&self, vma_addr: usize) -> Option<&virt::VmaRef> { in vma_lookup()
|
| D | list.rs | 324 pub fn pop_back(&mut self) -> Option<ListArc<T, ID>> { in pop_back() 336 pub fn pop_front(&mut self) -> Option<ListArc<T, ID>> { in pop_front() 353 pub unsafe fn remove(&mut self, item: &T) -> Option<ListArc<T, ID>> { in remove() 550 fn next(&mut self) -> Option<ArcBorrow<'a, T>> { in next() 750 pub fn peek_next(&mut self) -> Option<CursorPeek<'_, 'a, T, true, ID>> { in peek_next() 765 pub fn peek_prev(&mut self) -> Option<CursorPeek<'_, 'a, T, false, ID>> { in peek_prev() 859 pub fn remove_next(&mut self) -> Option<ListArc<T, ID>> { in remove_next() 864 pub fn remove_prev(&mut self) -> Option<ListArc<T, ID>> { in remove_prev() 957 fn next(&mut self) -> Option<ListArc<T, ID>> { in next() 965 fn next_back(&mut self) -> Option<ListArc<T, ID>> { in next_back()
|
| D | task.rs | 243 pub fn get_pid_ns(&self) -> Option<ARef<PidNamespace>> { in get_pid_ns() 258 pub fn tgid_nr_ns(&self, pidns: Option<&PidNamespace>) -> Pid { in tgid_nr_ns() 347 pub fn mm(&self) -> Option<&MmWithUser> { in mm() 380 pub fn active_pid_ns(&self) -> Option<&PidNamespace> { in active_pid_ns()
|
| D | error.rs | 122 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() 162 pub fn name(&self) -> Option<&'static CStr> { in name() 179 pub fn name(&self) -> Option<&'static CStr> { in name()
|
| D | types.rs | 61 unsafe fn try_from_foreign(ptr: *const crate::ffi::c_void) -> Option<Self> { in try_from_foreign() 158 pub struct ScopeGuard<T, F: FnOnce(T)>(Option<(T, F)>);
|
| D | alloc.rs | 195 ptr: Option<NonNull<u8>>, in realloc()
|
| D | workqueue.rs | 231 func: Option<T>, 235 fn project(self: Pin<&mut Self>) -> &mut Option<T> { in project()
|
| /rust/kernel/alloc/ |
| D | allocator.rs | 74 ptr: Option<NonNull<u8>>, in call() 132 ptr: Option<NonNull<u8>>, in realloc() 151 ptr: Option<NonNull<u8>>, in realloc() 175 ptr: Option<NonNull<u8>>, in realloc()
|
| D | allocator_test.rs | 50 ptr: Option<NonNull<u8>>, in realloc()
|
| D | kvec.rs | 428 pub fn pop(&mut self) -> Option<T> { in pop() 1106 fn next(&mut self) -> Option<T> { in next() 1141 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 1225 fn next(&mut self) -> Option<T> { in next() 1231 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
|
| /rust/macros/ |
| D | module.rs | 97 author: Option<String>, 98 description: Option<String>, 99 alias: Option<Vec<String>>, 100 firmware: Option<Vec<String>>,
|
| D | helpers.rs | 5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident() 13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal() 21 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string()
|
| D | quote.rs | 9 impl<T: ToTokens> ToTokens for Option<T> { implementation
|
| /rust/kernel/sync/lock/ |
| D | mutex.rs | 119 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock()
|
| D | spinlock.rs | 118 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock()
|
| D | global.rs | 86 pub fn try_lock(&'static self) -> Option<GlobalGuard<B>> { in try_lock()
|
| /rust/kernel/sync/ |
| D | lock.rs | 74 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState>; in try_lock() 150 pub fn try_lock(&self) -> Option<Guard<'_, T, B>> { in try_lock()
|
| D | arc.rs | 306 pub fn into_unique_or_drop(self) -> Option<Pin<UniqueArc<T>>> { in into_unique_or_drop()
|
| /rust/kernel/list/ |
| D | arc.rs | 292 pub fn try_from_arc_borrow(arc: ArcBorrow<'_, T>) -> Option<Self> in try_from_arc_borrow() 309 pub fn try_from_arc_or_drop(arc: Arc<T>) -> Option<Self> in try_from_arc_or_drop()
|
| /rust/kernel/mm/ |
| D | virt.rs | 138 pub fn as_mixedmap_vma(&self) -> Option<&VmaMixedMap> { in as_mixedmap_vma()
|