Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Ddelayed-ref.c33 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_check_space_for_delayed_refs() local
48 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() local
117 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 …]
H A Dblock-rsv.c278 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()
H A Dspace-info.c483 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() local
1146 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()
H A Dtransaction.c568 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in start_transaction() local
618 !btrfs_block_rsv_full(delayed_refs_rsv)) { in start_transaction()
644 !btrfs_block_rsv_full(delayed_refs_rsv)) { in start_transaction()
H A Dfs.h408 struct btrfs_block_rsv delayed_refs_rsv; member
H A Ddisk-io.c2724 btrfs_init_block_rsv(&fs_info->delayed_refs_rsv, in btrfs_init_fs_info()
/openbmc/linux/include/trace/events/
H A Dbtrfs.h2244 __entry->delayed_refs_reserved = fs_info->delayed_refs_rsv.reserved;