Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/tests/free-space-tests.c check_cache_empty() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_extents | 2 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space | 0 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 1 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->allocated_ebs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->allocated_ebs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->allocated_roots.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->allocated_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->balance_ctl | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->balance_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->balance_wait_q.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->balance_wait_q.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->block_group_cache_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | block_group->fs_info->block_group_cache_lock.owner | (-1) |
| PARAM_VALUE | 0 | block_group->fs_info->block_group_cache_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | block_group->fs_info->btrfs_ordered_extent_map.name | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->btrfs_trans_num_extwriters_map.name | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->btrfs_trans_num_writers_map.name | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->btrfs_trans_pending_ordered_map.name | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->buffer_tree.xa_flags | 33 |
| PARAM_VALUE | 0 | block_group->fs_info->buffer_tree.xa_head | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->caching_block_groups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->caching_block_groups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->chunk_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->chunk_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->chunk_block_rsv.type | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->chunk_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->cleaner_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->cleanup_work_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->commit_interval | 30 |
| PARAM_VALUE | 0 | block_group->fs_info->commit_root_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dead_roots.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dead_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->defrag_running.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->delalloc_root_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delalloc_roots.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delalloc_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_block_rsv.type | 5 |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_refs_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_refs_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_refs_rsv.type | 6 |
| PARAM_VALUE | 0 | block_group->fs_info->dev_replace.lock_finishing_cancel_unmount.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dev_replace.replace_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dev_replace.replace_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dirty_cowonly_roots.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dirty_cowonly_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dirty_qgroups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->dirty_qgroups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0,4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->empty_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->empty_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->empty_block_rsv.type | 8 |
| PARAM_VALUE | 0 | block_group->fs_info->excluded_extents.fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->excluded_extents.inode | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->excluded_extents.owner | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->fs_roots_radix.xa_flags | 2080 |
| PARAM_VALUE | 0 | block_group->fs_info->fs_roots_radix.xa_head | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->fully_remapped_bgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->fully_remapped_bgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->global_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->global_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->global_block_rsv.type | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->global_root_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | block_group->fs_info->global_root_lock.owner | (-1) |
| PARAM_VALUE | 0 | block_group->fs_info->global_root_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | block_group->fs_info->mapping_tree_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | block_group->fs_info->mapping_tree_lock.owner | (-1) |
| PARAM_VALUE | 0 | block_group->fs_info->mapping_tree_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->max_inline | 2048 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->metadata_ratio | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->ordered_operations_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->ordered_roots.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->ordered_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reloc_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->remap_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->remap_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->remap_block_rsv.type | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->remap_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->ro_block_group_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->scrub_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->scrub_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->scrub_pause_req.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->scrub_pause_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->scrub_pause_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->scrubs_paused.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->scrubs_running.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->space_info.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->space_info.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->stripesize | 4096 |
| PARAM_VALUE | 0 | block_group->fs_info->subvol_sem.first_waiter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->subvol_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->thread_pool_size | 2 |
| PARAM_VALUE | 0 | block_group->fs_info->trans_block_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->trans_block_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->trans_block_rsv.type | 2 |
| PARAM_VALUE | 0 | block_group->fs_info->trans_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->trans_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_kthread_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->tree_log_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_log_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_log_lock.owner | (-1) |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_log_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_seq.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_seq_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->tree_mod_seq_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.failfast | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.full | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.reserved | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.size | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.space_info | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->treelog_rsv.type | 7 |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bg_unpin_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 3444757163022209024 |
| PARAM_VALUE | 0 | block_group->fs_info->zone_active_bgs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->zone_active_bgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->zoned_data_reloc_io_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->zoned_meta_io_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | bytes | 4096 |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 9066009710264459264 |
| BUF_SIZE | 0 | block_group | 992 |
| BUF_SIZE | 0 | block_group | 992 |
| CAPPED_DATA | 0 | block_group | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->btrfs_ordered_extent_map.name | 1 |
| TERMINATED | 0 | block_group->fs_info->btrfs_trans_num_extwriters_map.name | 1 |
| TERMINATED | 0 | block_group->fs_info->btrfs_trans_num_writers_map.name | 1 |
| TERMINATED | 0 | block_group->fs_info->btrfs_trans_pending_ordered_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len |
fs/btrfs/tests/free-space-tests.c test_bytes_index() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space_bytes.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space_bytes.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 638504405403795456 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | bytes | 0-u32max |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 75301703404027904 |
| PARAM_VALUE | 4 | *max_extent_size | 0 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len | |
| UNITS | 1 | offset | unit_byte |
fs/btrfs/tests/free-space-tests.c test_bytes_index() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space_bytes.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space_bytes.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 638504405403795456 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | bytes | 0-u32max |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 75301703404027904 |
| PARAM_VALUE | 4 | *max_extent_size | 0 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len | |
| UNITS | 1 | offset | unit_byte |
fs/btrfs/tests/free-space-tests.c test_steal_space_from_bitmap_to_extent() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_extents | 2 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space | 0-u32max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 1 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 3444757163022209024 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | bytes | 1048576 |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 8566552678403641344 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->free_space | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len |
fs/btrfs/tests/free-space-tests.c test_steal_space_from_bitmap_to_extent() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_extents | 2 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space | 0-u32max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 1 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 3444757163022209024 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 8566552678403641344 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->free_space | 1 |
| CAPPED_DATA | 2 | bytes | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| DATA_SOURCE | 2 | bytes | $1 |
| PARAM_COMPARE | 0 | block_group->free_space_ctl->free_space | == $2 |
| PARAM_COMPARE | 2 | bytes | == $0->free_space_ctl->free_space |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len | |
| UNITS | 2 | bytes | unit_byte |
fs/btrfs/tests/free-space-tests.c test_steal_space_from_bitmap_to_extent() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_extents | 2 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space | 0-u32max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 1 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 3444757163022209024 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry->next->pprev | 1-u64max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | bytes | 1048576 |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 8566552678403641344 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->free_space | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len |
fs/btrfs/tests/free-space-tests.c test_steal_space_from_bitmap_to_extent() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_extents | 2 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->free_space | 0-u32max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 1 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->async_submit_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->bg_reclaim_threshold | 75 |
| PARAM_VALUE | 0 | block_group->fs_info->compress_type | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->csum_size | 4 |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->data_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->delayed_iputs_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.delay_ms | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.iops_limit | 1000 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.kbps_limit | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.max_discard_size | 67108864 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->max_extent_size | 134217728 |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->meta_alloc_cluster.block_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_drop_subtree_thres | 3 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_ioctl_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_rescan_running | 0 |
| PARAM_VALUE | 0 | block_group->fs_info->qgroup_seq | 1 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->sectorsize_bits | 0-31,u32max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_blocked_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_throttle.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->transaction_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->use_bitmap | 3444757163022209024 |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry->next->pprev | 1-u64max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | bytes | 0-u32max |
| PARAM_VALUE | 3 | empty_size | 0 |
| PARAM_VALUE | 4 | max_extent_size | 8566552678403641344 |
| BUF_SIZE | 0 | block_group | 984 |
| CAPPED_DATA | 0 | block_group | 1 |
| CAPPED_DATA | 0 | block_group->free_space_ctl->free_space | 1 |
| CAPPED_DATA | 2 | bytes | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| TERMINATED | 0 | block_group->fs_info->uuid_tree_rescan_sem.lock.dep_map.name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | block_group->full_stripe_len |
fs/btrfs/extent-tree.c find_free_extent_unclustered() -> btrfs_find_space_for_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cached | 0-2,4-u32max |
| PARAM_VALUE | 0 | block_group->data_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | block_group->data_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 3 | empty_size | 0-u32max |
| PARAM_VALUE | 4 | max_extent_size | 6234682535772307536 |
| CAPPED_DATA | 0 | block_group | 1 |
| DATA_SOURCE | 0 | block_group | $0 |
| NOSPEC | 2 | bytes | |
| NOSPEC | 2 | bytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | bytes | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| UNITS | 3 | empty_size | unit_byte |
| LOCK2 | &space_info->groups_sem | ||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &root->objectid_mutex | ||
| TYPE_LOCK | (struct btrfs_space_info)->groups_sem |