Home
last modified time | relevance | path

Searched refs:Deref (Results 1 – 25 of 57) 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> {
/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.rs23 ops::Deref,
263 impl<T> Deref for RevocableGuard<'_, T> {
H A Dclk.rs88 use core::{ops::Deref, ptr};
325 impl Deref for OptionalClk { in deref()
H A Dtypes.rs10 ops::{Deref, DerefMut},
253 impl<T, F: FnOnce(T)> Deref for ScopeGuard<T, F> {
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 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.rs
H A Dresource.rs9 ops::Deref,
38 impl Deref for Region {
/linux/rust/kernel/sync/
H A Dpoll.rs22 ops::Deref, //
95 impl Deref for PollCondVar { in drop()
155 impl Deref for PollCondVarBox {
H A Daref.rs23 ops::Deref,
159 impl<T: AlwaysRefCounted> Deref for ARef<T> { in from()
/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},
139 impl<T> Deref for CMutexGuard<'_, T> { in drop()
/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.rs55 Deref,
194 R: Deref<Target = Self> + From<&'a Self>,
353 impl<T: DriverObject> Deref for Object<T> {
436 R: Deref<Target = Object<D>>,
451 R: Deref<Target = Object<D>>,
463 R: Deref<Target = Object<D>>,
484 R: Deref<Target = Object<D>>,
506 R: Deref<Target = Object<D>> + Send,
515 R: Deref<Target = Object<D>> + Sync,
535 impl<T: DriverObject> Deref fo
[all...]
/linux/rust/kernel/pci/
H A Dio.rs
/linux/rust/zerocopy/src/
H A Derror.rs125 ops::Deref,
318 Src: Deref, in display_verbose_extras()
397 Src: Deref,
416 Src: Deref,
495 Src: Deref, in display_verbose_extras()
559 Src: Deref,
577 Src: Deref,
H A Dbyte_slice.rs17 ops::{Deref, DerefMut},
52 pub unsafe trait ByteSlice: Deref<Target = [u8]> + Sized {}
/linux/rust/kernel/drm/
H A Ddevice.rs38 ops::Deref,
146 impl<T: drm::Driver> Deref for UnregisteredDevice<T> { in new()
433 impl<T: drm::Driver> Deref for RegistrationGuard<'_, T> {
451 impl<T: drm::Driver> Deref for Device<T> {
459 impl<T: drm::Driver> Deref for Device<T, Registered> {
470 impl<T: drm::Driver> Deref for Device<T, Ioctl> {
/linux/rust/kernel/str/
H A Dparse_int.rs10 use core::ops::Deref;

123