| /linux/tools/testing/selftests/cachestat/ |
| H A D | test_cachestat.c | 103 * fsync() is implemented via noop_fsync() on tmpfs. This makes the fsync() 120 * If test_fsync == true, fsync the file, then check the number of dirty 176 } else if (fsync(fd)) { in test_cachestat() 177 ksft_print_msg("fsync fails.\n"); in test_cachestat() 182 ksft_print_msg("Cachestat call (after fsync) returned %ld\n", in test_cachestat() 191 "Number of dirty should be zero after fsync.\n"); in test_cachestat() 194 ksft_print_msg("Cachestat (after fsync) returned non-zero.\n"); in test_cachestat() 340 ksft_test_result_fail("cachestat fsync fails with normal file\n"); in main() 344 ksft_test_result_pass("cachestat fsync works with a normal file\n"); in main()
|
| /linux/include/sound/ |
| H A D | soc-dai.h | 85 * 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/Documentation/admin-guide/device-mapper/ |
| H A D | log-writes.rst | 104 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/fs/nilfs2/ |
| H A D | file.c | 3 * NILFS regular file handling primitives including fsync(). 19 * Called from fsync() system call in nilfs_sync_file() 150 .fsync = nilfs_sync_file,
|
| /linux/include/sound/sof/ |
| H A D | dai-imx.h | 23 uint32_t fsync_rate; /* FSYNC frequency in Hz */ 44 uint32_t fsync_rate; /* FSYNC frequency in Hz */
|
| H A D | dai-amd.h | 18 uint32_t fsync_rate; /* FSYNC frequency in Hz */
|
| /linux/fs/ext4/ |
| H A D | fsync.c | 3 * linux/fs/ext4/fsync.c 13 * ext4fs fsync primitive 105 * Fastcommit does not really support fsync on directories or other in ext4_fsync_journal()
|
| H A D | Makefile | 9 extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
|
| /linux/fs/btrfs/ |
| H A D | btrfs_inode.h | 57 * 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 297 /* the fsync log has some corner cases that mean we have to check 450 * the current transaction, then try to fsync it again in the same transaction, 473 * transaction that modified it, and then a fsync has reset the in btrfs_set_inode_full_sync()
|
| H A D | tree-log.c | 49 * 1) on rename or unlink, if the inode being unlinked isn't in the fsync 50 * log, we must force a full commit before doing an fsync of the directory 58 * fsync foo/some_dir/some_file 60 * The fsync above will unlink the original some_dir without recording 62 * unless the fsync of some_file forces a full commit 64 * 2) we must log any new names for any file or dir that is in the fsync 80 * fsync(f1) 82 * The directory f1 was fully removed from the FS, but fsync was never 244 * Instead of doing a tree commit on every fsync, we use the 248 * and then the fsync is considered complete. [all …]
|
| H A D | reflink.c | 133 * $ sync # (or fsync) in copy_inline_to_page() 542 * make sure fsync does not log multiple checksum items with in btrfs_clone() 547 * sure a full fsync does not skip them. For the source inode, in btrfs_clone() 550 * the checksums problem on fsync. in btrfs_clone() 594 * need to make sure the next fsync is a full fsync, so that it in btrfs_clone() 903 * O_DSYNC or has the S_SYNC attribute, fsync both the destination and in btrfs_remap_file_range()
|
| H A D | extent_map.c | 406 * we need to sync this extent when we call fsync(). 960 * full fsync, otherwise a fast fsync will miss this in btrfs_drop_extent_map_range() 994 * modified extents (for fast fsync tracking). 1134 * of fsync because we may need to set the full sync flag on the inode, in btrfs_scan_inode() 1136 * extents. If we set the full sync flag in the inode while an fsync is in btrfs_scan_inode() 1138 * is set, fsync decides to only wait for writeback to complete and then in btrfs_scan_inode() 1164 * set the full sync flag so that the next fsync will not miss in btrfs_scan_inode()
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| H A D | fsl,cpm1-tsa.yaml | 103 fsl,fsync-rising-edge: 107 clock. If 'fsync-rising-edge' is not present, pulses are sampled with 193 fsl,fsync-rising-edge;
|
| H A D | fsl,qe-tsa.yaml | 103 fsl,fsync-rising-edge: 109 fsl,fsync-active-low: 198 fsl,fsync-rising-edge;
|
| /linux/sound/soc/rockchip/ |
| H A D | rockchip_sai.h | 65 * SCLK/FSYNC auto gated when TX FIFO empty. 157 * | DATA LEFTx (step: 0.5 cycle) | FSYNC Edge | 164 * | FSYNC Edge | DATA RIGHTx (step: 0.5 cycle) | 199 * Optimize SCLK/FSYNC Timing Alignment
|
| /linux/sound/soc/codecs/ |
| H A D | ssm3515.c | 240 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/fs/gfs2/ |
| H A D | glops.c | 54 * @fsync: set when called from fsync (not all buffers will be clean) 60 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush() argument 76 if (fsync) in __gfs2_ail_flush() 83 GLOCK_BUG_ON(gl, !fsync && atomic_read(&gl->gl_ail_count)); in __gfs2_ail_flush() 145 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() argument 157 __gfs2_ail_flush(gl, fsync, revokes); in gfs2_ail_flush()
|
| H A D | glops.h | 26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
| /linux/fs/ |
| H A D | sync.c | 183 if (!file->f_op->fsync) in vfs_fsync_range() 187 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 192 * vfs_fsync - perform a fsync or fdatasync on a file 215 SYSCALL_DEFINE1(fsync, unsigned int, fd) in SYSCALL_DEFINE1() argument
|
| /linux/fs/orangefs/ |
| H A D | file.c | 476 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync() 560 * Do not send fsync to OrangeFS server on a close. Do send fsync in orangefs_flush() 561 * on an explicit fsync call. This duplicates historical OrangeFS in orangefs_flush() 585 .fsync = orangefs_fsync,
|
| /linux/Documentation/devicetree/bindings/dma/xilinx/ |
| H A D | xilinx_dma.txt | 59 - xlnx,flush-fsync: Tells which channel to Flush on Frame sync. 96 xlnx,flush-fsync = <0x1>;
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,armada-370-pinctrl.txt | 26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi) 84 mpp57 57 gpio, dev(cs3), uart1(rxd), tdm(fsync), sata0(prsnt),
|
| /linux/fs/adfs/ |
| H A D | file.c | 29 .fsync = generic_file_fsync,
|
| /linux/fs/ufs/ |
| H A D | file.c | 43 .fsync = generic_file_fsync,
|
| /linux/fs/minix/ |
| H A D | file.c | 21 .fsync = generic_file_fsync,
|