Home
last modified time | relevance | path

Searched refs:fsync (Results 1 – 25 of 149) sorted by relevance

123456

/linux/fs/
H A Dsync.c182 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 Daio.c201 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 Dglops.c58 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 Dglops.h26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
/linux/Documentation/admin-guide/device-mapper/
H A 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/sound/soc/codecs/
H A Dcs42l84.c371 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 Dcs42l42.c790 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 Dfile.c29 .fsync = generic_file_fsync,
/linux/fs/ufs/
H A Dfile.c44 .fsync = generic_file_fsync,
/linux/fs/ramfs/
H A Dfile-mmu.c45 .fsync = noop_fsync,
/linux/fs/minix/
H A Dfile.c21 .fsync = generic_file_fsync,
/linux/drivers/media/i2c/
H A Dmax9286.c576 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 Dcommon.c10 fsync(dev->fds[i]); in backing_file_tgt_deinit()
/linux/fs/ext4/
H A DMakefile9 extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
/linux/fs/qnx4/
H A Ddir.c74 .fsync = generic_file_fsync,
/linux/Documentation/translations/zh_CN/core-api/
H A Derrseq.rst22 最初的用例是跟踪文件同步系统调用( ``fsync``, ``fdatasync``, ``msync`` 和
/linux/Documentation/filesystems/
H A Doverlayfs.rst789 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 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/fs/ecryptfs/
H A Dfile.c423 .fsync = ecryptfs_fsync,
439 .fsync = ecryptfs_fsync,
/linux/Documentation/devicetree/bindings/dma/xilinx/
H A Dxilinx_dma.txt59 - xlnx,flush-fsync: Tells which channel to Flush on Frame sync.
96 xlnx,flush-fsync = <0x1>;
/linux/fs/smb/client/
H A Dcifsfs.c1602 .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 Ddir.c160 .fsync = generic_file_fsync,
/linux/fs/nilfs2/
H A Dfile.c151 .fsync = nilfs_sync_file,
/linux/fs/orangefs/
H A Dfile.c476 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync()
585 .fsync = orangefs_fsync,
/linux/fs/jfs/
H A Dfile.c153 .fsync = jfs_fsync,

123456