Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Ddelayed-ref.c31 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_check_space_for_delayed_refs() local
46 spin_lock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()
47 reserved += delayed_refs_rsv->reserved; in btrfs_check_space_for_delayed_refs()
48 if (delayed_refs_rsv->size >= reserved) in btrfs_check_space_for_delayed_refs()
50 spin_unlock(&delayed_refs_rsv->lock); in btrfs_check_space_for_delayed_refs()
83 struct btrfs_block_rsv *block_rsv = &fs_info->delayed_refs_rsv; in btrfs_delayed_refs_rsv_release()
114 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv()
154 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_migrate_to_delayed_refs_rsv() local
162 spin_lock(&delayed_refs_rsv->lock); in btrfs_migrate_to_delayed_refs_rsv()
163 if (delayed_refs_rsv->size > delayed_refs_rsv->reserved) { in btrfs_migrate_to_delayed_refs_rsv()
[all …]
Dblock-rsv.c280 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release()
428 root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_root_block_rsv()
456 fs_info->delayed_refs_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
471 WARN_ON(fs_info->delayed_refs_rsv.reserved > 0); in btrfs_release_global_block_rsv()
472 WARN_ON(fs_info->delayed_refs_rsv.size > 0); in btrfs_release_global_block_rsv()
Dspace-info.c502 DUMP_BLOCK_RSV(fs_info, delayed_refs_rsv); in dump_global_block_rsv()
955 used += fs_info->delayed_refs_rsv.reserved + in need_preemptive_reclaim()
1153 struct btrfs_block_rsv *delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space() local
1162 delayed_refs_rsv = &fs_info->delayed_refs_rsv; in btrfs_preempt_reclaim_metadata_space()
1184 delayed_refs_rsv->reserved + in btrfs_preempt_reclaim_metadata_space()
1206 delayed_refs_rsv->reserved)) { in btrfs_preempt_reclaim_metadata_space()
1210 delayed_refs_rsv->reserved) { in btrfs_preempt_reclaim_metadata_space()
1214 to_reclaim = delayed_refs_rsv->reserved; in btrfs_preempt_reclaim_metadata_space()
Dtransaction.c552 struct btrfs_block_rsv *delayed_refs_rsv = &fs_info->delayed_refs_rsv; in start_transaction() local
597 btrfs_block_rsv_full(delayed_refs_rsv) == 0) { in start_transaction()
622 !btrfs_block_rsv_full(delayed_refs_rsv)) { in start_transaction()
Dctree.h679 struct btrfs_block_rsv delayed_refs_rsv; member
Ddisk-io.c3033 btrfs_init_block_rsv(&fs_info->delayed_refs_rsv, in btrfs_init_fs_info()
/linux-6.1.9/include/trace/events/
Dbtrfs.h2136 __entry->delayed_refs_reserved = fs_info->delayed_refs_rsv.reserved;