| /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 */
|
| H A D | dai-amd.h | 18 uint32_t fsync_rate; /* FSYNC frequency in Hz */
|
| /linux/Documentation/filesystems/ |
| H A D | overlayfs.rst | 789 The fsync(2) system call ensures that the data and metadata of a file 793 Without an fsync(2) call, there is no guarantee that the observed 801 ordering on storing changes without explicit fsync(2) calls, in case 804 experience, overlayfs calls fsync(2) on the upper file before completing 807 By default, overlayfs does not explicitly call fsync(2) on copied up 809 persist the user's modification unless the user calls fsync(2). 810 The fsync during copy up only guarantees that if a copy up is observed 815 fsync on a file also persists the parent directory changes, because they 821 to the underlying upper layer. This is controlled by the "fsync" mount 825 Call fsync(2) on upper file before completion of data copy up. [all …]
|
| /linux/fs/ext4/ |
| H A D | fsync.c | 3 * linux/fs/ext4/fsync.c 13 * ext4fs fsync primitive 118 * 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/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()
|
| 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/ |
| H A D | sync.c | 182 if (!file->f_op->fsync) in vfs_fsync_range() 186 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 191 * vfs_fsync - perform a fsync or fdatasync on a file 214 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/fs/btrfs/ |
| H A D | tree-log.c | 50 * 1) on rename or unlink, if the inode being unlinked isn't in the fsync 51 * log, we must force a full commit before doing an fsync of the directory 59 * fsync foo/some_dir/some_file 61 * The fsync above will unlink the original some_dir without recording 63 * unless the fsync of some_file forces a full commit 65 * 2) we must log any new names for any file or dir that is in the fsync 81 * fsync(f1) 83 * The directory f1 was fully removed from the FS, but fsync was never 245 * Instead of doing a tree commit on every fsync, we use the 249 * and then the fsync is considered complete. [all …]
|
| /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/gfs2/ |
| H A D | glops.h | 26 void gfs2_ail_flush(struct gfs2_glock *gl, bool 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/fs/ramfs/ |
| H A D | file-mmu.c | 45 .fsync = noop_fsync,
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | common.c | 10 fsync(dev->fds[i]); in backing_file_tgt_deinit()
|
| /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/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() 1149 * With "fsync=strict", we fsync after final metadata copyup, for in ovl_copy_up_one() 1153 * By default, we want to avoid fsync on all meta copyup, because in ovl_copy_up_one() 1155 * only fsync on data copyup as legacy behavior. in ovl_copy_up_one()
|
| /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/smb/client/ |
| H A D | cifsfs.c | 1527 * Directory operations under CIFS/SMB2/SMB3 are synchronous, so fsync() 1569 .fsync = cifs_fsync, 1589 .fsync = cifs_strict_fsync, 1609 .fsync = cifs_fsync, 1627 .fsync = cifs_fsync, 1645 .fsync = cifs_strict_fsync, 1663 .fsync = cifs_fsync, 1684 .fsync = cifs_dir_fsync,
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | errseq.rst | 22 最初的用例是跟踪文件同步系统调用( ``fsync``, ``fdatasync``, ``msync`` 和
|