| /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() 214 SYSCALL_DEFINE1(fsync, unsigned int, fd) in SYSCALL_DEFINE1() argument
|
| H A D | aio.c | 201 struct fsync_iocb fsync; member 1641 struct aio_kiocb *iocb = container_of(work, struct aio_kiocb, fsync.work); in aio_fsync_work() 1643 scoped_with_creds(iocb->fsync.creds) in aio_fsync_work() 1644 iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync); in aio_fsync_work() 1646 put_cred(iocb->fsync.creds); in aio_fsync_work() 1657 if (unlikely(!req->file->f_op->fsync)) in aio_fsync() 2011 return aio_fsync(&req->fsync, iocb, false); in __io_submit_one() 2013 return aio_fsync(&req->fsync, iocb, true); in __io_submit_one()
|
| /linux/fs/gfs2/ |
| H A D | glops.c | 58 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush() argument 74 if (fsync) in __gfs2_ail_flush() 81 GLOCK_BUG_ON(gl, !fsync && atomic_read(&gl->gl_ail_count)); in __gfs2_ail_flush() 140 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() argument 152 __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/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/sound/soc/codecs/ |
| H A D | cs42l84.c | 371 u32 fsync; in cs42l84_pll_config() local 394 fsync = clk / cs42l84->srate; in cs42l84_pll_config() 395 if (((fsync * cs42l84->srate) != clk) in cs42l84_pll_config() 396 || ((fsync % 2) != 0)) { in cs42l84_pll_config() 406 FIELD_PREP(CS42L84_ASP_FSYNC_CTL2_BCLK_PERIOD_LO, fsync & 0x7f)); in cs42l84_pll_config() 409 FIELD_PREP(CS42L84_ASP_FSYNC_CTL3_BCLK_PERIOD_HI, fsync >> 7)); in cs42l84_pll_config()
|
| 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/adfs/ |
| H A D | file.c | 29 .fsync = generic_file_fsync,
|
| /linux/fs/ufs/ |
| H A D | file.c | 44 .fsync = generic_file_fsync,
|
| /linux/fs/ramfs/ |
| H A D | file-mmu.c | 45 .fsync = noop_fsync,
|
| /linux/fs/minix/ |
| H A D | file.c | 21 .fsync = generic_file_fsync,
|
| /linux/drivers/media/i2c/ |
| H A D | max9286.c | 576 u32 fsync; in max9286_set_fsync_period() local 595 fsync = div_u64((u64)priv->pixelrate * interval->numerator, in max9286_set_fsync_period() 598 dev_dbg(&priv->client->dev, "fsync period %u (pclk %u)\n", fsync, in max9286_set_fsync_period() 604 max9286_write(priv, 0x06, (fsync >> 0) & 0xff); in max9286_set_fsync_period() 605 max9286_write(priv, 0x07, (fsync >> 8) & 0xff); in max9286_set_fsync_period() 606 max9286_write(priv, 0x08, (fsync >> 16) & 0xff); in max9286_set_fsync_period()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | common.c | 10 fsync(dev->fds[i]); in backing_file_tgt_deinit()
|
| /linux/fs/ext4/ |
| H A D | Makefile | 9 extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
|
| /linux/fs/qnx4/ |
| H A D | dir.c | 74 .fsync = generic_file_fsync,
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | errseq.rst | 22 最初的用例是跟踪文件同步系统调用( ``fsync``, ``fdatasync``, ``msync`` 和
|
| /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/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/ecryptfs/ |
| H A D | file.c | 423 .fsync = ecryptfs_fsync, 439 .fsync = ecryptfs_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/fs/smb/client/ |
| H A D | cifsfs.c | 1602 .fsync = cifs_fsync, 1622 .fsync = cifs_strict_fsync, 1642 .fsync = cifs_fsync, 1660 .fsync = cifs_fsync, 1678 .fsync = cifs_strict_fsync, 1696 .fsync = cifs_fsync, 1717 .fsync = cifs_dir_fsync,
|
| /linux/fs/udf/ |
| H A D | dir.c | 160 .fsync = generic_file_fsync,
|
| /linux/fs/nilfs2/ |
| H A D | file.c | 151 .fsync = nilfs_sync_file,
|
| /linux/fs/orangefs/ |
| H A D | file.c | 476 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync() 585 .fsync = orangefs_fsync,
|
| /linux/fs/jfs/ |
| H A D | file.c | 153 .fsync = jfs_fsync,
|