Home
last modified time | relevance | path

Searched refs:delayed_refs_rsv (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Ddelayed-ref.c30 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_check_space_for_delayed_refs() local
45 spin_lock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()
46 reserved += delayed_refs_rsv->reserved; in btrfs_check_space_for_delayed_refs()
47 if (delayed_refs_rsv->size >= reserved) in btrfs_check_space_for_delayed_refs()
49 spin_unlock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()
81 struct btrfs_block_rsv *block_rsv = &fs_info->delayed_refs_rsv; in btrfs_delayed_refs_rsv_release()
101 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv()
129 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_migrate_to_delayed_refs_rsv() local
137 spin_lock(&delayed_refs_rsv->lock); in btrfs_migrate_to_delayed_refs_rsv()
138 if (delayed_refs_rsv->size > delayed_refs_rsv->reserved) { in btrfs_migrate_to_delayed_refs_rsv()
[all …]
Dblock-rsv.c279 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release()
427 fs_info->delayed_refs_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
429 fs_info->extent_root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_global_block_rsv()
430 fs_info->csum_root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_global_block_rsv()
450 WARN_ON(fs_info->delayed_refs_rsv.reserved > 0); in btrfs_release_global_block_rsv()
451 WARN_ON(fs_info->delayed_refs_rsv.size > 0); in btrfs_release_global_block_rsv()
Dspace-info.c435 DUMP_BLOCK_RSV(fs_info, delayed_refs_rsv); in __btrfs_dump_space_info()
578 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in may_commit_transaction() local
642 spin_lock(&delayed_refs_rsv->lock); in may_commit_transaction()
643 reclaim_bytes += delayed_refs_rsv->reserved; in may_commit_transaction()
644 spin_unlock(&delayed_refs_rsv->lock); in may_commit_transaction()
Dtransaction.c563 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in start_transaction() local
611 delayed_refs_rsv->full == 0) { in start_transaction()
636 !delayed_refs_rsv->full) { in start_transaction()
Dctree.h631 struct btrfs_block_rsv delayed_refs_rsv; member
Ddisk-io.c2753 btrfs_init_block_rsv(&fs_info->delayed_refs_rsv, in btrfs_init_fs_info()