Home
last modified time | relevance | path

Searched full:zeroing (Results 1 – 25 of 141) sorted by relevance

123456

/linux/net/ceph/
H A Dpagevec.c83 dout("zeroing %d %p head from %d\n", i, pages[i], in ceph_zero_page_vector_range()
90 dout("zeroing %d %p len=%d\n", i, pages[i], len); in ceph_zero_page_vector_range()
97 dout("zeroing %d %p tail to %d\n", i, pages[i], (int)len); in ceph_zero_page_vector_range()
/linux/fs/ext4/
H A Dfile.c219 * Does an unaligned DIO write require partial block zeroing?
221 * Partial block zeroing is performed only for the head and tail blocks
224 * are written as whole blocks without zeroing.
226 * When zeroing is required, two concurrent unaligned DIO writes to the
229 * zeroing is not required, shared lock is safe -- block allocation and
488 * safe unless the DIO layer needs to perform partial block zeroing --
491 * in-flight DIO to avoid races with concurrent partial block zeroing.
515 * For unaligned writes, check whether partial block zeroing will be in ext4_dio_write_checks()
517 * concurrent DIO that could race with the zeroing. in ext4_dio_write_checks()
542 * needs partial block zeroing or is extending the file, we must wait in ext4_dio_write_checks()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-mcp356422 auto-zeroing algorithm (the input multiplexer and the ADC
48 limitation, the buffer includes an auto-zeroing algorithm that
/linux/rust/pin-init/internal/src/
H A Dinit.rs122 InitKind::Zeroing => quote! {
178 Zeroing,
202 return InitKind::Zeroing;
334 InitKind::Zeroing => Some(quote! {
352 // If the zeroing trailer is not present, this checks that all fields have been
353 // mentioned exactly once. If the zeroing trailer is present, all missing fields will be
/linux/fs/xfs/
H A Dxfs_file.c365 * Take care of zeroing post-EOF blocks when they might exist.
391 * hence be able to correctly determine if we need to run zeroing. in xfs_file_write_zero_eof()
406 * If zeroing is needed and we are currently holding the iolock in xfs_file_write_zero_eof()
543 * iolock. Also we need to reserve a block each for zeroing the old in xfs_zoned_write_space_reserve()
872 * to do sub-block zeroing and that requires serialisation against other direct
874 * the unaligned I/O so that we don't get racing block zeroing in the dio layer.
875 * In the case where sub-block zeroing is not required, we can do concurrent
880 * if block allocation or partial block zeroing would be required. In that case
896 * Extending writes need exclusivity because of the sub-block zeroing in xfs_file_dio_write_unaligned()
1336 * Zero range implements a full zeroing mechanism but is only used in limited
[all …]
H A Dxfs_iomap.c737 /* don't allocate blocks when just zeroing */ in imap_needs_alloc()
760 /* when zeroing we don't have to COW holes or unwritten extents */ in imap_needs_cow()
973 * requiring sub-block zeroing. This can only be done under an in xfs_direct_write_iomap_begin()
1646 * For zeroing operations check if there is any data to zero first. in xfs_zoned_buffered_write_iomap_begin()
1697 * When zeroing, don't allocate blocks for holes as they are already in xfs_zoned_buffered_write_iomap_begin()
1878 * cache and fill the iomap batch with folios that need zeroing. in xfs_buffered_write_iomap_begin()
1897 /* no zeroing beyond eof, so split at the boundary */ in xfs_buffered_write_iomap_begin()
1928 * For zeroing, trim extents that extend beyond the EOF block. If a in xfs_buffered_write_iomap_begin()
1943 * pagecache in need of zeroing. in xfs_buffered_write_iomap_begin()
1977 * overwriting shared extents. This includes zeroing of in xfs_buffered_write_iomap_begin()
[all …]
/linux/drivers/usb/musb/
H A Dmusb_regs.h103 /* CSR0 bits to avoid zeroing (write zero clears, write 1 ignored) */
151 /* TXCSR bits to avoid zeroing (write zero clears, write 1 ignored) */
186 /* RXCSR bits to avoid zeroing (write zero clears, write 1 ignored) */
/linux/security/
H A DKconfig.hardening160 bool "Enable heap memory zeroing on allocation by default"
173 bool "Enable heap memory zeroing on free by default"
195 bool "Enable register zeroing on function exit"
/linux/fs/ocfs2/
H A Dblockcheck.c341 * take care of zeroing it before calculating the check information. If
372 * the function will take care of zeroing bc before calculating check codes.
433 * take care of zeroing it before calculating the check information. If
479 * zeroing bc before calculating check codes. If bc is not a pointer
/linux/include/linux/
H A Dstackprotector.h11 * by zeroing out the first byte of the canary; this leaves 56 bits of entropy.
/linux/tools/testing/selftests/powerpc/math/
H A Dmma.S17 * X-form (xxmtacc) (not needed due to above zeroing) */
/linux/drivers/net/wireguard/
H A Dtimers.c23 * - Timer for zeroing out all ephemeral keys after `(REJECT_AFTER_TIME * 3)` ms
130 …pr_debug("%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one i… in wg_queued_expired_zero_key_material()
/linux/Documentation/filesystems/iomap/
H A Doperations.rst270 Zeroing for File Operations
273 Filesystems can call ``iomap_zero_range`` to perform zeroing of the
465 sub-block zeroing safely.
550 * ``IOMAP_OVERWRITE_ONLY``: Allocating blocks and zeroing partial
555 if the mapping is unwritten and the filesystem cannot handle zeroing
/linux/Documentation/admin-guide/device-mapper/
H A Dthin-provisioning.rst73 make one by zeroing the first 4k to indicate empty metadata.
115 not zeroing newly-allocated data, a larger $data_block_size in the
275 Skip the zeroing of newly-provisioned blocks.
/linux/lib/crypto/mpi/
H A Dmpih-mul.c62 * stored (not added) to PROD. We also avoid a loop for zeroing. */ in mul_n_basecase()
214 * stored (not added) to PROD. We also avoid a loop for zeroing. */ in mpih_sqr_n_basecase()
444 * stored (not added) to PROD. We also avoid a loop for zeroing. */ in mpihelp_mul()
/linux/kernel/bpf/preload/
H A Dbpf_preload_kern.c61 /* Avoid taking over stdin/stdout/stderr of init process. Zeroing out in load_skel()
/linux/lib/tests/
H A Dstackinit_kunit.c3 * Test cases for compiler-based stack variable zeroing via
198 * @var_type: type to be tested for zeroing initialization
585 MODULE_DESCRIPTION("Test cases for compiler-based stack variable zeroing");
/linux/tools/perf/pmu-events/arch/x86/amdzen1/
H A Dcache.json200 …on": "LS to L2 WCB cache line zeroing requests. LS (Load/Store unit) to L2 WCB (Write Combining Bu…
/linux/arch/sh/
H A DKconfig.debug76 bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
/linux/tools/perf/pmu-events/arch/x86/amdzen2/
H A Dcache.json130 …on": "LS to L2 WCB cache line zeroing requests. LS (Load/Store unit) to L2 WCB (Write Combining Bu…
/linux/drivers/net/ethernet/intel/igc/
H A Digc_base.c315 hw_dbg("Zeroing the MTA\n"); in igc_init_hw_base()
320 hw_dbg("Zeroing the UTA\n"); in igc_init_hw_base()
/linux/arch/x86/boot/compressed/
H A Dvmlinux.lds.S69 . = ALIGN(8); /* For convenience during zeroing */
/linux/drivers/block/drbd/
H A Ddrbd_protocol.h239 * zeroing" (by "discarding" blocks aligned to discard-granularity, and zeroing
/linux/tools/perf/pmu-events/arch/x86/amdzen3/
H A Dcache.json130 …on": "LS to L2 WCB cache line zeroing requests. LS (Load/Store unit) to L2 WCB (Write Combining Bu…
/linux/include/uapi/linux/
H A Dfalloc.h90 * granularity of the zeroing operation. Most will preferably be accelerated

123456