Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_do_encoded_write() -> __cow_file_range_inline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.full | 1 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->clamp | s32min-8 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->flush | 1 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delalloc_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delalloc_roots.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delalloc_roots.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delalloc_roots.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delalloc_roots.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delayed_iput_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delayed_iputs_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->delayed_iputs_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->ordered_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->ordered_roots.prev->next->prev | 6140170182684090368 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->reclaim_bgs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->tickets.prev->next | 643370198843097104 |
| PARAM_VALUE | 0 | inode->block_rsv.space_info->tickets.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->io_tree.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->io_tree.inode->root->delalloc_root.next->prev | 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->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->root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | inode->root->fs_info->sectorsize | 1-u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | inode->root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
| 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 | 0 | inode->vfs_inode.i_size | 0-4096 |
| PARAM_VALUE | 1 | size | 2-4096 |
| PARAM_VALUE | 2 | compressed_size | 1-4096 |
| PARAM_VALUE | 3 | compress_type | 1-3 |
| PARAM_VALUE | 5 | update_i_size | 1 |
| CAPPED_DATA | 0 | inode->block_rsv.space_info | 1 |
| CAPPED_DATA | 0 | inode->vfs_inode.i_size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 2 | compressed_size | 1 |
| CAPPED_DATA | 2 | compressed_size | 1 |
| DATA_SOURCE | 2 | compressed_size | r iov_iter_count |
| FUZZY_MAX | 3 | compress_type | 3 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 0 | inode->root->fs_info->max_inline | >= $2 |
| PARAM_COMPARE | 0 | inode->root->fs_info->sectorsize | > $2 |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 1 | size | > $2 |
| CONSTRAINT | 1 | size | <=4015 |
| BIT_INFO | 0 | inode->flags | 0x0,0xfffffffe |
| BIT_INFO | 2 | compressed_size | 0x0,0x3fffffff |
| NOSPEC | 1 | size | |
| NOSPEC | 1 | size | |
| NOSPEC | 2 | compressed_size | |
| NOSPEC | 2 | compressed_size | |
| HARD_MAX | 2 | compressed_size | 4096 |
| HARD_MAX | 3 | compress_type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | size | 2-4096[c] |
| USER_DATA | 2 | compressed_size | 1-4096[c] |
| UNITS | 1 | size | unit_byte |
| UNITS | 2 | compressed_size | unit_byte |
fs/btrfs/inode.c run_delalloc_inline() -> __cow_file_range_inline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->defrag_compress | 0-4,6-255 |
| PARAM_VALUE | 0 | inode->disk_i_size | 0-u32max |
| 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->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->root->fs_info->sectorsize | 1-u32max |
| PARAM_VALUE | 0 | inode->root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->root->root_key.objectid | 0-18446744073709551606,18446744073709551608-u64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_size | 0-4096 |
| PARAM_VALUE | 1 | size | 0-4096 |
| PARAM_VALUE | 2 | compressed_size | 0-4096 |
| PARAM_VALUE | 3 | compress_type | 2-3 |
| PARAM_VALUE | 5 | update_i_size | 0 |
| CAPPED_DATA | 0 | inode->disk_i_size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 2 | compressed_size | < $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 2 | compressed_size | <= $0->root->fs_info->max_inline |
| CONSTRAINT | 1 | size | <=4015 |
| BIT_INFO | 1 | size | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| UNITS | 2 | compressed_size | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c run_delalloc_inline() -> __cow_file_range_inline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->disk_i_size | 0-u32max |
| 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->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->root->fs_info->sectorsize | 1-u32max |
| PARAM_VALUE | 0 | inode->root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->vfs_inode.i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | inode->vfs_inode.i_size | 0-4096 |
| PARAM_VALUE | 1 | size | 0-4096 |
| PARAM_VALUE | 2 | compressed_size | 0 |
| PARAM_VALUE | 3 | compress_type | 0 |
| PARAM_VALUE | 4 | compressed_folio | 0 |
| PARAM_VALUE | 5 | update_i_size | 0 |
| CAPPED_DATA | 0 | inode->disk_i_size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| PARAM_COMPARE | 1 | size | <= $0->root->fs_info->sectorsize |
| CONSTRAINT | 1 | size | <=4015 |
| BIT_INFO | 1 | size | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |