Defined in 1 files as a function:
Referenced in 18 files:
- fs/btrfs/block-group.c
- fs/btrfs/defrag.c, line 1142
- fs/btrfs/direct-io.c
- fs/btrfs/disk-io.c, line 4815
- fs/btrfs/extent-io-tree.c
- fs/btrfs/extent-io-tree.h, line 203
- fs/btrfs/extent_io.c
- fs/btrfs/file-item.c, line 124
- fs/btrfs/free-space-cache.c
- fs/btrfs/inode.c
- fs/btrfs/qgroup.c, line 4176
- fs/btrfs/relocation.c
- fs/btrfs/tests/chunk-allocation-tests.c
- fs/btrfs/tests/extent-io-tests.c
- fs/btrfs/tests/inode-tests.c
- fs/btrfs/transaction.c, line 1222
- fs/btrfs/volumes.c
- include/trace/events/btrfs.h, line 2996
Smatch caller information:
fs/btrfs/extent-io-tree.c btrfs_lock_extent_bits() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 2,4,32770 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 4 | cached | (-1),8 |
| BUF_SIZE | 4 | cached | (-1),8 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 3 | bits | $3 |
| DATA_SOURCE | 4 | cached | $4 |
| NOSPEC | 1 | start | |
| NOSPEC | 4 | *cached->end | |
| NOSPEC | 4 | *cached->start | |
| HARD_MAX | 3 | bits | 32770 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max |
| USER_DATA | 4 | *cached->end | (-1)-s64max[u] |
| USER_DATA | 4 | *cached->start | s64min-s64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem |
fs/btrfs/extent-io-tree.c btrfs_try_lock_extent_bits() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 2,4 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 3 | bits | $3 |
| DATA_SOURCE | 4 | cached | $4 |
| NOSPEC | 1 | start | |
| NOSPEC | 4 | *cached->end | |
| NOSPEC | 4 | *cached->start | |
| HARD_MAX | 3 | bits | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614 |
| USER_DATA | 4 | *cached->end | (-1)-s64max[u] |
| USER_DATA | 4 | *cached->start | s64min-s64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &inode->i_mmap_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | &leaf->lock |
fs/btrfs/volumes.c btrfs_chunk_map_device_clear_bits() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 262145,262208 |
| PARAM_VALUE | 4 | cached | 0 |
| BIT_INFO | 3 | bits | 0x40000,0x4007f |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &fs_info->mapping_tree_lock | ||
| HALF_LOCKED2 | &trans->fs_info->mapping_tree_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |
fs/btrfs/volumes.c btrfs_shrink_device() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551104 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 65 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-s32max[c] |
| UNITS | 1 | start | unit_byte |
| LOCK2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/inode.c btrfs_data_csum_ok() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 256 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| PARAM_COMPARE | 1 | start | < $2 |
| PARAM_COMPARE | 2 | end | > $1 |
| PARAM_COMPARE | 2 | end | > $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_finish_one_ordered() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 81920 |
| PARAM_VALUE | 4 | cached | 8546195451074748416 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_finish_one_ordered() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 64,16384,16448,32770,32834,49154,49218 |
| PARAM_VALUE | 4 | cached | 8546195451074748416 |
| BIT_INFO | 3 | bits | 0x0,0xc042 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_invalidate_folio() -> btrfs_clear_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 | 8802 |
| PARAM_VALUE | 4 | cached | 6466694735904296960 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_invalidate_folio() -> btrfs_clear_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 | 8802,139874 |
| PARAM_VALUE | 4 | cached | 6466694735904296960 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| BIT_INFO | 3 | bits | 0x2262,0x22262 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_reset_extent_delalloc() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 8800 |
| PARAM_VALUE | 4 | cached | 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 | $4 |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 evict_inode_truncate_pages() -> btrfs_clear_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 | 3 | bits | 139776 |
| PARAM_VALUE | 4 | cached | 208922016816455680 |
| BUF_SIZE | 0 | tree | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c fallback_to_cow() -> btrfs_clear_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 | 1860993336972091392 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | end | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/file-item.c btrfs_inode_clear_file_extent_range() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 1-u64max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-s32max[c] |
| USER_DATA | 2 | end | 0-9223372039002259453 |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/tests/chunk-allocation-tests.c test_find_hole_in_pending() -> btrfs_clear_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 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/chunk-allocation-tests.c test_first_pending_extent() -> btrfs_clear_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 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| NOCHECK_CALL |
fs/btrfs/tests/extent-io-tests.c test_find_delalloc() -> btrfs_clear_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 | 0 |
| PARAM_VALUE | 2 | end | 268435455 |
| PARAM_VALUE | 3 | bits | u32max |
| PARAM_VALUE | 4 | cached | 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_clear_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 | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 65 |
| PARAM_VALUE | 4 | cached | 0 |
| NOCHECK_CALL |
fs/btrfs/extent_io.c extent_clear_unlock_delalloc() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 34,8226,16994,25186 |
| PARAM_VALUE | 4 | cached | 0,3220530682150821888,3844139500068659200,7329869414895685632,8845198066315870208 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 3 | bits | $5 |
| DATA_SOURCE | 4 | cached | $4 |
| HARD_MAX | 3 | bits | 25186 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent_io.c try_release_extent_state() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 4294708477 |
| PARAM_VALUE | 4 | cached | 7905816646571450368 |
| PARAM_VALUE | 4 | *cached | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | start | r folio_pos |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &folio->private->lock |
fs/btrfs/qgroup.c qgroup_unreserve_range() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 4096 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem |
fs/btrfs/direct-io.c btrfs_dio_iomap_begin() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 2,6 |
| PARAM_VALUE | 4 | cached | 4736794536619286528 |
| DATA_SOURCE | 1 | start | $1 |
| FUZZY_MAX | 3 | bits | 2 |
| BIT_INFO | 3 | bits | 0x2,0x6 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/direct-io.c btrfs_dio_iomap_begin() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 6 |
| PARAM_VALUE | 4 | cached | 4736794536619286528 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/free-space-cache.c flush_dirty_cache() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c update_cache_item() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c update_cache_item() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | bits | 32 |
| PARAM_VALUE | 4 | cached | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/relocation.c relocate_one_folio() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 130 |
| PARAM_VALUE | 4 | cached | 6026103247564840960 |
| PARAM_VALUE | 4 | *cached | 0,4096-ptr_max |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| 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_free_excluded_extents() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &caching_ctl->mutex | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex |
fs/btrfs/block-group.c clean_pinned_extents() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| LOCK2 | &fs_info->unused_bg_unpin_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bg_unpin_mutex |
fs/btrfs/block-group.c clean_pinned_extents() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| LOCK2 | &fs_info->unused_bg_unpin_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bg_unpin_mutex |
fs/btrfs/defrag.c defrag_one_locked_target() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | bits | 8800 |
| PARAM_VALUE | 4 | cached | 2341501471606366208 |
| DATA_SOURCE | 4 | cached | $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/tests/inode-tests.c test_extent_accounting() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 67108864 |
| PARAM_VALUE | 2 | end | 0-u32max |
| PARAM_VALUE | 3 | bits | 16416 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 2 | end | 1 |
| UNITS | 2 | end | unit_byte |
fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-u32max |
| PARAM_VALUE | 2 | end | 0-u32max |
| PARAM_VALUE | 3 | bits | 16416 |
| PARAM_VALUE | 4 | cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| UNITS | 1 | start | unit_byte |
fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 16416 |
| PARAM_VALUE | 4 | cached | 0 |
fs/btrfs/tests/inode-tests.c test_extent_accounting() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | bits | 16416 |
| PARAM_VALUE | 4 | cached | 0 |
| NOCHECK_CALL |
fs/btrfs/transaction.c __btrfs_wait_marked_extents() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 1024 |
| PARAM_VALUE | 4 | cached | 2450950846085390336 |
| PARAM_VALUE | 4 | *cached | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 0 | tree | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/disk-io.c btrfs_clear_extent_dirty() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 8737 |
| PARAM_VALUE | 4 | cached | 4340922239398785024 |
| PARAM_VALUE | 4 | *cached | 0,4096-ptr_max |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 4 | cached | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bg_unpin_mutex |
fs/btrfs/disk-io.c btrfs_destroy_marked_extents() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 1 |
| PARAM_VALUE | 4 | cached | 0 |
| DATA_SOURCE | 0 | tree | $1 |
| DATA_SOURCE | 3 | bits | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/extent-tree.c btrfs_clear_extent_dirty() -> btrfs_clear_extent_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | bits | 8737 |
| PARAM_VALUE | 4 | cached | 4770832932722307072 |
| PARAM_VALUE | 4 | *cached | 4096-ptr_max |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 4 | cached | $3 |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->unused_bg_unpin_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bg_unpin_mutex |