| /linux/rust/kernel/ |
| H A D | usb.rs | 133 ..pin_init::zeroed() in from_id() 145 ..pin_init::zeroed() in from_device_ver() 156 ..pin_init::zeroed() in from_device_info() 167 ..pin_init::zeroed() in from_interface_info() 179 ..pin_init::zeroed() in from_device_interface_class() 191 ..pin_init::zeroed() in from_device_interface_protocol() 203 ..pin_init::zeroed() 223 ..pin_init::zeroed() in from_device_and_interface_info()
|
| H A D | bitfield.rs | 652 let mut val = TestU64::zeroed(); in test_basic_access() 684 let mut val = TestU16::zeroed(); in test_basic_access() 704 let mut val = TestU8::zeroed(); in test_basic_access() 727 let mut val = TestU16::zeroed(); in test_infallible_conversion() 749 let mut val = TestU64::zeroed(); in test_fallible_conversion() 768 let mut val = TestU16::zeroed(); in test_overlapping_fields() 779 let mut val = TestU8::zeroed() in test_overlapping_fields() 820 let val = TestU64::zeroed().try_with_field_51_16(0x123456).unwrap(); in test_try_with() 823 let err = TestU64::zeroed().try_with_field_51_16(u64::MAX); in test_try_with() 826 let val = TestU64::zeroed() in test_try_with()
|
| H A D | types.rs | 357 /// Creates a new zeroed opaque value. 358 pub const fn zeroed() -> Self { 360 value: UnsafeCell::new(MaybeUninit::zeroed()), 349 pub const fn zeroed() -> Self { zeroed() method
|
| H A D | auxiliary.rs | 144 let mut id: bindings::auxiliary_device_id = pin_init::zeroed(); in new() 362 // `KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)`. in new() 490 let boxed: KBox<Opaque<bindings::auxiliary_device>> = KBox::zeroed(GFP_KERNEL)?;
|
| H A D | device_id.rs | 136 sentinel: MaybeUninit::zeroed(), 154 sentinel: MaybeUninit::zeroed(),
|
| H A D | i2c.rs | 48 let mut i2c: bindings::i2c_device_id = pin_init::zeroed(); in new() 446 let mut i2c_board_info: bindings::i2c_board_info = pin_init::zeroed(); in new()
|
| H A D | dma.rs | 67 /// such as [`Coherent::zeroed`]. 84 /// such as [`Coherent::zeroed`]. 103 /// such as [`Coherent::zeroed`]. in dma_set_mask_and_coherent() 122 /// such as [`Coherent::zeroed`]. 393 /// let mut dmem: CoherentBox<u64> = CoherentBox::zeroed(dev, GFP_KERNEL)?; 539 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { 735 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { in alloc_with_attrs() 763 /// Same as [`Coherent::zeroed`], but instead of a zero-initialization the memory is initialized in zeroed_with_attrs() 821 /// Allocates a zeroed region of type `T` of coherent memory. in alloc_slice_with_attrs() 531 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { zeroed() method 774 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { zeroed() method
|
| H A D | scatterlist.rs | 273 let sgt = Opaque::zeroed(); in new()
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 138 ..pin_init::zeroed() 190 ..pin_init::zeroed() 245 ..pin_init::zeroed() 297 ..pin_init::zeroed() 351 ..pin_init::zeroed() 376 ..pin_init::zeroed()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_struct_ops_module.c | 113 skel->struct_ops.testmod_zeroed->zeroed = 0; in test_struct_ops_not_zeroed() 131 skel->struct_ops.testmod_zeroed->zeroed = 0xdeadbeef; in test_struct_ops_not_zeroed()
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| H A D | lib.rs | 1568 fn zeroed() -> Self in zeroed() method 1572 zeroed() in zeroed() 1615 pub const fn zeroed<T: Zeroable>() -> T { in zeroed() function 1617 unsafe { core::mem::zeroed() } in zeroed()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-v4l2-mplane.rst | 48 - Reserved for future extensions. Should be zeroed by drivers and 119 - Reserved for future extensions. Should be zeroed by drivers and
|
| H A D | vidioc-enum-framesizes.rst | 163 - Reserved space for future use. Must be zeroed by drivers and
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | struct_ops_module.c | 63 int zeroed; member
|
| /linux/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 41 let tag_set: bindings::blk_mq_tag_set = pin_init::zeroed(); in new()
|
| /linux/arch/arm/nwfpe/ |
| H A D | ChangeLog | 63 structures, and that recycled ones may not have init_flag zeroed. 64 I couldn't even find anything that guarantees it is zeroed when
|
| /linux/Documentation/driver-api/usb/ |
| H A D | usb3-debug-port.rst | 76 [ 1815.999595] usb 4-3: LPM exit latency is zeroed, disabling LPM. 144 [ 79.475003] usb 2-2.1: LPM exit latency is zeroed, disabling LPM.
|
| /linux/Documentation/driver-api/serial/ |
| H A D | serial-iso7816.rst | 54 /* Reserved fields as to be zeroed */
|
| /linux/net/core/ |
| H A D | gro.c | 504 BUILD_BUG_ON(sizeof_field(struct napi_gro_cb, zeroed) != sizeof(u32)); in dev_gro_receive() 505 BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct napi_gro_cb, zeroed), in dev_gro_receive() 507 *(u32 *)&NAPI_GRO_CB(skb)->zeroed = 0; in dev_gro_receive()
|
| /linux/Documentation/userspace-api/ |
| H A D | futex2.rst | 43 the upper bits are zeroed. ``uintptr_t`` does the tricky and it works for
|
| /linux/arch/sh/ |
| H A D | Kconfig.debug | 82 can already be guaranteed to ber zeroed on boot, say Y.
|
| /linux/rust/kernel/drm/gem/ |
| H A D | mod.rs | 388 let mut fops: bindings::file_operations = pin_init::zeroed();
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | writecache.rst | 9 When the device is constructed, the first sector should be zeroed or the
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-ext4 | 104 The maximum number of kilobytes which will be zeroed
|