Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
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()
50 if (delayed_refs_rsv->size >= reserved) in btrfs_check_space_for_delayed_refs()
52 spin_unlock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()
67 struct btrfs_block_rsv *block_rsv = &fs_info->delayed_refs_rsv; in btrfs_delayed_refs_rsv_release()
86 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv()
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()
[all …]
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()
Dspace-info.c483 DUMP_BLOCK_RSV(fs_info, delayed_refs_rsv); in dump_global_block_rsv()
940 used += fs_info->delayed_refs_rsv.reserved + in need_preemptive_reclaim()
1138 struct btrfs_block_rsv *delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space() local
1147 delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space()
1169 delayed_refs_rsv->reserved + in btrfs_preempt_reclaim_metadata_space()
1191 delayed_refs_rsv->reserved)) { in btrfs_preempt_reclaim_metadata_space()
1195 delayed_refs_rsv->reserved) { in btrfs_preempt_reclaim_metadata_space()
1199 to_reclaim = delayed_refs_rsv->reserved; in btrfs_preempt_reclaim_metadata_space()
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()
Dfs.h408 struct btrfs_block_rsv delayed_refs_rsv; member
Ddisk-io.c2724 btrfs_init_block_rsv(&fs_info->delayed_refs_rsv, in btrfs_init_fs_info()
/linux-6.6.21/include/trace/events/
Dbtrfs.h2244 __entry->delayed_refs_reserved = fs_info->delayed_refs_rsv.reserved;