Home
last modified time | relevance | path

Searched refs:delayed_rsv (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dblock-rsv.c279 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release() local
286 if (block_rsv == delayed_rsv) in btrfs_block_rsv_release()
288 else if (block_rsv != global_rsv && !delayed_rsv->full) in btrfs_block_rsv_release()
289 target = delayed_rsv; in btrfs_block_rsv_release()
Dspace-info.c577 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_block_rsv; in may_commit_transaction() local
635 if (space_info != delayed_rsv->space_info) in may_commit_transaction()
638 spin_lock(&delayed_rsv->lock); in may_commit_transaction()
639 reclaim_bytes += delayed_rsv->reserved; in may_commit_transaction()
640 spin_unlock(&delayed_rsv->lock); in may_commit_transaction()
Ddelayed-ref.c101 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv() local
109 spin_lock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()
110 delayed_rsv->size += num_bytes; in btrfs_update_delayed_refs_rsv()
111 delayed_rsv->full = 0; in btrfs_update_delayed_refs_rsv()
112 spin_unlock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()