| /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/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/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 */
|
| /linux/Documentation/filesystems/ |
| H A D | overlayfs.rst | 804 The fsync(2) system call ensures that the data and metadata of a file 808 Without an fsync(2) call, there is no guarantee that the observed 816 ordering on storing changes without explicit fsync(2) calls, in case 819 experience, overlayfs calls fsync(2) on the upper file before completing 822 By default, overlayfs does not explicitly call fsync(2) on copied up 824 persist the user's modification unless the user calls fsync(2). 825 The fsync during copy up only guarantees that if a copy up is observed 830 fsync on a file also persists the parent directory changes, because they 836 to the underlying upper layer. This is controlled by the "fsync" mount 840 Call fsync(2) on upper file before completion of data copy up. [all …]
|
| /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/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 288 /* the fsync log has some corner cases that mean we have to check 415 * the current transaction, then try to fsync it again in the same transaction, 438 * transaction that modified it, and then a fsync has reset the in btrfs_set_inode_full_sync()
|
| H A D | tree-log.c | 39 * 1) on rename or unlink, if the inode being unlinked isn't in the fsync 40 * log, we must force a full commit before doing an fsync of the directory 48 * fsync foo/some_dir/some_file 50 * The fsync above will unlink the original some_dir without recording 52 * unless the fsync of some_file forces a full commit 54 * 2) we must log any new names for any file or dir that is in the fsync 70 * fsync(f1) 72 * The directory f1 was fully removed from the FS, but fsync was never 234 * Instead of doing a tree commit on every fsync, we use the 238 * and then the fsync is considered complete. [all …]
|
| H A D | reflink.c | 134 * $ sync # (or fsync) in copy_inline_to_page() 596 * make sure fsync does not log multiple checksum items with in btrfs_clone() 601 * sure a full fsync does not skip them. For the source inode, in btrfs_clone() 604 * the checksums problem on fsync. in btrfs_clone() 648 * need to make sure the next fsync is a full fsync, so that it in btrfs_clone() 969 * O_DSYNC or has the S_SYNC attribute, fsync both the destination and in btrfs_remap_file_range()
|
| H A D | extent_map.c | 418 * we need to sync this extent when we call fsync(). 972 * full fsync, otherwise a fast fsync will miss this in btrfs_drop_extent_map_range() 1006 * modified extents (for fast fsync tracking). 1146 * of fsync because we may need to set the full sync flag on the inode, in btrfs_scan_inode() 1148 * extents. If we set the full sync flag in the inode while an fsync is in btrfs_scan_inode() 1150 * is set, fsync decides to only wait for writeback to complete and then in btrfs_scan_inode() 1176 * set the full sync flag so that the next fsync will not miss in btrfs_scan_inode()
|
| H A D | transaction.h | 30 * direct IO writes when fsync is called during the direct IO write path. 116 * committing. These are ordered extents started by a fast fsync.
|
| /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()
|
| H A D | cs42l42.c | 790 u32 fsync = sclk / sample_rate; in cs42l42_asp_config() local 793 if (((fsync * sample_rate) != sclk) || ((fsync % 2) != 0)) { in cs42l42_asp_config() 804 CS42L42_FRAC0_VAL(fsync - 1) << in cs42l42_asp_config() 809 CS42L42_FRAC1_VAL(fsync - 1) << in cs42l42_asp_config() 812 fsync = fsync / 2; in cs42l42_asp_config() 816 CS42L42_FRAC0_VAL(fsync - 1) << in cs42l42_asp_config() 821 CS42L42_FRAC1_VAL(fsync - 1) << in cs42l42_asp_config()
|
| /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/fs/gfs2/ |
| H A D | glops.h | 26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
| /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/ramfs/ |
| H A D | file-mmu.c | 45 .fsync = noop_fsync,
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arg_parsing.c | 147 if (!ASSERT_OK(fsync(fileno(fp)), "fsync tmp")) in test_parse_test_list_file()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | common.c | 10 fsync(dev->fds[i]); in backing_file_tgt_deinit()
|
| /linux/Documentation/devicetree/bindings/dma/xilinx/ |
| H A D | xlnx,axi-dma.yaml | 83 xlnx,flush-fsync: 259 xlnx,flush-fsync = <1>;
|
| /linux/include/uapi/sound/ |
| H A D | asoc.h | 177 /* DAI topology FSYNC parameter 178 * For the backwards capability, by default codec is fsync provider 180 #define SND_SOC_TPLG_FSYNC_CP 0 /* codec is fsync provider */ 181 #define SND_SOC_TPLG_FSYNC_CC 1 /* codec is fsync consumer */
|
| /linux/Documentation/filesystems/fuse/ |
| H A D | fuse-io.rst | 38 reclaim on memory pressure) or explicitly (invoked by close(2), fsync(2) and
|
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 360 /* call fsync once, either now or later along with metadata */ in ovl_copy_up_file() 720 /* fsync metadata before moving it into upper dir */ in ovl_copy_up_metadata() 1157 * With "fsync=strict", we fsync after final metadata copyup, for in ovl_copy_up_one() 1161 * By default, we want to avoid fsync on all meta copyup, because in ovl_copy_up_one() 1163 * only fsync on data copyup as legacy behavior. in ovl_copy_up_one()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | errseq.rst | 22 最初的用例是跟踪文件同步系统调用( ``fsync``, ``fdatasync``, ``msync`` 和
|