Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/compression.c, line 295
- fs/btrfs/direct-io.c
- fs/btrfs/extent_io.c, line 560
- include/trace/events/btrfs.h, line 751
Smatch caller information:
fs/btrfs/extent_io.c end_bbio_data_write() -> btrfs_finish_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ordered | (-1),1-s32max |
| BUF_SIZE | 0 | ordered | (-1),1-s32max |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | file_offset | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | ordered->bytes_left | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->disk_bytenr | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->disk_num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->ram_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->truncated_len | |
| UNITS | 1 | file_offset | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/direct-io.c btrfs_dio_end_io() -> btrfs_finish_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ordered | (-1),1-s32max |
| BUF_SIZE | 0 | ordered | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ordered->bytes_left | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->disk_bytenr | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->disk_num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->ram_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->truncated_len | |
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/direct-io.c btrfs_dio_iomap_end() -> btrfs_finish_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->ordered_tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 1-u64max |
| PARAM_VALUE | 3 | uptodate | 1 |
| CAPPED_DATA | 2 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ordered->truncated_len | |
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/btrfs/direct-io.c btrfs_dio_submit_io() -> btrfs_finish_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->vfs_inode.i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 1 | file_offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | file_offset | 0-u64max |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/compression.c end_bbio_compressed_write() -> btrfs_finish_ordered_extent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |