| /linux/rust/kernel/ |
| H A D | usb.rs | 111 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_id() 124 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_ver() 136 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_info() 148 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_interface_info() 161 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_interface_class() 174 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_interface_protocol() 187 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_interface_number() 208 ..unsafe { MaybeUninit::zeroed().assume_init() } in from_device_and_interface_info()
|
| H A D | types.rs | 350 pub const fn zeroed() -> Self { in zeroed() method 352 value: UnsafeCell::new(MaybeUninit::zeroed()), in zeroed()
|
| H A D | of.rs | 40 let mut of: bindings::of_device_id = unsafe { core::mem::zeroed() }; in new()
|
| H A D | acpi.rs | 44 let mut acpi: bindings::acpi_device_id = unsafe { core::mem::zeroed() }; in new()
|
| H A D | auxiliary.rs | 115 let mut id: bindings::auxiliary_device_id = unsafe { core::mem::zeroed() }; in new() 293 let boxed = KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)?; in new()
|
| H A D | security.rs | 66 let mut ctx: bindings::lsm_context = unsafe { core::mem::zeroed() }; in from_secid()
|
| H A D | miscdevice.rs | 36 let mut result: bindings::miscdevice = unsafe { MaybeUninit::zeroed().assume_init() }; in into_raw() 424 ..unsafe { MaybeUninit::zeroed().assume_init() }
|
| H A D | device_id.rs | 123 sentinel: MaybeUninit::zeroed(),
|
| H A D | cpumask.rs | 240 mask: Cpumask(Opaque::zeroed()), in new_zero()
|
| H A D | scatterlist.rs | 272 let sgt = Opaque::zeroed(); in new()
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 129 ..unsafe { core::mem::zeroed() } 182 ..unsafe { core::mem::zeroed() } 238 ..unsafe { core::mem::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 | lib.rs | 1532 fn zeroed() -> Self in zeroed() method 1536 zeroed() in zeroed() 1596 pub const fn zeroed<T: Zeroable>() -> T { in zeroed() function 1598 unsafe { core::mem::zeroed() } in zeroed()
|
| H A D | macros.rs | 1485 let mut zeroed = ::core::mem::zeroed(); localVariable 1488 ::core::ptr::write($slot, zeroed); 1489 zeroed = ::core::mem::zeroed(); 1497 ..zeroed
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | struct_ops_module.c | 63 int zeroed; member
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-v4l2-mplane.rst | 47 - Reserved for future extensions. Should be zeroed by drivers and 118 - Reserved for future extensions. Should be zeroed by drivers and
|
| /linux/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 43 let tag_set: bindings::blk_mq_tag_set = unsafe { core::mem::zeroed() }; in new()
|
| H A D | gen_disk.rs | 111 let mut lim: bindings::queue_limits = unsafe { core::mem::zeroed() }; in build()
|
| /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/drivers/android/binder/ |
| H A D | defs.rs | 119 Self(MaybeUninit::zeroed())
|
| /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 | 490 BUILD_BUG_ON(sizeof_field(struct napi_gro_cb, zeroed) != sizeof(u32)); in dev_gro_receive() 491 BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct napi_gro_cb, zeroed), in dev_gro_receive() 493 *(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.
|