Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 40) sorted by relevance

12

/fs/ntfs/
Dmft.h80 MFT_RECORD *m, int sync);
82 extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync);
102 static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync) in write_mft_record() argument
109 err = write_mft_record_nolock(ni, m, sync); in write_mft_record()
Daops.c934 bool sync, is_mft, page_is_dirty, rec_is_dirty; in ntfs_write_mst_block() local
957 sync = (wbc->sync_mode == WB_SYNC_ALL); in ntfs_write_mst_block()
1208 if (is_mft && !sync) in ntfs_write_mst_block()
1234 if (is_mft && sync) { in ntfs_write_mst_block()
1257 sync); in ntfs_write_mst_block()
1259 if (!sync) in ntfs_write_mst_block()
Dinode.h310 extern int ntfs_write_inode(struct inode *vi, int sync);
Dmft.c466 MFT_RECORD *m, int sync) in ntfs_sync_mft_mirror() argument
669 int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync) in write_mft_record_nolock() argument
791 if (!sync && ni->mft_no < vol->mftmirr_size) in write_mft_record_nolock()
792 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync); in write_mft_record_nolock()
809 if (sync && ni->mft_no < vol->mftmirr_size) in write_mft_record_nolock()
810 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync); in write_mft_record_nolock()
/fs/ubifs/
Djournal.c280 int *lnum, int *offs, int sync) in write_head() argument
294 if (sync) in write_head()
540 int aligned_dlen, aligned_ilen, sync = IS_DIRSYNC(dir); in ubifs_jnl_update() local
564 sync |= IS_SYNC(inode); in ubifs_jnl_update()
610 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
613 if (!sync) { in ubifs_jnl_update()
763 int sync = 0, len = UBIFS_INO_NODE_SZ, last_reference = !inode->i_nlink; in ubifs_jnl_write_inode() local
773 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
785 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
788 if (!sync) in ubifs_jnl_write_inode()
[all …]
Ddir.c974 int err, release, sync = 0, move = (new_dir != old_dir); in ubifs_rename() local
1084 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_rename()
1086 sync = 1; in ubifs_rename()
1089 sync); in ubifs_rename()
/fs/
Dfs-writeback.c175 static int write_inode(struct inode *inode, int sync) in write_inode() argument
178 return inode->i_sb->s_op->write_inode(inode, sync); in write_inode()
445 int sync = wbc->sync_mode == WB_SYNC_ALL; in generic_sync_sb_inodes() local
528 if (sync) { in generic_sync_sb_inodes()
721 int write_inode_now(struct inode *inode, int sync) in write_inode_now() argument
726 .sync_mode = sync ? WB_SYNC_ALL : WB_SYNC_NONE, in write_inode_now()
738 if (sync) in write_inode_now()
Dsync.c39 SYSCALL_DEFINE0(sync) in SYSCALL_DEFINE0() argument
DMakefile13 pnode.o drop_caches.o splice.o sync.o utimes.o \
Dselect.c171 static int pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
194 return default_wake_function(&dummy_wait, mode, sync, key); in pollwake()
/fs/btrfs/
Dlocking.c131 int sync, void *key) in btrfs_wake_function() argument
133 autoremove_wake_function(wait, mode, sync, key); in btrfs_wake_function()
/fs/jfs/
Djfs_logmgr.c965 if (log->sync == log->syncpt) { in lmLogSync()
968 log->sync = log->lsn; in lmLogSync()
972 log->sync = lp->lsn; in lmLogSync()
982 if (log->sync != log->syncpt) { in lmLogSync()
987 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
990 log->syncpt = log->sync; in lmLogSync()
1026 log->syncpt = log->sync = lsn; in lmLogSync()
1394 lrd.log.syncpt.sync = 0; in lmLogInit()
1419 log->sync = log->syncpt; in lmLogInit()
1423 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
Djfs_logmgr.h294 __le32 sync; /* 4: syncpt address (0 = here) */ member
408 int sync; /* 4: addr from last logsync() */ member
/fs/nfs/
Ddirect.c689 loff_t pos, int sync) in nfs_direct_write_schedule_segment() argument
755 data->args.stable = sync; in nfs_direct_write_schedule_segment()
799 loff_t pos, int sync) in nfs_direct_write_schedule_iovec() argument
810 pos, sync); in nfs_direct_write_schedule_iovec()
838 int sync = NFS_UNSTABLE; in nfs_direct_write() local
846 sync = NFS_FILE_SYNC; in nfs_direct_write()
853 result = nfs_direct_write_schedule_iovec(dreq, iov, nr_segs, pos, sync); in nfs_direct_write()
Dinode.c87 int nfs_write_inode(struct inode *inode, int sync) in nfs_write_inode() argument
91 if (sync) { in nfs_write_inode()
/fs/jffs2/
Dsuper.c192 if (c->mtd->sync) in jffs2_put_super()
193 c->mtd->sync(c->mtd); in jffs2_put_super()
/fs/gfs2/
Dops_super.c51 static int gfs2_write_inode(struct inode *inode, int sync) in gfs2_write_inode() argument
86 if (sync != 0) in gfs2_write_inode()
Dquota.c930 int sync; in gfs2_quota_unlock() local
933 sync = need_sync(qd); in gfs2_quota_unlock()
937 if (sync && qd_trylock(qd)) in gfs2_quota_unlock()
/fs/xfs/
Dxfs_trans.c797 int sync; in _xfs_trans_commit() local
914 sync = tp->t_flags & XFS_TRANS_SYNC; in _xfs_trans_commit()
984 if (sync) { in _xfs_trans_commit()
/fs/ocfs2/
Dquota_global.c740 int sync = 0; in ocfs2_mark_dquot_dirty() local
755 sync = 1; in ocfs2_mark_dquot_dirty()
759 if (!sync || journal_current_handle()) { in ocfs2_mark_dquot_dirty()
/fs/afs/
Dwrite.c590 int afs_write_inode(struct inode *inode, int sync) in afs_write_inode() argument
598 if (sync) { in afs_write_inode()
/fs/reiserfs/
DREADME54 it is for users to get their fsck and mkreiserfs out of sync with the
56 distributors wanting them out of sync.:-) Please try to remember to
/fs/yaffs2/
Dyaffs_fs.c1730 if (mtd->sync)
1731 mtd->sync(mtd);
1778 if (mtd->sync)
1779 mtd->sync(mtd);
/fs/ufs/
Dballoc.c336 int sync) in ufs_clear_frags() argument
348 if (IS_SYNC(inode) || sync) in ufs_clear_frags()
/fs/cifs/
DTODO32 h) investigate sync behavior (including syncpage) and check

12