Defined in 1 files as a function:
Referenced in 5 files:
- fs/btrfs/defrag.c, line 882
- fs/btrfs/direct-io.c, line 109
- fs/btrfs/file.c
- fs/btrfs/inode.c
- fs/btrfs/ordered-data.c
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_lock_and_flush_ordered_range() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/ordered-data.c btrfs_run_ordered_extent_work() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/ordered-data.c btrfs_wait_ordered_range() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-9223372036854775807 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_first_ordered_extent |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | &vfs_inode->i_rwsem |
fs/btrfs/file.c btrfs_page_mkwrite() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/file.c lock_and_cleanup_extent() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_truncate_block() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->num_bytes | 1-u64max |
| CAPPED_DATA | 0 | entry->num_bytes | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_extent |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/inode.c btrfs_writepage_fixup_worker() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/direct-io.c lock_extent_direct() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| NOCHECK_CALL |
fs/btrfs/defrag.c defrag_prepare_one_folio() -> btrfs_start_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->file_offset | 0-18446744073709551614 |
| CAPPED_DATA | 0 | entry->file_offset | 1 |
| DATA_SOURCE | 0 | entry | r btrfs_lookup_ordered_range |
| NOCHECK_CALL | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |