Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- fs/btrfs/block-group.c
- fs/btrfs/defrag.c, line 1145
- fs/btrfs/dev-replace.c, line 812
- fs/btrfs/extent-tree.c
- fs/btrfs/file-item.c
- fs/btrfs/file.c, line 1949
- fs/btrfs/inode.c
- fs/btrfs/relocation.c
- fs/btrfs/tests/chunk-allocation-tests.c
- fs/btrfs/tests/extent-io-tests.c
- fs/btrfs/volumes.c, line 6019
- include/trace/events/btrfs.h, line 2963
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_set_target_alloc_state() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 480,4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/volumes.c chunk_map_device_set_bits() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 262145 |
| PARAM_VALUE | 4 | cached_state | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->mapping_tree_lock | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |
fs/btrfs/file.c btrfs_page_mkwrite() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 2048 |
| PARAM_VALUE | 4 | cached_state | 1955824220943892480 |
| PARAM_VALUE | 4 | *cached_state | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | r folio_pos |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_mmap_lock | ||
| TYPE_LOCK | (struct btrfs_inode)->i_mmap_lock |
fs/btrfs/inode.c btrfs_find_new_delalloc_bytes() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 16384 |
| PARAM_VALUE | 4 | cached_state | 0,1535888038451412992,6026103247564840960 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 4 | cached_state | $3 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 4 | *cached_state->end | |
| NOSPEC | 4 | *cached_state->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-s32max[c] |
| USER_DATA | 2 | end | 1-4294967293 |
| USER_DATA | 4 | *cached_state->end | (-1)-s64max[u] |
| USER_DATA | 4 | *cached_state->start | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_reset_extent_delalloc() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 32,2080,16416,18464 |
| PARAM_VALUE | 4 | cached_state | 0,1079418415250857984,1955824220943892480,4213788285026729984,6180677299703959552 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 4 | cached_state | $4 |
| BIT_INFO | 3 | bits | 0x20,0x4820 |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-9223372036888330239[c] |
| USER_DATA | 2 | end | 0-6442450941,u64max[u] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &inode->i_mmap_lock |
fs/btrfs/inode.c btrfs_set_extent_delalloc() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 32,16416 |
| PARAM_VALUE | 4 | cached_state | 0,1535888038451412992,6026103247564840960 |
| PARAM_VALUE | 4 | *cached_state | 0,4096-ptr_max |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 4 | cached_state | $4 |
| BIT_INFO | 3 | bits | 0x20,0x4020 |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_truncate_block() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 2048 |
| PARAM_VALUE | 4 | cached_state | 1079418415250857984 |
| PARAM_VALUE | 4 | *cached_state | 0,4096-ptr_max |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-s32max[c] |
| USER_DATA | 2 | end | 0-6442450941,u64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/file-item.c btrfs_inode_set_file_extent_range() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 1-u64max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-9223372036854775807[c] |
| USER_DATA | 2 | end | 0-18446744073709551613 |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/file-item.c btrfs_lookup_bio_sums() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 256 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/tests/chunk-allocation-tests.c test_find_hole_in_pending() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->owner | 0 |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/chunk-allocation-tests.c test_first_pending_extent() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->owner | 0 |
| PARAM_VALUE | 1 | start | 0,1073741824,2147483648 |
| PARAM_VALUE | 2 | end | 1073741823,s32max,3221225471,u32max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/extent-io-tests.c test_find_delalloc() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | 0-u32max |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached_state | 0 |
| BUF_SIZE | 0 | tree | 96 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize |
fs/btrfs/tests/extent-io-tests.c test_find_delalloc() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 2 | end | 134217727 |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached_state | 0 |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 1 | start | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize |
fs/btrfs/tests/extent-io-tests.c test_find_delalloc() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 1 | start | 134217728 |
| PARAM_VALUE | 2 | end | 268435455 |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached_state | 0 |
| BUF_SIZE | 0 | tree | 96 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize | |
| UNITS | 2 | end | unit_byte |
fs/btrfs/tests/extent-io-tests.c test_find_first_clear_extent_bit() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 3054325114308427776 |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 1 | start | 1048576 |
| PARAM_VALUE | 2 | end | 4194303 |
| PARAM_VALUE | 3 | bits | 65 |
| PARAM_VALUE | 4 | cached_state | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/extent-io-tests.c test_find_first_clear_extent_bit() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 3054325114308427776 |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 1 | start | 33554432 |
| PARAM_VALUE | 2 | end | 67108863 |
| PARAM_VALUE | 3 | bits | 65 |
| PARAM_VALUE | 4 | cached_state | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/extent-io-tests.c test_find_first_clear_extent_bit() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 3054325114308427776 |
| PARAM_VALUE | 0 | tree->fs_info | 0 |
| PARAM_VALUE | 0 | tree->inode | 0 |
| PARAM_VALUE | 0 | tree->owner | 9 |
| PARAM_VALUE | 1 | start | 67108864 |
| PARAM_VALUE | 2 | end | 75497471 |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| NOCHECK_CALL |
fs/btrfs/relocation.c mark_block_processed() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex |
fs/btrfs/relocation.c relocate_one_folio() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 128 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/block-group.c btrfs_update_block_group() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/block-group.c exclude_super_stripes() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-u16max |
| PARAM_VALUE | 2 | end | u16max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| FUZZY_MAX | 1 | start | u16max |
| HARD_MAX | 1 | start | u16max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &fs_info->chunk_mutex |
fs/btrfs/block-group.c exclude_super_stripes() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &fs_info->chunk_mutex |
fs/btrfs/defrag.c defrag_one_locked_target() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 96 |
| PARAM_VALUE | 4 | cached_state | 2341501471606366208 |
| DATA_SOURCE | 4 | cached_state | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/extent-tree.c btrfs_init_new_buffer() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 8 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &buf->lock | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock | ||
| TYPE_LOCK | (struct extent_buffer)->lock |
fs/btrfs/extent-tree.c btrfs_init_new_buffer() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 16 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &buf->lock | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock | ||
| TYPE_LOCK | (struct extent_buffer)->lock |
fs/btrfs/extent-tree.c btrfs_init_new_buffer() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &buf->lock | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock | ||
| TYPE_LOCK | (struct extent_buffer)->lock |
fs/btrfs/extent-tree.c btrfs_trim_free_extents_throttle() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1048576-u64max |
| PARAM_VALUE | 3 | bits | 64 |
| PARAM_VALUE | 4 | cached_state | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/extent-tree.c pin_down_extent() -> btrfs_set_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached_state | 0 |
| DATA_SOURCE | 1 | start | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |