Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 72) 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.c916 bool sync, is_mft, page_is_dirty, rec_is_dirty; in ntfs_write_mst_block() local
942 sync = (wbc->sync_mode == WB_SYNC_ALL); in ntfs_write_mst_block()
1193 if (is_mft && !sync) in ntfs_write_mst_block()
1219 if (is_mft && sync) { in ntfs_write_mst_block()
1242 sync); in ntfs_write_mst_block()
1244 if (!sync) in ntfs_write_mst_block()
Dinode.h295 extern int __ntfs_write_inode(struct inode *vi, int sync);
/fs/exfat/
Dmisc.c156 void exfat_update_bh(struct buffer_head *bh, int sync) in exfat_update_bh() argument
161 if (sync) in exfat_update_bh()
165 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument
172 if (sync) in exfat_update_bhs()
176 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()
Dexfat_fs.h418 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync);
419 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);
486 int __exfat_write_inode(struct inode *inode, int sync);
530 void exfat_update_bh(struct buffer_head *bh, int sync);
531 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync);
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()
Ddir.c532 int sync = IS_DIRSYNC(inode); in exfat_init_ext_entry() local
539 exfat_update_bh(bh, sync); in exfat_init_ext_entry()
548 exfat_update_bh(bh, sync); in exfat_init_ext_entry()
557 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()
Dnamei.c1020 int sync = IS_DIRSYNC(inode); in exfat_rename_file() local
1052 exfat_update_bh(new_bh, sync); in exfat_rename_file()
1066 exfat_update_bh(new_bh, sync); in exfat_rename_file()
1084 exfat_update_bh(old_bh, sync); in exfat_rename_file()
/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.c1295 int err, release, sync = 0, move = (new_dir != old_dir); in do_rename() local
1479 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in do_rename()
1481 sync = 1; in do_rename()
1490 new_inode, &new_nm, whiteout, sync); in do_rename()
1559 int sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_xrename() local
1602 snd_inode, &snd_nm, sync); in ubifs_xrename()
/fs/jfs/
Djfs_logmgr.c946 if (log->sync == log->syncpt) { in lmLogSync()
949 log->sync = log->lsn; in lmLogSync()
953 log->sync = lp->lsn; in lmLogSync()
963 if (log->sync != log->syncpt) { in lmLogSync()
968 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
971 log->syncpt = log->sync; in lmLogSync()
1005 log->syncpt = log->sync = lsn; in lmLogSync()
1366 lrd.log.syncpt.sync = 0; in lmLogInit()
1391 log->sync = log->syncpt; in lmLogInit()
1395 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/nfs/
Dnfs4file.c147 bool sync = false; in __nfs4_copy_file_range() local
161 sync = true; in __nfs4_copy_file_range()
168 if (sync) in __nfs4_copy_file_range()
184 nss, cnrs, sync); in __nfs4_copy_file_range()
Dnfs42proc.c363 if (args->sync) { in _nfs42_proc_copy()
382 if (args->sync && in _nfs42_proc_copy()
396 if ((!res->synchronous || !args->sync) && in _nfs42_proc_copy()
407 if (args->sync) in _nfs42_proc_copy()
415 nfs4_stateid *cnr_stateid, bool sync) in nfs42_proc_copy() argument
426 .sync = sync, in nfs42_proc_copy()
475 args.sync != res.synchronous) { in nfs42_proc_copy()
476 args.sync = res.synchronous; in nfs42_proc_copy()
Dpnfs.h153 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()
872 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
/fs/netfs/
Dio.c604 int netfs_begin_read(struct netfs_io_request *rreq, bool sync) in netfs_begin_read() argument
620 if (sync) in netfs_begin_read()
633 if (sync) { in netfs_begin_read()
Dinternal.h26 int netfs_begin_read(struct netfs_io_request *rreq, bool sync);
/fs/ntfs3/
Dntfs_fs.h468 int al_update(struct ntfs_inode *ni, int sync);
553 int ni_write_inode(struct inode *inode, int sync, const char *hint);
613 u64 vbo, const void *buf, size_t bytes, int sync);
624 struct ntfs_buffers *nb, int sync);
690 const struct NTFS_DUP_INFO *dup, int sync);
Dattrlist.c439 int al_update(struct ntfs_inode *ni, int sync) in al_update() argument
461 al->size, sync); in al_update()
/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()
1140 .sync = pnfs_nfs_generic_sync,
/fs/zonefs/
Dfile.c547 bool sync = is_sync_kiocb(iocb); in zonefs_file_dio_write() local
556 if (zonefs_zone_is_seq(z) && !sync && (iocb->ki_flags & IOCB_NOWAIT)) in zonefs_file_dio_write()
594 append = sync; in zonefs_file_dio_write()
/fs/smb/server/
Dvfs.h82 char *buf, size_t count, loff_t *pos, bool sync,
/fs/
Dselect.c185 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
208 return default_wake_function(&dummy_wait, mode, sync, key); in __pollwake()
211 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
218 return __pollwake(wait, mode, sync, key); in pollwake()
/fs/nfs/blocklayout/
Dblocklayout.c375 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist() argument
961 .sync = pnfs_generic_sync,
985 .sync = pnfs_generic_sync,

123