Home
last modified time | relevance | path

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

123

/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);
/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
569 sync |= IS_SYNC(inode); in ubifs_jnl_update()
619 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
622 if (!sync) { in ubifs_jnl_update()
789 int sync = 0, len = UBIFS_INO_NODE_SZ, last_reference = !inode->i_nlink; in ubifs_jnl_write_inode() local
799 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
811 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
814 if (!sync) in ubifs_jnl_write_inode()
[all …]
Ddir.c1086 int err, release, sync = 0, move = (new_dir != old_dir); in do_rename() local
1220 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in do_rename()
1222 sync = 1; in do_rename()
1247 sync); in do_rename()
1300 int sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_xrename() local
1328 sync); in ubifs_xrename()
/fs/nfs/objlayout/
Dobjio_osd.c80 bool sync; member
326 aos->objios.sync = 0; in objio_alloc_io_state()
407 objlayout_read_done(&objios->oir, status, objios->sync); in _read_done()
451 objlayout_write_done(&objios->oir, status, objios->sync); in _write_done()
510 objios->sync = 0 != (how & FLUSH_SYNC); in objio_write_pagelist()
513 if (!objios->sync) in objio_write_pagelist()
524 if (objios->sync) in objio_write_pagelist()
637 .sync = pnfs_generic_sync,
Dobjlayout.c242 objlayout_read_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_read_done() argument
255 status, hdr->res.eof, sync); in objlayout_read_done()
257 if (sync) in objlayout_read_done()
324 objlayout_write_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_write_done() argument
339 status, hdr->verf.committed, sync); in objlayout_write_done()
341 if (sync) in objlayout_write_done()
Dobjlayout.h148 ssize_t status, bool sync);
150 ssize_t status, bool sync);
/fs/nfs/
Dfscache.h147 int sync) in nfs_readpage_to_fscache() argument
150 __nfs_readpage_to_fscache(inode, page, sync); in nfs_readpage_to_fscache()
217 struct page *page, int sync) {} in nfs_readpage_to_fscache() argument
Dpnfs.h161 int (*sync)(struct inode *inode, bool datasync); member
233 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
281 int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
509 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
710 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
Dfscache.c417 void __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) in __nfs_readpage_to_fscache() argument
423 nfs_i_fscache(inode), page, page->index, page->flags, sync); in __nfs_readpage_to_fscache()
/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()
1387 lrd.log.syncpt.sync = 0; in lmLogInit()
1412 log->sync = log->syncpt; in lmLogInit()
1416 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/squashfs/
Dblock.c431 u64 *next_index, struct squashfs_page_actor *output, bool sync) in __squashfs_read_data() argument
437 if (!sync) in __squashfs_read_data()
450 length = read_data_block(req, length, next_index, sync); in __squashfs_read_data()
/fs/f2fs/
Dgc.c1008 int f2fs_gc(struct f2fs_sb_info *sbi, bool sync, in f2fs_gc() argument
1011 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc()
1021 trace_f2fs_gc_begin(sbi->sb, sync, background, in f2fs_gc()
1074 if (!sync) { in f2fs_gc()
1100 if (sync) in f2fs_gc()
Df2fs.h293 bool sync; /* submit discard with REQ_SYNC flag */ member
411 u32 sync; member
729 extern void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync);
2729 int f2fs_inode_dirtied(struct inode *inode, bool sync);
2734 int f2fs_sync_fs(struct super_block *sb, int sync);
2772 void build_free_nids(struct f2fs_sb_info *sbi, bool sync, bool mount);
2859 int type, bool sync);
2940 int f2fs_gc(struct f2fs_sb_info *sbi, bool sync, bool background,
/fs/
Dselect.c183 static int __pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
206 return default_wake_function(&dummy_wait, mode, sync, key); in __pollwake()
209 static int pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
216 return __pollwake(wait, mode, sync, key); in pollwake()
DMakefile13 pnode.o splice.o sync.o utimes.o \
Dsync.c107 SYSCALL_DEFINE0(sync) in SYSCALL_DEFINE0() argument
/fs/adfs/
Dadfs.h135 int (*sync)(struct adfs_dir *dir); member
Ddir.c92 int err = ops->sync(&dir); in adfs_dir_update()
/fs/nfs/filelayout/
Dfilelayout.c523 filelayout_write_pagelist(struct nfs_pgio_header *hdr, int sync) in filelayout_write_pagelist() argument
544 __func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count, in filelayout_write_pagelist()
559 sync, RPC_TASK_SOFTCONN); in filelayout_write_pagelist()
1160 .sync = pnfs_nfs_generic_sync,
/fs/nfs/blocklayout/
Dblocklayout.c368 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist() argument
905 .sync = pnfs_generic_sync,
928 .sync = pnfs_generic_sync,
/fs/btrfs/
Dtransaction.h123 bool sync; member
/fs/ocfs2/
Dquota_global.c902 int sync = 0; in ocfs2_mark_dquot_dirty() local
917 sync = 1; in ocfs2_mark_dquot_dirty()
921 if (!sync || journal_current_handle()) { in ocfs2_mark_dquot_dirty()

123