Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 69) 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.c914 bool sync, is_mft, page_is_dirty, rec_is_dirty; in ntfs_write_mst_block() local
940 sync = (wbc->sync_mode == WB_SYNC_ALL); in ntfs_write_mst_block()
1191 if (is_mft && !sync) in ntfs_write_mst_block()
1217 if (is_mft && sync) { in ntfs_write_mst_block()
1240 sync); in ntfs_write_mst_block()
1242 if (!sync) in ntfs_write_mst_block()
Dinode.h294 extern int __ntfs_write_inode(struct inode *vi, int sync);
/fs/exfat/
Dmisc.c166 void exfat_update_bh(struct buffer_head *bh, int sync) in exfat_update_bh() argument
171 if (sync) in exfat_update_bh()
175 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument
182 if (sync) in exfat_update_bhs()
186 for (i = 0; i < nr_bhs && sync; i++) { in exfat_update_bhs()
Dfatent.c180 bool sync = false; in exfat_free_cluster() local
188 sync = true; in exfat_free_cluster()
192 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in exfat_free_cluster()
198 bool sync = false; in exfat_free_cluster() local
203 sync = true; in exfat_free_cluster()
209 sync = true; in exfat_free_cluster()
213 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in exfat_free_cluster()
Dballoc.c144 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_set_bitmap() argument
159 exfat_update_bh(sbi->vol_amap[i], sync); in exfat_set_bitmap()
163 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument
179 exfat_update_bh(sbi->vol_amap[i], sync); in exfat_clear_bitmap()
Dexfat_fs.h421 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync);
422 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync);
475 int exfat_free_dentry_set(struct exfat_entry_set_cache *es, int sync);
527 void exfat_update_bh(struct buffer_head *bh, int sync);
528 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync);
Ddir.c531 int sync = IS_DIRSYNC(inode); in exfat_init_ext_entry() local
538 exfat_update_bh(bh, sync); in exfat_init_ext_entry()
547 exfat_update_bh(bh, sync); in exfat_init_ext_entry()
556 exfat_update_bh(bh, sync); in exfat_init_ext_entry()
604 int exfat_free_dentry_set(struct exfat_entry_set_cache *es, int sync) in exfat_free_dentry_set() argument
609 err = exfat_update_bhs(es->bh, es->num_bh, sync); in exfat_free_dentry_set()
Dsuper.c102 bool sync; in exfat_set_vol_flags() local
122 sync = true; in exfat_set_vol_flags()
124 sync = false; in exfat_set_vol_flags()
129 if (sync) in exfat_set_vol_flags()
/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()
636 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
639 if (!sync) { in ubifs_jnl_update()
846 int sync = 0, write_len = 0, ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode() local
859 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
934 err = write_head(c, BASEHD, ino_start, write_len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
937 if (!sync) in ubifs_jnl_write_inode()
[all …]
Ddir.c1268 int err, release, sync = 0, move = (new_dir != old_dir); in do_rename() local
1444 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in do_rename()
1446 sync = 1; in do_rename()
1461 new_inode, &new_nm, whiteout, sync); in do_rename()
1520 int sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_xrename() local
1563 snd_inode, &snd_nm, sync); in ubifs_xrename()
/fs/nfs/
Dfscache.h160 int sync) in nfs_readpage_to_fscache() argument
163 __nfs_readpage_to_fscache(inode, page, sync); in nfs_readpage_to_fscache()
230 struct page *page, int sync) {} in nfs_readpage_to_fscache() argument
Dnfs4file.c146 bool sync = false; in __nfs4_copy_file_range() local
160 sync = true; in __nfs4_copy_file_range()
168 if (sync || in __nfs4_copy_file_range()
185 nss, cnrs, sync); in __nfs4_copy_file_range()
Dnfs42proc.c326 if (args->sync) { in _nfs42_proc_copy()
344 if (args->sync && in _nfs42_proc_copy()
358 if ((!res->synchronous || !args->sync) && in _nfs42_proc_copy()
379 if (args->sync) in _nfs42_proc_copy()
387 nfs4_stateid *cnr_stateid, bool sync) in nfs42_proc_copy() argument
398 .sync = sync, in nfs42_proc_copy()
447 args.sync != res.synchronous) { in nfs42_proc_copy()
448 args.sync = res.synchronous; in nfs42_proc_copy()
Dpnfs.h155 int (*sync)(struct inode *inode, bool datasync); member
249 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
309 int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
592 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
865 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
Dfscache.c493 void __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) in __nfs_readpage_to_fscache() argument
499 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()
1374 lrd.log.syncpt.sync = 0; in lmLogInit()
1399 log->sync = log->syncpt; in lmLogInit()
1403 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.c178 unsigned int mode, int sync, void *keyp) in wake_exceptional_entry_func() argument
187 return autoremove_wake_function(wait, mode, sync, NULL); in wake_exceptional_entry_func()
1274 bool sync; in dax_iomap_pte_fault() local
1355 sync = dax_fault_is_synchronous(flags, vma, &iomap); in dax_iomap_pte_fault()
1369 0, write && !sync); in dax_iomap_pte_fault()
1377 if (sync) { in dax_iomap_pte_fault()
1490 bool sync; in dax_iomap_pmd_fault() local
1578 sync = dax_fault_is_synchronous(iomap_flags, vma, &iomap); in dax_iomap_pmd_fault()
1587 DAX_PMD, write && !sync); in dax_iomap_pmd_fault()
1595 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()
/fs/fuse/
Dfuse_i.h415 void (*wake_forget_and_unlock)(struct fuse_iqueue *fiq, bool sync)
421 void (*wake_interrupt_and_unlock)(struct fuse_iqueue *fiq, bool sync)
427 void (*wake_pending_and_unlock)(struct fuse_iqueue *fiq, bool sync)
Ddir.c1140 bool sync; in fuse_update_get_attr() local
1143 sync = true; in fuse_update_get_attr()
1145 sync = false; in fuse_update_get_attr()
1147 sync = true; in fuse_update_get_attr()
1149 sync = time_before64(fi->i_time, get_jiffies_64()); in fuse_update_get_attr()
1151 if (sync) { in fuse_update_get_attr()
/fs/erofs/
Dzdata.c919 bool sync, int bios) in z_erofs_decompress_kickoff() argument
924 if (sync) { in z_erofs_decompress_kickoff()
1570 bool sync = (sbi->ctx.readahead_sync_decompress && in z_erofs_readahead() local
1589 sync &= !(PageReadahead(page) && !head); in z_erofs_readahead()
1612 z_erofs_runqueue(inode->i_sb, &f, &pagepool, sync); in z_erofs_readahead()
/fs/nfs/filelayout/
Dfilelayout.c497 filelayout_write_pagelist(struct nfs_pgio_header *hdr, int sync) in filelayout_write_pagelist() argument
518 __func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count, in filelayout_write_pagelist()
533 sync, RPC_TASK_SOFTCONN); in filelayout_write_pagelist()
1135 .sync = pnfs_nfs_generic_sync,
/fs/nfs/blocklayout/
Dblocklayout.c398 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist() argument
986 .sync = pnfs_generic_sync,
1010 .sync = pnfs_generic_sync,

123