Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/compression.c alloc_compressed_bio() -> to_compressed_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bbio | 4096-ptr_max |
| DATA_SOURCE | 0 | bbio | r btrfs_bio |
| MEM_ZERO | 0 | bbio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bbio->file_offset | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_size |
fs/btrfs/compression.c end_bbio_compressed_read() -> to_compressed_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bbio | 4096-ptr_max |
| BUF_SIZE | 0 | bbio | (-1),1-s32max |
| BUF_SIZE | 0 | bbio | (-1),1-s32max |
| BUF_SIZE | 0 | bbio->ordered | (-1),1-s32max |
| BUF_SIZE | 0 | bbio->private | (-1),1-s32max |
| DATA_SOURCE | 0 | bbio | $0 |
| NOSPEC | 0 | bbio->file_offset | |
| NOSPEC | 0 | bbio->parent_check.owner_root | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bbio->file_offset | 0-u64max |
| USER_DATA | 0 | bbio->parent_check.owner_root | 5,256-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->bytes_left | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->disk_bytenr | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->disk_num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->ram_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->truncated_len | |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/compression.c end_bbio_compressed_write() -> to_compressed_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bbio | 4096-ptr_max |
| BUF_SIZE | 0 | bbio | (-1),1-s32max |
| BUF_SIZE | 0 | bbio | (-1),1-s32max |
| BUF_SIZE | 0 | bbio->ordered | (-1),1-s32max |
| BUF_SIZE | 0 | bbio->private | (-1),1-s32max |
| DATA_SOURCE | 0 | bbio | $0 |
| NOSPEC | 0 | bbio->file_offset | |
| NOSPEC | 0 | bbio->parent_check.owner_root | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bbio->file_offset | 0-u64max |
| USER_DATA | 0 | bbio->parent_check.owner_root | 5,256-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->bytes_left | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->disk_bytenr | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->disk_num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->ram_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bbio->ordered->truncated_len | |
| HALF_LOCKED2 | &pool->lock |