Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 50) 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.c935 bool sync, is_mft, page_is_dirty, rec_is_dirty; in ntfs_write_mst_block() local
958 sync = (wbc->sync_mode == WB_SYNC_ALL); in ntfs_write_mst_block()
1209 if (is_mft && !sync) in ntfs_write_mst_block()
1235 if (is_mft && sync) { in ntfs_write_mst_block()
1258 sync); in ntfs_write_mst_block()
1260 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.c287 int *lnum, int *offs, int sync) in write_head() argument
302 if (sync) in write_head()
546 int aligned_dlen, aligned_ilen, sync = IS_DIRSYNC(dir); in ubifs_jnl_update() local
570 sync |= IS_SYNC(inode); in ubifs_jnl_update()
616 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
619 if (!sync) { in ubifs_jnl_update()
785 int sync = 0, len = UBIFS_INO_NODE_SZ, last_reference = !inode->i_nlink; in ubifs_jnl_write_inode() local
795 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
807 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
810 if (!sync) in ubifs_jnl_write_inode()
[all …]
Ddir.c994 int err, release, sync = 0, move = (new_dir != old_dir); in ubifs_rename() local
1106 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_rename()
1108 sync = 1; in ubifs_rename()
1111 sync); in ubifs_rename()
/fs/nfs/
Dfscache.h151 int sync) in nfs_readpage_to_fscache() argument
154 __nfs_readpage_to_fscache(inode, page, sync); in nfs_readpage_to_fscache()
214 struct page *page, int sync) {} in nfs_readpage_to_fscache() argument
Ddirect.c708 loff_t pos, int sync) in nfs_direct_write_schedule_segment() argument
775 data->args.stable = sync; in nfs_direct_write_schedule_segment()
820 loff_t pos, int sync) in nfs_direct_write_schedule_iovec() argument
831 pos, sync); in nfs_direct_write_schedule_iovec()
862 int sync = NFS_UNSTABLE; in nfs_direct_write() local
870 sync = NFS_FILE_SYNC; in nfs_direct_write()
880 result = nfs_direct_write_schedule_iovec(dreq, iov, nr_segs, pos, sync); in nfs_direct_write()
Dpnfs.h202 int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
433 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
Dfscache.c513 void __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) in __nfs_readpage_to_fscache() argument
519 NFS_I(inode)->fscache, page, page->index, page->flags, sync); in __nfs_readpage_to_fscache()
Dnfs4filelayout.c397 filelayout_write_pagelist(struct nfs_write_data *data, int sync) in filelayout_write_pagelist() argument
421 data->inode->i_ino, sync, (size_t) data->args.count, offset, in filelayout_write_pagelist()
437 &filelayout_write_call_ops, sync); in filelayout_write_pagelist()
/fs/nfs/objlayout/
Dobjio_osd.c125 bool sync; member
357 aos->objios.sync = 0; in objio_alloc_io_state()
438 objlayout_read_done(&objios->oir, status, objios->sync); in _read_done()
482 objlayout_write_done(&objios->oir, status, objios->sync); in _write_done()
544 objios->sync = 0 != (how & FLUSH_SYNC); in objio_write_pagelist()
547 if (!objios->sync) in objio_write_pagelist()
558 if (objios->sync) in objio_write_pagelist()
Dobjlayout.h148 ssize_t status, bool sync);
150 ssize_t status, bool sync);
Dobjlayout.c253 objlayout_read_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_read_done() argument
266 status, rdata->res.eof, sync); in objlayout_read_done()
268 if (sync) in objlayout_read_done()
334 objlayout_write_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_write_done() argument
349 status, wdata->verf.committed, sync); in objlayout_write_done()
351 if (sync) in objlayout_write_done()
/fs/jfs/
Djfs_logmgr.c967 if (log->sync == log->syncpt) { in lmLogSync()
970 log->sync = log->lsn; in lmLogSync()
974 log->sync = lp->lsn; in lmLogSync()
984 if (log->sync != log->syncpt) { in lmLogSync()
989 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
992 log->syncpt = log->sync; in lmLogSync()
1026 log->syncpt = log->sync = lsn; in lmLogSync()
1389 lrd.log.syncpt.sync = 0; in lmLogInit()
1414 log->sync = log->syncpt; in lmLogInit()
1418 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/
Dselect.c180 static int __pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
203 return default_wake_function(&dummy_wait, mode, sync, key); in __pollwake()
206 static int pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
213 return __pollwake(wait, mode, sync, key); in pollwake()
DMakefile13 pnode.o drop_caches.o splice.o sync.o utimes.o \
Dsync.c98 SYSCALL_DEFINE0(sync) in SYSCALL_DEFINE0() argument
/fs/adfs/
Dadfs.h132 int (*sync)(struct adfs_dir *dir); member
Ddir.c98 int err = ops->sync(&dir); in adfs_dir_update()
Ddir_fplus.c263 .sync = adfs_fplus_sync,
/fs/ocfs2/
Dquota_global.c823 int sync = 0; in ocfs2_mark_dquot_dirty() local
837 sync = 1; in ocfs2_mark_dquot_dirty()
841 if (!sync || journal_current_handle()) { in ocfs2_mark_dquot_dirty()
/fs/exofs/
Dore.c357 bool sync = (ios->done == NULL); in ore_io_execute() local
360 if (sync) { in ore_io_execute()
392 if (sync) { in ore_io_execute()
/fs/cachefiles/
Drdwr.c24 int sync, void *_key) in cachefiles_read_waiter() argument
35 monitor->netfs_page->index, mode, sync, in cachefiles_read_waiter()

12