Home
last modified time | relevance | path

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

123

/fs/ntfs/
Dmft.h66 MFT_RECORD *m, int sync);
68 extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync);
88 static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync) in write_mft_record() argument
95 err = write_mft_record_nolock(ni, m, sync); in write_mft_record()
Daops.c917 bool sync, is_mft, page_is_dirty, rec_is_dirty; in ntfs_write_mst_block() local
943 sync = (wbc->sync_mode == WB_SYNC_ALL); in ntfs_write_mst_block()
1194 if (is_mft && !sync) in ntfs_write_mst_block()
1220 if (is_mft && sync) { in ntfs_write_mst_block()
1243 sync); in ntfs_write_mst_block()
1245 if (!sync) in ntfs_write_mst_block()
Dinode.h296 extern int __ntfs_write_inode(struct inode *vi, int sync);
Dmft.c455 MFT_RECORD *m, int sync) in ntfs_sync_mft_mirror() argument
660 int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync) in write_mft_record_nolock() argument
786 if (!sync && ni->mft_no < vol->mftmirr_size) in write_mft_record_nolock()
787 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync); in write_mft_record_nolock()
804 if (sync && ni->mft_no < vol->mftmirr_size) in write_mft_record_nolock()
805 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync); in write_mft_record_nolock()
/fs/ubifs/
Djournal.c269 int *lnum, int *offs, int sync) in write_head() argument
290 if (sync) in write_head()
543 int aligned_dlen, aligned_ilen, sync = IS_DIRSYNC(dir); in ubifs_jnl_update() local
567 sync |= IS_SYNC(inode); in ubifs_jnl_update()
635 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
638 if (!sync) { in ubifs_jnl_update()
845 int sync = 0, write_len = 0, ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode() local
858 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
929 err = write_head(c, BASEHD, ino_start, write_len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
932 if (!sync) in ubifs_jnl_write_inode()
[all …]
Ddir.c1255 int err, release, sync = 0, move = (new_dir != old_dir); in do_rename() local
1408 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in do_rename()
1410 sync = 1; in do_rename()
1433 new_inode, &new_nm, whiteout, sync); in do_rename()
1492 int sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_xrename() local
1531 snd_inode, &snd_nm, sync); in ubifs_xrename()
/fs/nfs/
Dfscache.h158 int sync) in nfs_readpage_to_fscache() argument
161 __nfs_readpage_to_fscache(inode, page, sync); in nfs_readpage_to_fscache()
228 struct page *page, int sync) {} in nfs_readpage_to_fscache() argument
Dpnfs.h168 int (*sync)(struct inode *inode, bool datasync); member
236 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
295 int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
531 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
780 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
Dnfs42proc.c259 if (args->sync) { in _nfs42_proc_copy()
275 if (args->sync && in _nfs42_proc_copy()
289 if ((!res->synchronous || !args->sync) && in _nfs42_proc_copy()
301 if (args->sync) in _nfs42_proc_copy()
319 .sync = false, in nfs42_proc_copy()
361 } else if (err == -NFS4ERR_OFFLOAD_NO_REQS && !args.sync) { in nfs42_proc_copy()
362 args.sync = true; in nfs42_proc_copy()
Dfscache.c488 void __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) in __nfs_readpage_to_fscache() argument
494 nfs_i_fscache(inode), page, page->index, page->flags, sync); in __nfs_readpage_to_fscache()
/fs/jfs/
Djfs_logmgr.c954 if (log->sync == log->syncpt) { in lmLogSync()
957 log->sync = log->lsn; in lmLogSync()
961 log->sync = lp->lsn; in lmLogSync()
971 if (log->sync != log->syncpt) { in lmLogSync()
976 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
979 log->syncpt = log->sync; in lmLogSync()
1013 log->syncpt = log->sync = lsn; in lmLogSync()
1373 lrd.log.syncpt.sync = 0; in lmLogInit()
1398 log->sync = log->syncpt; in lmLogInit()
1402 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
Djfs_logmgr.h281 __le32 sync; /* 4: syncpt address (0 = here) */ member
395 int sync; /* 4: addr from last logsync() */ member
/fs/
Ddax.c168 unsigned int mode, int sync, void *keyp) in wake_exceptional_entry_func() argument
177 return autoremove_wake_function(wait, mode, sync, NULL); in wake_exceptional_entry_func()
1255 bool sync; in dax_iomap_pte_fault() local
1336 sync = dax_fault_is_synchronous(flags, vma, &iomap); in dax_iomap_pte_fault()
1350 0, write && !sync); in dax_iomap_pte_fault()
1358 if (sync) { in dax_iomap_pte_fault()
1471 bool sync; in dax_iomap_pmd_fault() local
1557 sync = dax_fault_is_synchronous(iomap_flags, vma, &iomap); in dax_iomap_pmd_fault()
1566 DAX_PMD, write && !sync); in dax_iomap_pmd_fault()
1574 if (sync) { in dax_iomap_pmd_fault()
Dselect.c184 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
207 return default_wake_function(&dummy_wait, mode, sync, key); in __pollwake()
210 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
217 return __pollwake(wait, mode, sync, key); in pollwake()
Dsync.c122 SYSCALL_DEFINE0(sync) in SYSCALL_DEFINE0() argument
DMakefile14 pnode.o splice.o sync.o utimes.o d_path.o \
/fs/nfs/filelayout/
Dfilelayout.c496 filelayout_write_pagelist(struct nfs_pgio_header *hdr, int sync) in filelayout_write_pagelist() argument
517 __func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count, in filelayout_write_pagelist()
532 sync, RPC_TASK_SOFTCONN); in filelayout_write_pagelist()
1186 .sync = pnfs_nfs_generic_sync,
/fs/fuse/
Ddir.c975 bool sync; in fuse_update_get_attr() local
978 sync = true; in fuse_update_get_attr()
980 sync = false; in fuse_update_get_attr()
982 sync = true; in fuse_update_get_attr()
984 sync = time_before64(fi->i_time, get_jiffies_64()); in fuse_update_get_attr()
986 if (sync) { in fuse_update_get_attr()
/fs/f2fs/
Dgc.c1258 int f2fs_gc(struct f2fs_sb_info *sbi, bool sync, in f2fs_gc() argument
1261 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc()
1274 trace_f2fs_gc_begin(sbi->sb, sync, background, in f2fs_gc()
1338 if (sync) in f2fs_gc()
1375 if (sync && !ret) in f2fs_gc()
/fs/adfs/
Dadfs.h130 int (*sync)(struct adfs_dir *dir); member
Ddir.c127 int err = ops->sync(&dir); in adfs_dir_update()
Ddir_fplus.c237 .sync = adfs_fplus_sync,
/fs/nfs/blocklayout/
Dblocklayout.c398 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist() argument
984 .sync = pnfs_generic_sync,
1008 .sync = pnfs_generic_sync,
/fs/incfs/
Dformat.c122 size_t count, loff_t pos, bool sync) in write_to_bf() argument
132 if (sync) in write_to_bf()
/fs/ocfs2/
Dquota_global.c916 int sync = 0; in ocfs2_mark_dquot_dirty() local
931 sync = 1; in ocfs2_mark_dquot_dirty()
935 if (!sync || journal_current_handle()) { in ocfs2_mark_dquot_dirty()

123