| /linux-6.15/samples/rust/ |
| H A D | rust_driver_platform.rs | 28 dev_dbg!(pdev.as_ref(), "Probe Rust Platform driver sample.\n"); in probe() 31 dev_info!(pdev.as_ref(), "Probed with info: '{}'.\n", info.0); in probe() 42 dev_dbg!(self.pdev.as_ref(), "Remove Rust Platform driver sample.\n"); in drop()
|
| H A D | rust_dma.rs | 52 dev_info!(pdev.as_ref(), "Probe DMA test driver.\n"); in probe() 55 CoherentAllocation::alloc_coherent(pdev.as_ref(), TEST_VALUES.len(), GFP_KERNEL)?; in probe() 79 dev_info!(self.pdev.as_ref(), "Unload DMA test driver.\n"); in drop()
|
| H A D | rust_driver_pci.rs | 67 pdev.as_ref(), in probe() 89 pdev.as_ref(), in probe() 100 dev_dbg!(self.pdev.as_ref(), "Remove Rust PCI driver sample.\n"); in drop()
|
| H A D | rust_driver_faux.rs | 25 dev_info!(reg.as_ref(), "Hello from faux device!\n"); in init()
|
| /linux-6.15/rust/kernel/ |
| H A D | platform.rs | 67 let info = <Self as driver::Adapter>::id_info(pdev.as_ref()); in probe_callback() 217 unsafe { bindings::get_device(self.as_ref().as_raw()) }; in inc_ref() 227 fn as_ref(&self) -> &device::Device { in as_ref() method 233 unsafe { device::Device::as_ref(dev) } in as_ref()
|
| H A D | faux.rs | 54 fn as_ref(&self) -> &device::Device { in as_ref() method 57 unsafe { device::Device::as_ref(addr_of_mut!((*self.as_raw()).dev)) } in as_ref()
|
| H A D | str.rs | 48 .strip_prefix(pattern.as_ref().deref()) in strip_prefix() 146 fn as_ref(&self) -> &BStr { in as_ref() method 152 fn as_ref(&self) -> &BStr { in as_ref() method 491 fn as_ref(&self) -> &BStr { in as_ref() method 501 self.as_ref() in deref() 548 &self.as_ref()[index] in index()
|
| H A D | device.rs | 60 unsafe { Self::as_ref(ptr) }.into() in get_device() 76 pub unsafe fn as_ref<'a>(ptr: *mut bindings::device) -> &'a Self { in as_ref() method
|
| H A D | pci.rs | 400 let devres = Devres::new(self.as_ref(), bar, GFP_KERNEL)?; in iomap_region_sized() 459 fn as_ref(&self) -> &device::Device { in as_ref() method 465 unsafe { device::Device::as_ref(dev) } in as_ref()
|
| H A D | types.rs | 232 &self.0.as_ref().unwrap().0 in deref() 523 unsafe { self.ptr.as_ref() } in deref()
|
| H A D | miscdevice.rs | 94 unsafe { Device::as_ref((*self.as_raw()).this_device) } in device()
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | arc.rs | 349 let refcount = unsafe { me.ptr.as_ref() }.refcount.get(); in into_unique_or_drop() 416 unsafe { &self.ptr.as_ref().data } in deref() 421 fn as_ref(&self) -> &T { in as_ref() method 430 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in clone() 448 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop() 609 unsafe { &self.inner.as_ref().data } in deref()
|
| /linux-6.15/drivers/gpu/nova-core/ |
| H A D | gpu.rs | 187 let fw = Firmware::new(pdev.as_ref(), &spec, "535.113.01")?; in new() 190 pdev.as_ref(), in new()
|
| H A D | driver.rs | 31 dev_dbg!(pdev.as_ref(), "Probe Nova Core GPU driver.\n"); in probe()
|
| /linux-6.15/drivers/net/phy/ |
| H A D | qt2025.rs | 72 let fw = Firmware::request(c_str!("qt2025-2.0.3.3.fw"), dev.as_ref())?; in probe()
|
| /linux-6.15/rust/kernel/block/mq/ |
| H A D | request.rs | 158 unsafe { Self::wrapper_ptr(self as *const Self as *mut Self).as_ref() } in wrapper_ref()
|
| /linux-6.15/rust/kernel/sync/lock/ |
| H A D | global.rs | 157 pub fn as_ref<'a>(&'a self, _guard: &'a GlobalGuard<B>) -> &'a T { in as_ref() method
|
| /linux-6.15/rust/macros/ |
| H A D | module.rs | 179 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module()
|
| /linux-6.15/rust/kernel/net/ |
| H A D | phy.rs | 285 fn as_ref(&self) -> &kernel::device::Device { in as_ref() method 288 unsafe { kernel::device::Device::as_ref(addr_of_mut!((*phydev).mdio.dev)) } in as_ref()
|
| /linux-6.15/rust/kernel/list/ |
| H A D | arc.rs | 440 fn as_ref(&self) -> &Arc<T> { in as_ref() function
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | kbox.rs | 446 unsafe { self.0.as_ref() } in deref()
|