Searched refs:KBox (Results 1 – 16 of 16) sorted by relevance
| /linux-6.15/rust/kernel/ |
| H A D | workqueue.rs | 222 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 D | rbtree.rs | 766 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 D | platform.rs | 88 let _ = unsafe { KBox::<T>::from_foreign(ptr) }; in remove_callback() 168 -> Result<Pin<KBox<Self>>>; in probe()
|
| H A D | prelude.rs | 17 pub use crate::alloc::{flags::*, Box, KBox, KVBox, KVVec, KVec, VBox, VVec, Vec};
|
| H A D | pci.rs | 97 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 D | alloc.rs | 18 pub use self::kbox::KBox;
|
| /linux-6.15/samples/rust/ |
| H A D | rust_misc_device.rs | 158 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 D | rust_driver_platform.rs | 27 ) -> Result<Pin<KBox<Self>>> { in probe() 34 let drvdata = KBox::new(Self { pdev: pdev.into() }, GFP_KERNEL)?; in probe()
|
| H A D | rust_dma.rs | 51 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe() 65 let drvdata = KBox::new( in probe()
|
| H A D | rust_driver_pci.rs | 65 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 D | driver.rs | 30 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 D | arc.rs | 20 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 D | fsl-ls1028a-kontron-kbox-a-230-ls.dts | 3 * 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 D | kvec.rs | 57 match $crate::alloc::KBox::new_uninit(GFP_KERNEL) { 58 Ok(b) => Ok($crate::alloc::KVec::from($crate::alloc::KBox::write(b, [$($x),+]))),
|
| H A D | kbox.rs | 77 pub type KBox<T> = Box<T, super::allocator::Kmalloc>; typedef
|
| /linux-6.15/Documentation/devicetree/bindings/arm/ |
| H A D | fsl.yaml | 1492 - description: Kontron KBox A-230-LS
|