Searched refs:delayed_refs_rsv (Results 1 – 7 of 7) sorted by relevance
33 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_check_space_for_delayed_refs() local48 spin_lock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()49 reserved += delayed_refs_rsv->reserved; in btrfs_check_space_for_delayed_refs()52 spin_unlock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()114 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_migrate_to_delayed_refs_rsv() local117 spin_lock(&delayed_refs_rsv->lock); in btrfs_migrate_to_delayed_refs_rsv()118 if (delayed_refs_rsv->size > delayed_refs_rsv->reserved) { in btrfs_migrate_to_delayed_refs_rsv()119 u64 delta = delayed_refs_rsv->size - in btrfs_migrate_to_delayed_refs_rsv()120 delayed_refs_rsv->reserved; in btrfs_migrate_to_delayed_refs_rsv()132 if (delayed_refs_rsv->reserved >= delayed_refs_rsv->size) in btrfs_migrate_to_delayed_refs_rsv()[all …]
278 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release()408 root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_root_block_rsv()436 fs_info->delayed_refs_rsv.space_info = space_info; in btrfs_init_global_block_rsv()451 WARN_ON(fs_info->delayed_refs_rsv.reserved > 0); in btrfs_release_global_block_rsv()452 WARN_ON(fs_info->delayed_refs_rsv.size > 0); in btrfs_release_global_block_rsv()
483 DUMP_BLOCK_RSV(fs_info, delayed_refs_rsv); in dump_global_block_rsv()939 used += btrfs_block_rsv_reserved(&fs_info->delayed_refs_rsv) + in need_preemptive_reclaim()1137 struct btrfs_block_rsv *delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space() local1146 delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space()1168 btrfs_block_rsv_reserved(delayed_refs_rsv) + in btrfs_preempt_reclaim_metadata_space()1190 btrfs_block_rsv_reserved(delayed_refs_rsv))) { in btrfs_preempt_reclaim_metadata_space()1194 btrfs_block_rsv_reserved(delayed_refs_rsv)) { in btrfs_preempt_reclaim_metadata_space()1198 to_reclaim = btrfs_block_rsv_reserved(delayed_refs_rsv); in btrfs_preempt_reclaim_metadata_space()
568 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in start_transaction() local618 !btrfs_block_rsv_full(delayed_refs_rsv)) { in start_transaction()644 !btrfs_block_rsv_full(delayed_refs_rsv)) { in start_transaction()
408 struct btrfs_block_rsv delayed_refs_rsv; member
2724 btrfs_init_block_rsv(&fs_info->delayed_refs_rsv, in btrfs_init_fs_info()
2244 __entry->delayed_refs_reserved = fs_info->delayed_refs_rsv.reserved;