Defined in 1 files as a function:
Referenced in 14 files:
- fs/btrfs/compression.c, line 464
- fs/btrfs/defrag.c
- fs/btrfs/direct-io.c, line 62
- fs/btrfs/disk-io.c, line 513
- fs/btrfs/extent_io.c
- fs/btrfs/extent_map.c, line 1069
- fs/btrfs/fiemap.c, line 663
- fs/btrfs/file.c
- fs/btrfs/free-space-cache.c
- fs/btrfs/inode.c
- fs/btrfs/ordered-data.c, line 1193
- fs/btrfs/reflink.c
- fs/btrfs/relocation.c
- fs/btrfs/tree-log.c, line 4721
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_lock_and_flush_ordered_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775807 |
| PARAM_VALUE | 3 | cached | 74169900424097792,3214204479715418112,9083642526219137024 |
| BUF_SIZE | 3 | cached | (-1),8 |
| BUF_SIZE | 3 | cached | (-1),8 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| NOSPEC | 1 | start | |
| NOSPEC | 3 | *cached->end | |
| NOSPEC | 3 | *cached->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775806[c] |
| USER_DATA | 2 | end | 0-4294963197,u64max[u] |
| USER_DATA | 3 | *cached->end | (-1)-s64max[u] |
| USER_DATA | 3 | *cached->start | s64min-s64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/tree-log.c log_csums() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 1948384778809356288 |
| PARAM_VALUE | 3 | *cached | 0 |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/file.c btrfs_fallocate() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775807 |
| PARAM_VALUE | 3 | cached | 2447637895045861376 |
| PARAM_VALUE | 3 | *cached | 0 |
| 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-9223372036854775807[c] |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/file.c btrfs_page_mkwrite() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | cached | 1955824220943892480 |
| 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/file.c btrfs_punch_hole_lock_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 519879164026650624,4434006132810223616 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 3 | cached | $3 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 3 | *cached->end | |
| NOSPEC | 3 | *cached->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775807[c] |
| USER_DATA | 2 | end | 0-9223372041149743101[c] |
| USER_DATA | 3 | *cached->end | (-1)-s64max[u] |
| USER_DATA | 3 | *cached->start | s64min-s64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/file.c find_desired_extent() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775806 |
| PARAM_VALUE | 3 | cached | 9102257358825279488 |
| PARAM_VALUE | 3 | *cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775806[c] |
| USER_DATA | 2 | end | 0-9223372041149743101[c] |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/file.c lock_and_cleanup_extent() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775807 |
| PARAM_VALUE | 3 | cached | 6180677299703959552 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 3 | cached | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775806[c] |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_do_encoded_write() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775806,9223372036854775808-u64max |
| PARAM_VALUE | 3 | cached | 4688355086660022272 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-1000000000[c] |
| USER_DATA | 2 | end | 0-6294967293,u64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/inode.c btrfs_encoded_read() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-5294967294 |
| PARAM_VALUE | 2 | end | 131071-5295098365 |
| PARAM_VALUE | 3 | cached | 4877488597679865856,8748874923462721536 |
| 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 | 3 | cached | $3 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 2 | end | < $1 |
| PARAM_COMPARE | 2 | end | == $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| NOSPEC | 2 | end | |
| NOSPEC | 3 | *cached->end | |
| NOSPEC | 3 | *cached->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775807[c] |
| USER_DATA | 2 | end | 131071-9223372036854906878[c] |
| USER_DATA | 3 | *cached->end | (-1)-s64max[u] |
| USER_DATA | 3 | *cached->start | s64min-s64max |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/inode.c btrfs_invalidate_folio() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 6466694735904296960 |
| PARAM_VALUE | 3 | *cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| 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 |
fs/btrfs/inode.c btrfs_swap_activate() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cached | 6813105374296518656 |
| PARAM_VALUE | 3 | *cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 2 | end | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/inode.c btrfs_truncate_block() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 1079418415250857984 |
| BUF_SIZE | 0 | tree | 96 |
| 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/inode.c btrfs_writepage_fixup_worker() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 1535888038451412992 |
| 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 |
| BIT_INFO | 2 | end | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | end | 0x0,0x7fffffffffffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c cow_one_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 3220530682150821888 |
| DATA_SOURCE | 1 | start | $4 |
| DATA_SOURCE | 3 | cached | $3 |
| 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 evict_inode_truncate_pages() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->state.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 3 | cached | 208922016816455680 |
| PARAM_VALUE | 3 | *cached | 0 |
| 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_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | cached | 1860993336972091392 |
| PARAM_VALUE | 3 | *cached | 0 |
| 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/inode.c nocow_one_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | cached | 8845198066315870208 |
| PARAM_VALUE | 3 | *cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $4 |
| DATA_SOURCE | 3 | cached | $2 |
| 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/inode.c run_delalloc_inline() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | 0-u32max |
| PARAM_VALUE | 3 | cached | 7329869414895685632 |
| PARAM_VALUE | 3 | *cached | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c submit_one_async_extent() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 3844139500068659200 |
| PARAM_VALUE | 3 | *cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent_io.c find_lock_delalloc_range() -> btrfs_lock_extent()
| 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-18446744073709547519 |
| PARAM_VALUE | 3 | cached | 6270468318468919296 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/extent_io.c lock_extents_for_read() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 513883459811622912,1318380676555145216 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 3 | cached | $3 |
| BIT_INFO | 1 | start | 0x0,0x7ffffffffffff000 |
| BIT_INFO | 1 | start | 0x0,0x7ffffffffffff000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/direct-io.c lock_extent_direct() -> btrfs_lock_extent()
| 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 | cached | 4736794536619286528 |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 3 | cached | $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/free-space-cache.c __btrfs_write_out_cache() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cached | 4213788285026729984 |
| PARAM_VALUE | 3 | *cached | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c btrfs_truncate_free_space_cache() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | cached | 5846212430327271424 |
| PARAM_VALUE | 3 | *cached | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/relocation.c invalidate_extent_cache() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | cached | 6730005139490516992 |
| PARAM_VALUE | 3 | *cached | 0 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
fs/btrfs/relocation.c prealloc_file_extent_cluster() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 3735303351545520128 |
| PARAM_VALUE | 3 | *cached | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/relocation.c relocate_one_folio() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 6026103247564840960 |
| PARAM_VALUE | 3 | *cached | 0 |
| 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/relocation.c setup_relocation_extent_mapping() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 6560932744474435584 |
| PARAM_VALUE | 3 | *cached | 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/defrag.c defrag_lookup_extent() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | cached | 3356047926390734848 |
| PARAM_VALUE | 3 | *cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372039002259454[c] |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/defrag.c defrag_one_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 2341501471606366208 |
| PARAM_VALUE | 3 | *cached | 0 |
| NOCHECK_CALL | |||
| UNITS | 2 | end | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/defrag.c defrag_prepare_one_folio() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 7669145342631985152 |
| DATA_SOURCE | 1 | start | r folio_pos |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| NOCHECK_CALL | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/extent_map.c btrfs_split_extent_map() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 0 |
| DATA_SOURCE | 1 | start | $1 |
| 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/disk-io.c btree_invalidate_folio() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 8089651686503477248 |
| PARAM_VALUE | 3 | *cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| DATA_SOURCE | 1 | start | r folio_pos |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | start | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | end | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | end | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/compression.c add_ra_bio_folios() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 3 | cached | 0 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
fs/btrfs/reflink.c btrfs_clone_files() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-9223372036854775807 |
| PARAM_VALUE | 3 | cached | 8850145704558022656 |
| PARAM_VALUE | 3 | *cached | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $4 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &src_inode->vfs_inode.i_rwsem |
fs/btrfs/reflink.c btrfs_extent_same_range() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 1091491369967710208 |
| PARAM_VALUE | 3 | *cached | 0 |
| DATA_SOURCE | 1 | start | $4 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-9223372036888330239[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &src->vfs_inode.i_rwsem |
fs/btrfs/fiemap.c extent_fiemap() -> btrfs_lock_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 3 | cached | 1652421000931901440 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| NOSPEC | 1 | start | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |