Home
last modified time | relevance | path

Searched refs:Ptr (Results 1 – 14 of 14) sorted by relevance

/linux/rust/kernel/
H A Dmiscdevice.rs116 type Ptr: ForeignOwnable + Send + Sync; typedef
121 fn open(_file: &File, _misc: &MiscDeviceRegistration<Self>) -> Result<Self::Ptr>; in open() argument
124 fn release(device: Self::Ptr, _file: &File) { in release() argument
137 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in mmap()
145 fn read_iter(_kiocb: Kiocb<'_, Self::Ptr>, _iov: &mut IovIterDest<'_>) -> Result<usize> { in read_iter() argument
150 fn write_iter(_kiocb: Kiocb<'_, Self::Ptr>, _iov: &mut IovIterSource<'_>) -> Result<usize> { in write_iter() argument
160 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in ioctl()
177 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in compat_ioctl()
187 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in show_fdinfo()
248 let ptr = unsafe { <T::Ptr as ForeignOwnable>::from_foreign(private) }; in release()
[all …]
/linux/samples/rust/
H A Drust_misc_device.rs156 type Ptr = Pin<KBox<Self>>; typedef
177 fn read_iter(mut kiocb: Kiocb<'_, Self::Ptr>, iov: &mut IovIterDest<'_>) -> Result<usize> { in read_iter() argument
188 fn write_iter(mut kiocb: Kiocb<'_, Self::Ptr>, iov: &mut IovIterSource<'_>) -> Result<usize> { in write_iter() argument
/linux/rust/syn/
H A Dclassify.rs88 Type::Ptr(t) => ty = &t.elem, in trailing_unparameterized_path()
262 Type::Ptr(t) => ty = &t.elem, in expr_trailing_brace()
H A Dty.rs56 Ptr(TypePtr),
599 input.parse().map(Type::Ptr) in ambig_ty()
/linux/drivers/android/binder/
H A Dallocation.rs463 Ptr(&'a mut uapi::binder_buffer_object), enumerator
527 BINDER_TYPE_PTR => Ptr(&mut self.bbo), in as_ref()
H A Dthread.rs712 BinderObjectRef::Ptr(obj) => { in translate_object()
/linux/Documentation/hid/
H A Dintel-thc-hid.rst501 - THC QuickSPI driver checks CB write Ptr and CB read Ptr to identify if any data frame in DMA
508 - THC QuickSPI driver updates write Ptr.
563 - THC QuickI2C driver checks CB write Ptr and CB read Ptr to identify if any data frame in DMA
571 - THC QuickI2C driver updates write Ptr.
/linux/rust/syn/gen/
H A Dclone.rs1933 crate::Type::Ptr(v0) => crate::Type::Ptr(v0.clone()), in clone()
H A Deq.rs1938 (crate::Type::Ptr(self0), crate::Type::Ptr(other0)) => self0 == other0, in eq()
H A Dfold.rs3490 crate::Type::Ptr(_binding_0) => crate::Type::Ptr(f.fold_type_ptr(_binding_0)), in fold_type()
H A Dhash.rs2472 crate::Type::Ptr(v0) => { in hash()
H A Ddebug.rs2758 crate::Type::Ptr(v0) => v0.debug(formatter, "Ptr"), in fmt()
H A Dvisit_mut.rs3374 crate::Type::Ptr(_binding_0) => { in visit_type_mut()
H A Dvisit.rs3550 crate::Type::Ptr(_binding_0) => { in visit_type()