Home
last modified time | relevance | path

Searched refs:Deref (Results 1 – 25 of 53) sorted by relevance

123

/linux/rust/kernel/debugfs/
H A Dcallback_adapters.rs20 ops::Deref, //
56 impl<D: Deref, W> Reader for WritableAdapter<D, W>
78 impl<D, F> Deref for FormatAdapter<D, F> {
111 impl<D> Deref for NoWriter<D> {
H A Dfile_ops.rs24 use core::ops::Deref;
68 impl<T> Deref for FileOps<T> {
/linux/rust/kernel/
H A Dtask.rs16 ops::Deref,
139 impl Deref for CurrentTask {
177 pub unsafe fn current() -> impl Deref<Target = CurrentTask> { in current()
182 impl Deref for TaskRef { in current()
H A Dmm.rs19 use core::{ops::Deref, ptr::NonNull};
109 impl Deref for MmWithUser {
282 impl Deref for VmaReadGuard<'_> {
H A Drevocable.rs13 ops::Deref,
255 impl<T> Deref for RevocableGuard<'_, T> {
H A Dclk.rs88 use core::{ops::Deref, ptr};
325 impl Deref for OptionalClk { in deref()
H A Dstr.rs23 Deref,
141 impl Deref for BStr {
668 impl Deref for Formatter<'_> { in write_str()
882 impl Deref for CString { in deref_mut()
H A Dtypes.rs10 ops::{Deref, DerefMut},
250 impl<T, F: FnOnce(T)> Deref for ScopeGuard<T, F> { in deref()
H A Dscatterlist.rs44 use core::{ops::Deref, ptr::NonNull};
444 impl<P> Deref for SGTable<Owned<P>> {
/linux/rust/kernel/mm/
H A Dmmput_async.rs15 use core::{ops::Deref, ptr::NonNull};
52 impl Deref for MmWithUserAsync {
H A Dvirt.rs25 use core::ops::Deref;
166 impl Deref for VmaMixedMap {
216 impl Deref for VmaNew {
/linux/rust/kernel/io/
H A Dmem.rs5 use core::ops::Deref;
213 impl<const SIZE: usize> Deref for ExclusiveIoMem<'_, SIZE> {
294 impl<const SIZE: usize> Deref for IoMem<'_, SIZE> {
H A Dresource.rs9 ops::Deref,
38 impl Deref for Region {
/linux/rust/kernel/sync/
H A Dpoll.rs13 use core::{marker::PhantomData, ops::Deref};
84 impl Deref for PollCondVar {
H A Daref.rs23 ops::Deref,
154 impl<T: AlwaysRefCounted> Deref for ARef<T> { in deref()
/linux/rust/syn/
H A Ddrops.rs5 use std::ops::{Deref, DerefMut};
21 impl<T: ?Sized> Deref for NoDrop<T> {
H A Dop.rs73 Deref(Token![*]),
157 input.parse().map(UnOp::Deref) in parse()
215 UnOp::Deref(t) => t.to_tokens(tokens), in to_tokens()
/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs15 ops::{Deref, DerefMut},
126 impl<T> Deref for PThreadMutexGuard<'_, T> {
H A Dmutex.rs10 ops::{Deref, DerefMut},
146 impl<T> Deref for CMutexGuard<'_, T> {
/linux/rust/kernel/ptr/
H A Dprojection.rs7 ops::Deref, //
186 /// implement [`Deref`]. This will cause an ambiguity error and thus block [`Deref`] types being in proj()
232 unsafe impl<T: Deref> ProjectField<true> for T {
235 build_error!("this function is a guard against `Deref` impl and is never invoked");
247 /// It is not allowed to project into types that implement custom [`Deref`] or
330 // SAFETY: `$field` is in bounds, and no implicit `Deref` is possible (if the
331 // type implements `Deref`, Rust cannot infer the generic parameter `DEREF`).
/linux/rust/kernel/drm/gem/
H A Dshmem.rs27 Deref,
179 impl<T: DriverObject> Deref for Object<T> {
H A Dmod.rs25 ops::Deref,
338 impl<T: DriverObject> Deref for Object<T> {
/linux/rust/kernel/pci/
H A Dio.rs21 ops::Deref, //
252 impl<const SIZE: usize> Deref for Bar<'_, SIZE> { in iomap_region_sized()
/linux/rust/kernel/drm/
H A Ddevice.rs31 ops::Deref,
220 impl<T: drm::Driver> Deref for Device<T> {
/linux/rust/kernel/str/
H A Dparse_int.rs10 use core::ops::Deref;

123