Home
last modified time | relevance | path

Searched refs:zeroed (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.6.21/rust/alloc/
Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
183 let raw_ptr = if zeroed { alloc_zeroed(layout) } else { alloc(layout) }; in alloc_impl()
197 zeroed: bool, in grow_impl()
205 0 => self.alloc_impl(new_layout, zeroed), in grow_impl()
217 if zeroed { in grow_impl()
229 let new_ptr = self.alloc_impl(new_layout, zeroed)?; in grow_impl()
/linux-6.6.21/rust/kernel/init/
Dmacros.rs1035 @zeroed(), // Nothing means default behavior.
1050 @munch_fields(..Zeroable::zeroed()),
1060 @zeroed(()), // `()` means zero all fields not mentioned.
1100 @zeroed($($init_zeroed:expr)?),
1169 @munch_fields($(..Zeroable::zeroed())? $(,)?),
1273 @munch_fields(..Zeroable::zeroed() $(,)?),
1284 let mut zeroed = ::core::mem::zeroed(); localVariable
1287 ::core::ptr::write($slot, zeroed);
1288 zeroed = ::core::mem::zeroed();
1296 ..zeroed
/linux-6.6.21/rust/alloc/vec/
Dinto_iter.rs199 Some(unsafe { mem::zeroed() }) in next()
291 if T::IS_ZST { mem::zeroed() } else { ptr::read(self.ptr.add(i)) } in __iterator_get_unchecked()
307 Some(unsafe { mem::zeroed() }) in next_back()
Dis_zero.rs159 let none: Self = unsafe { core::mem::MaybeUninit::zeroed().assume_init() };
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dpixfmt-v4l2-mplane.rst47 - Reserved for future extensions. Should be zeroed by drivers and
118 - Reserved for future extensions. Should be zeroed by drivers and
Dvidioc-enum-framesizes.rst163 - Reserved space for future use. Must be zeroed by drivers and
Dvidioc-create-bufs.rst45 array must be zeroed.
Dvidioc-enum-frameintervals.rst155 - Reserved space for future use. Must be zeroed by drivers and
Dvidioc-reqbufs.rst49 I/O method and the ``reserved`` array must be zeroed. When the ioctl is
/linux-6.6.21/arch/arm/nwfpe/
DChangeLog63 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-6.6.21/drivers/staging/media/av7110/
Dvideo-command.rst65 /* The structure must be zeroed before use by the application
Dvideo_types.rst103 The structure must be zeroed before use by the application This ensures
/linux-6.6.21/net/core/
Dgro.c464 BUILD_BUG_ON(sizeof_field(struct napi_gro_cb, zeroed) != sizeof(u32)); in dev_gro_receive()
465 BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct napi_gro_cb, zeroed), in dev_gro_receive()
467 *(u32 *)&NAPI_GRO_CB(skb)->zeroed = 0; in dev_gro_receive()
/linux-6.6.21/Documentation/driver-api/usb/
Dusb3-debug-port.rst76 [ 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-6.6.21/Documentation/driver-api/serial/
Dserial-iso7816.rst54 /* Reserved fields as to be zeroed */
/linux-6.6.21/Documentation/userspace-api/
Dfutex2.rst43 the upper bits are zeroed. ``uintptr_t`` does the tricky and it works for
/linux-6.6.21/arch/sh/
DKconfig.debug82 can already be guaranteed to ber zeroed on boot, say Y.
/linux-6.6.21/mm/
Dvmalloc.c3683 size_t zeroed = zero_iter(iter, to_zero); in vmap_ram_vread_iter() local
3685 addr += zeroed; in vmap_ram_vread_iter()
3686 remains -= zeroed; in vmap_ram_vread_iter()
3688 if (remains == 0 || zeroed != to_zero) in vmap_ram_vread_iter()
3797 size_t zeroed = zero_iter(iter, to_zero); in vread_iter() local
3799 addr += zeroed; in vread_iter()
3800 remains -= zeroed; in vread_iter()
3802 if (remains == 0 || zeroed != to_zero) in vread_iter()
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dwritecache.rst9 When the device is constructed, the first sector should be zeroed or the
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-fs-ext4104 The maximum number of kilobytes which will be zeroed
/linux-6.6.21/Documentation/filesystems/ext4/
Dgroup_descr.rst173 - inode table is zeroed (EXT4_BG_INODE_ZEROED).
/linux-6.6.21/include/net/
Dgro.h51 struct_group(zeroed,
/linux-6.6.21/Documentation/filesystems/
Ddax.rst234 are zeroed out and converted to written extents before being returned to avoid
268 and the next time they're allocated, they will be zeroed first, which
Dsysv-fs.rst117 0 on Xenix FS and SystemV FS, with a block zeroed out on Coherent FS.
/linux-6.6.21/Documentation/bpf/
Dmap_cgroup_storage.rst133 multiple attach types, and each attach creates a fresh zeroed storage. The

123