Home
last modified time | relevance | path

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

123

/fs/bcachefs/
A Dfs-io-direct.c111 if (!sync) { in bch2_direct_IO_read()
179 if (sync) { in bch2_direct_IO_read()
239 sync:1, member
376 if (dio->sync) { in bch2_dio_write_flush()
389 bool sync = dio->sync; in bch2_dio_write_done() local
394 if (!sync) in bch2_dio_write_done()
413 if (!sync) { in bch2_dio_write_done()
459 bool sync = dio->sync, dropped_locks; in bch2_dio_write_loop() local
522 if (sync) in bch2_dio_write_loop()
543 dio->sync = sync = true; in bch2_dio_write_loop()
[all …]
A Dio_write_types.h25 x(sync) \
A Dinode_format.h137 x(sync, 0) \
/fs/netfs/
A Ddirect_read.c125 static ssize_t netfs_unbuffered_read(struct netfs_io_request *rreq, bool sync) in netfs_unbuffered_read() argument
150 if (sync) in netfs_unbuffered_read()
174 bool sync = is_sync_kiocb(iocb); in netfs_unbuffered_read_iter_locked() local
222 if (!sync) { in netfs_unbuffered_read_iter_locked()
227 ret = netfs_unbuffered_read(rreq, sync); in netfs_unbuffered_read_iter_locked()
230 if (sync) { in netfs_unbuffered_read_iter_locked()
/fs/exfat/
A Dmisc.c164 void exfat_update_bh(struct buffer_head *bh, int sync) in exfat_update_bh() argument
169 if (sync) in exfat_update_bh()
173 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument
180 if (sync) in exfat_update_bhs()
184 for (i = 0; i < nr_bhs && sync; i++) { in exfat_update_bhs()
A Dfatent.c195 bool sync = false; in __exfat_free_cluster() local
203 sync = true; in __exfat_free_cluster()
207 err = exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
220 bool sync = false; in __exfat_free_cluster() local
225 sync = true; in __exfat_free_cluster()
231 sync = true; in __exfat_free_cluster()
235 if (exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode)))) in __exfat_free_cluster()
A Dexfat_fs.h456 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync);
457 int exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync);
518 int exfat_put_dentry_set(struct exfat_entry_set_cache *es, int sync);
529 int __exfat_write_inode(struct inode *inode, int sync);
574 void exfat_update_bh(struct buffer_head *bh, int sync);
575 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync);
A Dballoc.c125 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_set_bitmap() argument
140 exfat_update_bh(sbi->vol_amap[i], sync); in exfat_set_bitmap()
144 int exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument
163 exfat_update_bh(sbi->vol_amap[i], sync); in exfat_clear_bitmap()
/fs/ubifs/
A Djournal.c290 if (sync) in write_head()
695 sync |= IS_SYNC(inode); in ubifs_jnl_update()
767 if (!sync) { in ubifs_jnl_update()
1000 sync = IS_SYNC(inode); in ubifs_jnl_write_inode()
1072 if (!sync) in ubifs_jnl_write_inode()
1281 if (!sync) { in ubifs_jnl_xrename()
1508 if (!sync) { in ubifs_jnl_rename()
1792 if (!sync) in ubifs_jnl_truncate()
1865 int sync = IS_DIRSYNC(host); in ubifs_jnl_delete_xattr() local
1914 if (!sync && !err) in ubifs_jnl_delete_xattr()
[all …]
A Ddir.c1331 int err, release, sync = 0, move = (new_dir != old_dir); in do_rename() local
1506 sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in do_rename()
1508 sync = 1; in do_rename()
1517 new_inode, &new_nm, whiteout, sync, !!whiteout); in do_rename()
1587 int sync = IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir); in ubifs_xrename() local
1634 snd_inode, &snd_nm, sync); in ubifs_xrename()
/fs/jfs/
A 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()
1653 lrd.log.syncpt.sync = 0; in lmLogShutdown()
[all …]
A Djfs_logmgr.h281 __le32 sync; /* 4: syncpt address (0 = here) */ member
395 int sync; /* 4: addr from last logsync() */ member
/fs/nfs/
A Dnfs4file.c144 bool sync = false; in __nfs4_copy_file_range() local
158 sync = true; in __nfs4_copy_file_range()
165 if (sync) in __nfs4_copy_file_range()
181 nss, cnrs, sync); in __nfs4_copy_file_range()
A Dnfs42proc.c438 if (args->sync) { in _nfs42_proc_copy()
457 if (args->sync && in _nfs42_proc_copy()
471 if ((!res->synchronous || !args->sync) && in _nfs42_proc_copy()
482 if (args->sync) in _nfs42_proc_copy()
490 nfs4_stateid *cnr_stateid, bool sync) in nfs42_proc_copy() argument
501 .sync = sync, in nfs42_proc_copy()
551 args.sync != res.synchronous) { in nfs42_proc_copy()
552 args.sync = res.synchronous; in nfs42_proc_copy()
A Dpnfs.h160 int (*sync)(struct inode *inode, bool datasync); member
318 int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
593 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
871 static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) in pnfs_layoutcommit_inode() argument
/fs/ntfs3/
A Dattrlist.c385 int al_update(struct ntfs_inode *ni, int sync) in al_update() argument
407 al->size, sync); in al_update()
A Dntfs_fs.h482 int al_update(struct ntfs_inode *ni, int sync);
566 int ni_write_inode(struct inode *inode, int sync, const char *hint);
623 u64 vbo, const void *buf, size_t bytes, int sync);
634 struct ntfs_buffers *nb, int sync);
703 const struct NTFS_DUP_INFO *dup, int sync);
A Dfrecord.c3074 int sync) in ni_update_parent() argument
3182 indx_update_dup(dir_ni, sbi, fname, dup, sync); in ni_update_parent()
3197 int ni_write_inode(struct inode *inode, int sync, const char *hint) in ni_write_inode() argument
3277 re_dirty = ni_update_parent(ni, &dup, sync); in ni_write_inode()
3287 if (inode->i_ino != MFT_REC_MFT || sync) { in ni_write_inode()
3293 err = al_update(ni, sync); in ni_write_inode()
3313 err2 = mi_write(mi, sync); in ni_write_inode()
3325 err2 = mi_write(&ni->mi, sync); in ni_write_inode()
/fs/nfs/filelayout/
A 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, NULL); in filelayout_write_pagelist()
1133 .sync = pnfs_nfs_generic_sync,
/fs/fuse/
A Ddir.c1341 bool sync; in fuse_update_get_attr() local
1353 sync = false; in fuse_update_get_attr()
1355 sync = true; in fuse_update_get_attr()
1357 sync = false; in fuse_update_get_attr()
1359 sync = true; in fuse_update_get_attr()
1361 sync = time_before64(fi->i_time, get_jiffies_64()); in fuse_update_get_attr()
1363 if (sync) { in fuse_update_get_attr()
/fs/smb/server/
A Dvfs.h83 char *buf, size_t count, loff_t *pos, bool sync,
/fs/
A Dselect.c182 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
205 return default_wake_function(&dummy_wait, mode, sync, key); in __pollwake()
208 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
215 return __pollwake(wait, mode, sync, key); in pollwake()
A Dsync.c111 SYSCALL_DEFINE0(sync) in SYSCALL_DEFINE0() argument
/fs/nfs/blocklayout/
A Dblocklayout.c375 bl_write_pagelist(struct nfs_pgio_header *header, int sync) in bl_write_pagelist() argument
981 .sync = pnfs_generic_sync,
1005 .sync = pnfs_generic_sync,
/fs/gfs2/
A Dquota.c1156 bool sync; in gfs2_quota_unlock() local
1160 sync = need_sync(qd); in gfs2_quota_unlock()
1163 if (!sync) in gfs2_quota_unlock()
1167 sync = qd_grab_sync(sdp, qd, U64_MAX); in gfs2_quota_unlock()
1170 if (!sync) in gfs2_quota_unlock()

Completed in 60 milliseconds

123