Home
last modified time | relevance | path

Searched refs:flush (Results 1 – 25 of 38) sorted by relevance

12

/fs/btrfs/
A Dspace-info.c545 flush)) { in btrfs_try_granting_tickets()
1149 space_info->flush = 0; in do_async_reclaim_metadata_space()
1161 space_info->flush = 0; in do_async_reclaim_metadata_space()
1296 flush = FLUSH_DELALLOC; in btrfs_preempt_reclaim_metadata_space()
1301 flush = COMMIT_TRANS; in btrfs_preempt_reclaim_metadata_space()
1386 space_info->flush = 0; in do_async_reclaim_data_space()
1397 space_info->flush = 0; in do_async_reclaim_data_space()
1414 space_info->flush = 0; in do_async_reclaim_data_space()
1447 space_info->flush = 0; in do_async_reclaim_data_space()
1633 switch (flush) { in handle_reserve_ticket()
[all …]
A Ddelalloc-space.c130 enum btrfs_reserve_flush_enum flush = BTRFS_RESERVE_FLUSH_DATA; in btrfs_alloc_data_chunk_ondemand() local
136 flush = BTRFS_RESERVE_FLUSH_FREE_SPACE_INODE; in btrfs_alloc_data_chunk_ondemand()
138 return btrfs_reserve_data_bytes(data_sinfo_for_inode(inode), bytes, flush); in btrfs_alloc_data_chunk_ondemand()
146 enum btrfs_reserve_flush_enum flush = BTRFS_RESERVE_FLUSH_DATA; in btrfs_check_data_free_space() local
155 flush = BTRFS_RESERVE_NO_FLUSH; in btrfs_check_data_free_space()
157 flush = BTRFS_RESERVE_FLUSH_FREE_SPACE_INODE; in btrfs_check_data_free_space()
159 ret = btrfs_reserve_data_bytes(data_sinfo_for_inode(inode), len, flush); in btrfs_check_data_free_space()
323 enum btrfs_reserve_flush_enum flush = BTRFS_RESERVE_FLUSH_ALL; in btrfs_delalloc_reserve_metadata() local
336 flush = BTRFS_RESERVE_NO_FLUSH; in btrfs_delalloc_reserve_metadata()
339 flush = BTRFS_RESERVE_FLUSH_LIMIT; in btrfs_delalloc_reserve_metadata()
[all …]
A Dspace-info.h149 unsigned int flush:1; /* set if we are trying to make space */ member
285 enum btrfs_reserve_flush_enum flush);
290 enum btrfs_reserve_flush_enum flush);
302 enum btrfs_reserve_flush_enum flush);
A Dblock-rsv.h73 enum btrfs_reserve_flush_enum flush);
77 enum btrfs_reserve_flush_enum flush);
A Dblock-rsv.c214 enum btrfs_reserve_flush_enum flush) in btrfs_block_rsv_add() argument
222 num_bytes, flush); in btrfs_block_rsv_add()
245 enum btrfs_reserve_flush_enum flush) in btrfs_block_rsv_refill() argument
263 num_bytes, flush); in btrfs_block_rsv_refill()
A Dtransaction.c566 enum btrfs_reserve_flush_enum flush, in btrfs_reserve_trans_metadata() argument
578 ret = btrfs_reserve_metadata_bytes(fs_info, si, bytes, flush); in btrfs_reserve_trans_metadata()
585 if (ret && flush == BTRFS_RESERVE_FLUSH_ALL_STEAL) { in btrfs_reserve_trans_metadata()
588 ret = btrfs_reserve_metadata_bytes(fs_info, si, bytes, flush); in btrfs_reserve_trans_metadata()
596 unsigned int type, enum btrfs_reserve_flush_enum flush, in start_transaction() argument
659 ret = btrfs_reserve_trans_metadata(fs_info, flush, num_bytes, in start_transaction()
668 } else if (num_items == 0 && flush == BTRFS_RESERVE_FLUSH_ALL && in start_transaction()
677 ret = btrfs_delayed_refs_rsv_refill(fs_info, flush); in start_transaction()
A Ddelayed-ref.h417 enum btrfs_reserve_flush_enum flush);
A Ddelayed-ref.c211 enum btrfs_reserve_flush_enum flush) in btrfs_delayed_refs_rsv_refill() argument
231 ret = btrfs_reserve_metadata_bytes(fs_info, space_info, num_bytes, flush); in btrfs_delayed_refs_rsv_refill()
/fs/ecryptfs/
A Dfile.c313 if (lower_file->f_op->flush) { in ecryptfs_flush()
315 return lower_file->f_op->flush(lower_file, td); in ecryptfs_flush()
438 .flush = ecryptfs_flush,
/fs/bcachefs/
A Djournal_reclaim.c432 pin->flush = flush_fn; in bch2_journal_pin_set_locked()
591 flush_fn = pin->flush; in journal_flush_pins()
598 if (min_key_cache && pin->flush == bch2_btree_key_cache_journal_flush) in journal_flush_pins()
1016 prt_printf(out, "\t%px %ps\n", pin, pin->flush); in bch2_journal_seq_pins_to_text()
1021 prt_printf(out, "\t%px %ps\n", pin, pin->flush); in bch2_journal_seq_pins_to_text()
A Dfs-io-direct.c240 flush:1; member
361 dio->flush = 0; in bch2_dio_write_flush()
392 if (unlikely(dio->flush)) { in bch2_dio_write_done()
655 dio->flush = iocb_is_dsync(req) && !c->opts.journal_flush_disabled; in bch2_direct_write()
A Dbtree_cache.c344 bool flush, bool locked) in __btree_node_reclaim_checks() argument
364 if (!flush) { in __btree_node_reclaim_checks()
387 if (!flush) { in __btree_node_reclaim_checks()
410 static int __btree_node_reclaim(struct bch_fs *c, struct btree *b, bool flush) in __btree_node_reclaim() argument
417 ret = __btree_node_reclaim_checks(c, b, flush, false); in __btree_node_reclaim()
433 ret = __btree_node_reclaim_checks(c, b, flush, true); in __btree_node_reclaim()
A Dmovinggc.c109 bool flush) in move_buckets_wait() argument
114 if (flush) in move_buckets_wait()
A Djournal_types.h83 journal_pin_flush_fn flush; member
A Dthread_with_file.c281 .flush = thread_with_stdio_flush,
289 .flush = thread_with_stdio_flush,
/fs/overlayfs/
A Dfile.c647 if (realfile->f_op->flush) { in ovl_flush()
649 err = realfile->f_op->flush(realfile, id); in ovl_flush()
666 .flush = ovl_flush,
/fs/gfs2/
A Dglops.c122 goto flush; in gfs2_ail_empty_gl()
133 goto flush; in gfs2_ail_empty_gl()
138 flush: in gfs2_ail_empty_gl()
A Dlops.c298 bio_end_io_t *end_io, bool flush) in gfs2_log_get_bio() argument
307 if (blkno == nblk && !flush) in gfs2_log_get_bio()
/fs/smb/client/
A Dcifsfs.c1527 .flush = cifs_flush,
1547 .flush = cifs_flush,
1567 .flush = cifs_flush,
1585 .flush = cifs_flush,
1603 .flush = cifs_flush,
1621 .flush = cifs_flush,
A Dfile.c2694 if (server->ops->flush == NULL) { in cifs_strict_fsync()
2702 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_strict_fsync()
2707 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_strict_fsync()
2742 if (server->ops->flush == NULL) { in cifs_fsync()
2750 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_fsync()
2755 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_fsync()
/fs/xfs/scrub/
A Dparent_repair.c575 bool flush; in xrep_parent_scan_dirtree() local
584 flush = xrep_parent_want_flush_stashed(rp); in xrep_parent_scan_dirtree()
586 if (flush) { in xrep_parent_scan_dirtree()
A Ddir_repair.c1295 bool flush; in xrep_dir_scan_dirtree() local
1304 flush = xrep_dir_want_flush_stashed(rd); in xrep_dir_scan_dirtree()
1306 if (flush) { in xrep_dir_scan_dirtree()
/fs/orangefs/
A Dfile.c583 .flush = orangefs_flush,
/fs/nfs/
A Dnfs4file.c440 .flush = nfs4_file_flush,
/fs/fat/
A Dinode.c1013 if (opts->flush) in fat_show_options()
1232 opts->flush = 1; in fat_parse_param()
1887 if (!MSDOS_SB(sb)->options.flush) in fat_flush_inodes()

Completed in 86 milliseconds

12