Home
last modified time | relevance | path

Searched refs:as_ref (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/rust/kernel/sync/
H A Darc.rs267 unsafe { &self.ptr.as_ref().data } in deref()
272 fn as_ref(&self) -> &T { in as_ref() functions
282 unsafe { bindings::refcount_inc(self.ptr.as_ref().refcount.get()) }; in clone()
295 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop()
435 unsafe { &self.inner.as_ref().data } in deref()
/kernel/linux/linux-6.6/rust/kernel/
H A Dtypes.rs185 &self.0.as_ref().unwrap().0 in deref()
362 unsafe { self.ptr.as_ref() } in deref()
H A Dstr.rs273 fn as_ref(&self) -> &BStr { in as_ref() functions
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Ddrain.rs68 unsafe { self.vec.as_ref().allocator() } in fmt()
143 fn as_ref(&self) -> &[T] { in as_ref() functions
H A Dinto_iter.rs175 fn as_ref(&self) -> &[T] { in as_ref() functions
H A Dmod.rs3340 fn as_ref(&self) -> &Vec<T, A> { in fmt() functions
3354 fn as_ref(&self) -> &[T] { in as_ref() functions
/kernel/linux/linux-6.6/rust/macros/
H A Dmodule.rs176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref());
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs2076 fn as_ref(&self) -> &T { in as_ref() functions

Completed in 14 milliseconds