Home
last modified time | relevance | path

Searched full:fsync (Results 1 – 25 of 270) sorted by relevance

1234567891011

/linux-6.12.1/tools/testing/selftests/cachestat/
Dtest_cachestat.c98 * fsync() is implemented via noop_fsync() on tmpfs. This makes the fsync()
115 * If test_fsync == true, fsync the file, then check the number of dirty
171 } else if (fsync(fd)) { in test_cachestat()
172 ksft_print_msg("fsync fails.\n"); in test_cachestat()
177 ksft_print_msg("Cachestat call (after fsync) returned %ld\n", in test_cachestat()
186 "Number of dirty should be zero after fsync.\n"); in test_cachestat()
189 ksft_print_msg("Cachestat (after fsync) returned non-zero.\n"); in test_cachestat()
300 ksft_test_result_fail("cachestat fsync fails with normal file\n"); in main()
304 ksft_test_result_pass("cachestat fsync works with a normal file\n"); in main()
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Dlog-writes.rst104 Say you want to test fsync on your file system. You would do something like
113 <some test that does fsync at the end>
114 dmsetup message log 0 mark fsync
119 replay-log --log /dev/sdc --replay /dev/sdb --end-mark fsync
/linux-6.12.1/include/sound/
Dsoc-dai.h85 * FSYNC "normal" polarity depends on the frame format:
87 * with falling FSYNC edge, right channel starts with rising FSYNC edge.
89 * Left channel starts with rising FSYNC edge, right channel starts with
90 * falling FSYNC edge.
91 * - DSP A/B: Frame starts with rising FSYNC edge.
92 * - AC97: Frame starts with rising FSYNC edge.
94 * "Negative" FSYNC polarity is the one opposite of "normal" polarity.
/linux-6.12.1/fs/nilfs2/
Dfile.c3 * NILFS regular file handling primitives including fsync().
19 * Called from fsync() system call in nilfs_sync_file()
150 .fsync = nilfs_sync_file,
/linux-6.12.1/include/sound/sof/
Ddai-imx.h23 uint32_t fsync_rate; /* FSYNC frequency in Hz */
44 uint32_t fsync_rate; /* FSYNC frequency in Hz */
Ddai-amd.h18 uint32_t fsync_rate; /* FSYNC frequency in Hz */
/linux-6.12.1/fs/ext4/
Dfsync.c3 * linux/fs/ext4/fsync.c
13 * ext4fs fsync primitive
105 * Fastcommit does not really support fsync on directories or other in ext4_fsync_journal()
DMakefile9 extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,qe-tsa.yaml103 fsl,fsync-rising-edge:
109 fsl,fsync-active-low:
198 fsl,fsync-rising-edge;
Dfsl,cpm1-tsa.yaml103 fsl,fsync-rising-edge:
107 clock. If 'fsync-rising-edge' is not present, pulses are sampled with
193 fsl,fsync-rising-edge;
/linux-6.12.1/fs/btrfs/
Dbtrfs_inode.h57 * during fsync (we start as a fast fsync and then end up in a full
58 * fsync racing with ordered extent completion).
94 * writes. This is to signal a fast fsync that it has to wait for
296 /* the fsync log has some corner cases that mean we have to check
444 * the current transaction, then try to fsync it again in the same transaction,
467 * transaction that modified it, and then a fsync has reset the in btrfs_set_inode_full_sync()
Dtree-log.c48 * 1) on rename or unlink, if the inode being unlinked isn't in the fsync
49 * log, we must force a full commit before doing an fsync of the directory
57 * fsync foo/some_dir/some_file
59 * The fsync above will unlink the original some_dir without recording
61 * unless the fsync of some_file forces a full commit
63 * 2) we must log any new names for any file or dir that is in the fsync
79 * fsync(f1)
81 * The directory f1 was fully removed from the FS, but fsync was never
126 * Instead of doing a tree commit on every fsync, we use the
130 * and then the fsync is considered complete.
[all …]
Dreflink.c136 * $ sync # (or fsync) in copy_inline_to_page()
541 * make sure fsync does not log multiple checksum items with in btrfs_clone()
546 * sure a full fsync does not skip them. For the source inode, in btrfs_clone()
549 * the checksums problem on fsync. in btrfs_clone()
593 * need to make sure the next fsync is a full fsync, so that it in btrfs_clone()
901 * O_DSYNC or has the S_SYNC attribute, fsync both the destination and in btrfs_remap_file_range()
Dextent_map.c408 * we need to sync this extent when we call fsync().
965 * full fsync, otherwise a fast fsync will miss this in btrfs_drop_extent_map_range()
999 * modified extents (for fast fsync tracking).
1138 * of fsync because we may need to set the full sync flag on the inode, in btrfs_scan_inode()
1140 * extents. If we set the full sync flag in the inode while an fsync is in btrfs_scan_inode()
1142 * is set, fsync decides to only wait for writeback to complete and then in btrfs_scan_inode()
1184 * set the full sync flag so that the next fsync will not miss in btrfs_scan_inode()
/linux-6.12.1/sound/soc/codecs/
Dssm3515.c240 bool fpol_inv = false; /* non-inverted: frame starts with low-to-high FSYNC */ in ssm3515_set_fmt()
278 * what the datasheet calls 'Pulsed FSYNC mode' and '50% in ssm3515_set_fmt()
279 * FSYNC mode'. in ssm3515_set_fmt()
282 * the FSYNC polarity, so go with that. in ssm3515_set_fmt()
/linux-6.12.1/fs/gfs2/
Dglops.c53 * @fsync: set when called from fsync (not all buffers will be clean)
59 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush() argument
75 if (fsync) in __gfs2_ail_flush()
82 GLOCK_BUG_ON(gl, !fsync && atomic_read(&gl->gl_ail_count)); in __gfs2_ail_flush()
144 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() argument
156 __gfs2_ail_flush(gl, fsync, revokes); in gfs2_ail_flush()
Dglops.h26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
/linux-6.12.1/fs/
Dsync.c184 if (!file->f_op->fsync) in vfs_fsync_range()
188 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
193 * vfs_fsync - perform a fsync or fdatasync on a file
218 SYSCALL_DEFINE1(fsync, unsigned int, fd) in SYSCALL_DEFINE1() argument
/linux-6.12.1/fs/orangefs/
Dfile.c474 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync()
558 * Do not send fsync to OrangeFS server on a close. Do send fsync in orangefs_flush()
559 * on an explicit fsync call. This duplicates historical OrangeFS in orangefs_flush()
583 .fsync = orangefs_fsync,
/linux-6.12.1/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt59 - xlnx,flush-fsync: Tells which channel to Flush on Frame sync.
96 xlnx,flush-fsync = <0x1>;
/linux-6.12.1/fs/adfs/
Dfile.c29 .fsync = generic_file_fsync,
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi)
84 mpp57 57 gpio, dev(cs3), uart1(rxd), tdm(fsync), sata0(prsnt),
/linux-6.12.1/fs/ufs/
Dfile.c43 .fsync = generic_file_fsync,
/linux-6.12.1/fs/minix/
Dfile.c21 .fsync = generic_file_fsync,
/linux-6.12.1/fs/sysv/
Dfile.c28 .fsync = generic_file_fsync,

1234567891011