Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_dec_test_ordered_pending() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 1 | file_offset | 1 |
| CAPPED_DATA | 1 | file_offset | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file_offset | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_first_ordered_extent() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | file_offset | 0-9223372036854775807,u64max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file_offset | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->vfs_inode.i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| USER_DATA | 0 | inode->vfs_inode.i_bytes | 0-65023[c] |
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| HALF_LOCKED2 | 0 | &inode->i_mmap_lock | |
| HALF_LOCKED2 | 0 | &inode->vfs_inode.i_rwsem | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_ordered_extent() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file_offset | $1 |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file_offset | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->csum_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | file_offset | |
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_ordered_range() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file_offset | $1 |
| NOSPEC | 0 | inode->vfs_inode.i_mapping->writeback_index | |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->defrag_compress | 1-3 |
| USER_DATA | 0 | inode->defrag_compress_level | (-15)-15[c] |
| USER_DATA | 0 | inode->vfs_inode.i_mapping->writeback_index | 0-524287[c] |
| USER_DATA | 1 | file_offset | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->csum_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_size | |
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| HALF_LOCKED2 | 0 | &inode->i_mmap_lock | |
| HALF_LOCKED2 | 0 | &inode->vfs_inode.i_rwsem | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_ordered_range() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| NOSPEC | 0 | inode->vfs_inode.i_mapping->writeback_index | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->defrag_compress | 1-3 |
| USER_DATA | 0 | inode->defrag_compress_level | (-15)-15[c] |
| USER_DATA | 0 | inode->vfs_inode.i_mapping->writeback_index | 0-524287[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->csum_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_size | |
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| HALF_LOCKED2 | 0 | &inode->i_mmap_lock | |
| HALF_LOCKED2 | 0 | &inode->vfs_inode.i_rwsem | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_mark_ordered_io_finished() -> ordered_tree_search()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 1 | file_offset | 1 |
| CAPPED_DATA | 1 | file_offset | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->file_extent_tree->inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->io_tree.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | file_offset | |
| UNITS | 1 | file_offset | unit_byte |
| LOCK2 | 0 | &inode->ordered_tree_lock | |
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |