Home
last modified time | relevance | path

Searched refs:Box (Results 1 – 25 of 45) sorted by relevance

12

/linux/rust/kernel/alloc/
A Dbox_ext.rs6 use alloc::boxed::Box;
19 fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError>; in new_uninit()
37 fn drop_contents(this: Self) -> Box<MaybeUninit<T>>; in drop_contents()
40 impl<T> BoxExt<T> for Box<T> { implementation
49 fn new_uninit(_flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError> { in new_uninit()
50 Ok(Box::new_uninit()) in new_uninit()
54 fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError> { in new_uninit()
74 Ok(unsafe { Box::from_raw(ptr) }) in new_uninit()
77 fn drop_contents(this: Self) -> Box<MaybeUninit<T>> { in drop_contents()
78 let ptr = Box::into_raw(this); in drop_contents()
[all …]
/linux/drivers/virt/vboxguest/
A DKconfig3 tristate "Virtual Box Guest integration support"
6 This is a driver for the Virtual Box Guest PCI device used in
7 Virtual Box virtual machines. Enabling this driver will add
8 support for Virtual Box Guest integration features such as
/linux/rust/kernel/
A Dtypes.rs6 use alloc::boxed::Box;
74 impl<T: 'static> ForeignOwnable for Box<T> { implementation
78 Box::into_raw(self) as _ in into_foreign()
92 unsafe { Box::from_raw(ptr as _) } in from_foreign()
96 impl<T: 'static> ForeignOwnable for Pin<Box<T>> {
101 Box::into_raw(unsafe { Pin::into_inner_unchecked(self) }) as _ in into_foreign()
118 unsafe { Pin::new_unchecked(Box::from_raw(ptr as _)) } in from_foreign()
A Dworkqueue.rs219 self.enqueue(Box::pin_init(init, flags).map_err(|_| AllocError)?); in try_spawn()
242 type Pointer = Pin<Box<Self>>;
244 fn run(mut this: Pin<Box<Self>>) { in run()
568 unsafe impl<T, const ID: u64> WorkItemPointer<ID> for Pin<Box<T>>
579 let boxed = unsafe { Box::from_raw(ptr) }; in run()
587 unsafe impl<T, const ID: u64> RawWorkItem<ID> for Pin<Box<T>>
601 let ptr = Box::into_raw(boxed); in __enqueue()
A Drbtree.rs10 use alloc::boxed::Box;
500 unsafe { drop(Box::from_raw(this.cast_mut())) }; in drop()
767 let node = unsafe { Box::from_raw(this) }; in remove_current()
812 let node = unsafe { Box::from_raw(this) }; in remove_neighbor()
1038 node: Box<MaybeUninit<Node<K, V>>>,
1046 node: <Box<_> as BoxExt<_>>::new_uninit(flags)?, in new()
1079 node: Box<Node<K, V>>,
1113 node: Box::drop_contents(self.node), in into_reservation()
1164 let node = Box::into_raw(node.node); in insert()
1238 Box::from_raw(container_of!(self.node_links, Node<K, V>, links).cast_mut()) in remove_node()
[all …]
A Dinit.rs220 use alloc::boxed::Box;
897 pub struct ChainPinInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, Box<T>)>);
996 pub struct ChainInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, Box<T>)>);
1246 impl<T> InPlaceInit<T> for Box<T> { implementation
1254 <Box<_> as BoxExt<_>>::new_uninit(flags)?.write_pin_init(init) in try_pin_init()
1262 <Box<_> as BoxExt<_>>::new_uninit(flags)?.write_init(init) in try_init()
1302 impl<T> InPlaceWrite<T> for Box<MaybeUninit<T>> { implementation
1303 type Initialized = Box<T>;
1454 {<T: ?Sized>} Option<Box<T>>,
A Dprelude.rs20 pub use alloc::{boxed::Box, vec::Vec};
/linux/Documentation/ABI/testing/
A Dsysfs-driver-intel_sdsi4 Contact: "David E. Box" <david.e.box@linux.intel.com>
33 Contact: "David E. Box" <david.e.box@linux.intel.com>
43 Contact: "David E. Box" <david.e.box@linux.intel.com>
54 Contact: "David E. Box" <david.e.box@linux.intel.com>
63 Contact: "David E. Box" <david.e.box@linux.intel.com>
75 Contact: "David E. Box" <david.e.box@linux.intel.com>
85 Contact: "David E. Box" <david.e.box@linux.intel.com>
A Dsysfs-class-intel_pmt4 Contact: David Box <david.e.box@linux.intel.com>
13 Contact: David Box <david.e.box@linux.intel.com>
26 Contact: David Box <david.e.box@linux.intel.com>
34 Contact: David Box <david.e.box@linux.intel.com>
43 Contact: David Box <david.e.box@linux.intel.com>
51 Contact: David Box <david.e.box@linux.intel.com>
72 Contact: David Box <david.e.box@linux.intel.com>
A Dsysfs-platform-brcmstb-gisb-arb7 Broadcom Set Top Box internal GISB bus arbiter. Minimum value
/linux/drivers/block/
A Drnull.rs35 _disk: Pin<Box<Mutex<GenDisk<NullBlkDevice>>>>,
50 let disk = Box::pin_init(new_mutex!(disk, "nullb:disk"), flags::GFP_KERNEL)?; in init()
/linux/drivers/gpu/drm/vboxvideo/
A DKconfig3 tristate "Virtual Box Graphics Card"
12 Virtual Box virtual machines.
/linux/rust/kernel/sync/
A Darc.rs26 use alloc::boxed::Box;
207 let inner = <Box<_> as BoxExt<_>>::new(value, flags)?; in new()
211 Ok(unsafe { Self::from_inner(Box::leak(inner).into()) }) in new()
405 unsafe { drop(Box::from_raw(self.ptr.as_ptr())) }; in drop()
650 let inner = Box::try_init::<AllocError>( in new_uninit()
661 inner: unsafe { Arc::from_inner(Box::leak(inner).into()) }, in new_uninit()
/linux/rust/kernel/init/
A D__internal.rs105 pub struct AllData<T: ?Sized>(PhantomData<fn(Box<T>) -> Box<T>>);
/linux/Documentation/admin-guide/media/
A Dem28xx-cardlist.rst262 - Pixelview PlayTV Box 4 USB 2.0
294 - KWorld ATSC 315U HDTV TV Box
310 - Reddo DVB-C USB TV Box
446 - MyGica UTV3 Analog USB2.0 TV Box
A Dopera-firmware.rst8 To extract the firmware for the Opera DVB-S1 USB-Box
A Ddvb-usb-dibusb-mb-cardlist.rst37 * - TwinhanDTV USB-Ter USB1.1 / Magic Box I / HAMA USB1.1 DVB-T device
/linux/drivers/soc/bcm/
A DKconfig9 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
/linux/Documentation/devicetree/bindings/pwm/
A Dbrcm,bcm7038-pwm.yaml7 title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)
/linux/arch/arm/boot/dts/st/
A Dstm32mp157a-iot-box.dts10 model = "Shiratech STM32MP157A IoT Box";
/linux/drivers/mtd/nand/raw/brcmnand/
A DKconfig7 originally designed for Set-Top Box but is used on various BCM7xxx,
/linux/Documentation/devicetree/bindings/mailbox/
A Dallwinner,sun6i-a31-msgbox.yaml7 title: Allwinner sunxi Message Box
/linux/arch/x86/crypto/
A DKconfig212 we can use the AES S-Box to simulate the SM4 S-Box to achieve the
234 we can use the AES S-Box to simulate the SM4 S-Box to achieve the
/linux/Documentation/admin-guide/LSM/
A Dtomoyo.rst41 TOMOYO Linux: A Practical Method to Understand and Protect Your Own Linux Box
/linux/Documentation/devicetree/bindings/arm/
A Dsunxi.yaml94 - description: BA10 TV Box
200 - description: CSQ CS908 Set Top Box
339 - description: I12 TV Box
515 - description: Mele A1000G Quad Set Top Box
520 - description: Mele I7 Quad Set Top Box
530 - description: Mele M9 Set Top Box

Completed in 37 milliseconds

12