Home
last modified time | relevance | path

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

/linux-6.6.21/rust/kernel/sync/
Darc.rs267 unsafe { &self.ptr.as_ref().data } in deref()
272 fn as_ref(&self) -> &T { in as_ref() method
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()
/linux-6.6.21/rust/kernel/
Dtypes.rs185 &self.0.as_ref().unwrap().0 in deref()
362 unsafe { self.ptr.as_ref() } in deref()
Dstr.rs273 fn as_ref(&self) -> &BStr { in as_ref() method
/linux-6.6.21/rust/alloc/vec/
Ddrain.rs68 unsafe { self.vec.as_ref().allocator() } in allocator()
143 fn as_ref(&self) -> &[T] { in as_ref() method
Dinto_iter.rs175 fn as_ref(&self) -> &[T] { in as_ref() method
Dmod.rs3340 fn as_ref(&self) -> &Vec<T, A> { in as_ref() method
3354 fn as_ref(&self) -> &[T] { in as_ref() method
/linux-6.6.21/rust/macros/
Dmodule.rs176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module()
/linux-6.6.21/rust/alloc/
Dboxed.rs2076 fn as_ref(&self) -> &T { in as_ref() method