Searched refs:delayed_rsv (Results 1 – 4 of 4) sorted by relevance
91 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv() local92 struct btrfs_block_rsv *local_rsv = &trans->delayed_rsv; in btrfs_update_delayed_refs_rsv()119 spin_lock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()120 delayed_rsv->size += num_bytes; in btrfs_update_delayed_refs_rsv()121 delayed_rsv->reserved += reserved_bytes; in btrfs_update_delayed_refs_rsv()122 delayed_rsv->full = (delayed_rsv->reserved >= delayed_rsv->size); in btrfs_update_delayed_refs_rsv()123 spin_unlock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()134 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_inc_delayed_refs_rsv_bg_inserts() local136 spin_lock(&delayed_rsv->lock); in btrfs_inc_delayed_refs_rsv_bg_inserts()142 delayed_rsv->size += btrfs_calc_insert_metadata_size(fs_info, 1); in btrfs_inc_delayed_refs_rsv_bg_inserts()[all …]
279 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release() local288 else if (block_rsv != global_rsv && !btrfs_block_rsv_full(delayed_rsv)) in btrfs_block_rsv_release()289 target = delayed_rsv; in btrfs_block_rsv_release()
168 struct btrfs_block_rsv delayed_rsv; member
718 btrfs_init_metadata_block_rsv(fs_info, &h->delayed_rsv, BTRFS_BLOCK_RSV_DELOPS); in start_transaction()739 btrfs_block_rsv_add_bytes(&h->delayed_rsv, delayed_refs_bytes, true); in start_transaction()1042 btrfs_block_rsv_release(fs_info, &trans->delayed_rsv, in btrfs_trans_release_metadata()