Home
last modified time | relevance | path

Searched refs:KBox (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/rust/kernel/
H A Dworkqueue.rs222 self.enqueue(KBox::pin_init(init, flags).map_err(|_| AllocError)?); in try_spawn()
245 type Pointer = Pin<KBox<Self>>;
247 fn run(mut this: Pin<KBox<Self>>) { in run()
587 unsafe impl<T, const ID: u64> WorkItemPointer<ID> for Pin<KBox<T>>
598 let boxed = unsafe { KBox::from_raw(ptr) }; in run()
607 unsafe impl<T, const ID: u64> RawWorkItem<ID> for Pin<KBox<T>>
621 let ptr = KBox::into_raw(boxed); in __enqueue()
H A Drbtree.rs766 let node = unsafe { KBox::from_raw(this) }; in remove_current()
811 let node = unsafe { KBox::from_raw(this) }; in remove_neighbor()
1040 node: KBox<MaybeUninit<Node<K, V>>>,
1048 node: KBox::new_uninit(flags)?, in new()
1065 let node = KBox::write( in into_node()
1082 node: KBox<Node<K, V>>,
1094 let node = KBox::into_inner(self.node); in to_key_value()
1118 node: KBox::drop_contents(self.node), in into_reservation()
1169 let node = KBox::into_raw(node.node); in insert()
1251 let node = KBox::into_inner(rb_node.node); in remove()
[all …]
H A Dplatform.rs88 let _ = unsafe { KBox::<T>::from_foreign(ptr) }; in remove_callback()
168 -> Result<Pin<KBox<Self>>>; in probe()
H A Dprelude.rs17 pub use crate::alloc::{flags::*, Box, KBox, KVBox, KVVec, KVec, VBox, VVec, Vec};
H A Dpci.rs97 let _ = unsafe { KBox::<T>::from_foreign(ptr) }; in remove_callback()
240 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>; in probe()
H A Dalloc.rs18 pub use self::kbox::KBox;
/linux-6.15/samples/rust/
H A Drust_misc_device.rs158 type Ptr = Pin<KBox<Self>>;
160 fn open(_file: &File, misc: &MiscDeviceRegistration<Self>) -> Result<Pin<KBox<Self>>> { in open()
165 KBox::try_pin_init( in open()
H A Drust_driver_platform.rs27 ) -> Result<Pin<KBox<Self>>> { in probe()
34 let drvdata = KBox::new(Self { pdev: pdev.into() }, GFP_KERNEL)?; in probe()
H A Drust_dma.rs51 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe()
65 let drvdata = KBox::new( in probe()
H A Drust_driver_pci.rs65 fn probe(pdev: &pci::Device<Core>, info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe()
78 let drvdata = KBox::new( in probe()
/linux-6.15/drivers/gpu/nova-core/
H A Ddriver.rs30 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe()
38 let this = KBox::pin_init( in probe()
/linux-6.15/rust/kernel/sync/
H A Darc.rs20 alloc::{AllocError, Flags, KBox},
235 let inner = KBox::new(value, flags)?; in new()
236 let inner = KBox::leak(inner).into(); in new()
458 unsafe { drop(KBox::from_raw(self.ptr.as_ptr())) }; in drop()
745 let inner = KBox::try_init::<AllocError>( in new_uninit()
756 inner: unsafe { Arc::from_inner(KBox::leak(inner).into()) }, in new_uninit()
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-kbox-a-230-ls.dts3 * Device Tree File for the Kontron KBox A-230-LS.
17 model = "Kontron KBox A-230-LS";
/linux-6.15/rust/kernel/alloc/
H A Dkvec.rs57 match $crate::alloc::KBox::new_uninit(GFP_KERNEL) {
58 Ok(b) => Ok($crate::alloc::KVec::from($crate::alloc::KBox::write(b, [$($x),+]))),
H A Dkbox.rs77 pub type KBox<T> = Box<T, super::allocator::Kmalloc>; typedef
/linux-6.15/Documentation/devicetree/bindings/arm/
H A Dfsl.yaml1492 - description: Kontron KBox A-230-LS