Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/file.c btrfs_page_mkwrite() -> btrfs_check_nocow_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | inode->root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | write_bytes | 2618413964538396672 |
| PARAM_VALUE | 3 | nowait | 0 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 1 | pos | r folio_pos |
| BIT_INFO | 1 | pos | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/file.c reserve_space() -> btrfs_check_nocow_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | inode->root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | write_bytes | 3534893295912153088 |
| PARAM_VALUE | 2 | *write_bytes | 0-1000000000 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | pos | $2 |
| DATA_SOURCE | 2 | write_bytes | $3 |
| DATA_SOURCE | 3 | nowait | $4 |
| BIT_INFO | 3 | nowait | 0x0,0x0 |
| NOSPEC | 1 | pos | |
| NOSPEC | 1 | pos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | 0-9223372036854775806[c] |
| USER_DATA | 2 | *write_bytes | 0-1000000000[c] |
| USER_DATA | 3 | nowait | 0-1[c] |
| UNITS | 1 | pos | unit_byte |
| USER_PTR | 2 | write_bytes | |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_truncate_block() -> btrfs_check_nocow_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | inode->root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | write_bytes | 8218355992714342400 |
| PARAM_VALUE | 2 | *write_bytes | 0-u32max |
| PARAM_VALUE | 3 | nowait | 0 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| NOSPEC | 1 | pos | |
| NOSPEC | 1 | pos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | 1-s32max[c] |
| UNITS | 1 | pos | unit_byte |