Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/file.c btrfs_fallocate() -> btrfs_alloc_data_chunk_ondemand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | bytes | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/file.c btrfs_zero_range() -> btrfs_alloc_data_chunk_ondemand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | bytes | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bytes | 1-u64max[c] |
| UNITS | 1 | bytes | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_do_encoded_write() -> btrfs_alloc_data_chunk_ondemand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->io_tree.inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->io_tree.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->ordered_tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | bytes | 0-u32max |
| CAPPED_DATA | 0 | inode->vfs_inode.i_size | 1 |
| CAPPED_DATA | 1 | bytes | 1 |
| CAPPED_DATA | 1 | bytes | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | inode->flags | 0x0,0xfffffffe |
| BIT_INFO | 1 | bytes | 0x0,0x1ffffffff |
| NOSPEC | 1 | bytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bytes | unit_byte |
fs/btrfs/relocation.c prealloc_file_extent_cluster() -> btrfs_alloc_data_chunk_ondemand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->invalidate_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->invalidate_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | inode->vfs_inode.i_mapping | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | bytes | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |