Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/inode.c, line 3371
- fs/btrfs/ordered-data.c, line 402
- fs/btrfs/relocation.c
- fs/btrfs/zoned.c, line 2163
Smatch caller information:
fs/btrfs/ordered-data.c can_finish_ordered_extent() -> btrfs_mark_ordered_extent_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root | 4096-ptr_max |
| DATA_SOURCE | 0 | ordered | $0 |
| PREEMPT_ADD | |||
| 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 | 0 | ordered | unit_byte |
| LOCK2 | &inode->ordered_tree_lock | ||
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/inode.c btrfs_finish_one_ordered() -> btrfs_mark_ordered_extent_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ordered->inode->vfs_inode.i_mapping->host->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 | ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| CAPPED_DATA | 0 | ordered | 1 |
| DATA_SOURCE | 0 | ordered | $0 |
| 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 |
fs/btrfs/relocation.c btrfs_reloc_clone_csums() -> btrfs_mark_ordered_extent_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.done | 0 |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->compress_type | 0-255 |
| PARAM_VALUE | 0 | ordered->csum_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->flags | 128,256,512 |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->ordered_tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->ordered_tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.owner | (-1) |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_root_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extent_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_root.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | ordered->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->truncated_len | u64max |
| PARAM_VALUE | 0 | ordered->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | ordered | 1 |
| CAPPED_DATA | 0 | ordered->inode->root->fs_info->delalloc_batch | 1 |
| DATA_SOURCE | 0 | ordered | $0 |
| FUZZY_MAX | 0 | ordered->flags | 512 |
| BIT_INFO | 0 | ordered->flags | 0x0,0x380 |
| HARD_MAX | 0 | ordered->flags | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ordered->bytes_left | |
| 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 |
fs/btrfs/relocation.c btrfs_reloc_clone_csums() -> btrfs_mark_ordered_extent_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.done | 0 |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ordered->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->compress_type | 0-255 |
| PARAM_VALUE | 0 | ordered->csum_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->csum_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->flags | 128,256,512 |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->ordered_tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->ordered_tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.owner | (-1) |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_bytes.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_root_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->ordered_roots.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extent_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_extents.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->ordered_root.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->log_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | ordered->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->root_extent_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->truncated_len | u64max |
| PARAM_VALUE | 0 | ordered->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->work_list.prev->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | ordered | 1 |
| CAPPED_DATA | 0 | ordered->inode->root->fs_info->delalloc_batch | 1 |
| DATA_SOURCE | 0 | ordered | $0 |
| FUZZY_MAX | 0 | ordered->flags | 512 |
| BIT_INFO | 0 | ordered->flags | 0x0,0x380 |
| HARD_MAX | 0 | ordered->flags | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ordered->bytes_left | |
| 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 |
fs/btrfs/zoned.c btrfs_finish_ordered_zoned() -> btrfs_mark_ordered_extent_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ordered | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->bioc_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->disk_num_bytes | 1-u64max |
| PARAM_VALUE | 0 | ordered->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | ordered->inode->root->fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 0 | ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ordered->inode->vfs_inode.i_mapping->host->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 | ordered->inode->vfs_inode.i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| CAPPED_DATA | 0 | &ordered->csum_list | 1 |
| DATA_SOURCE | 0 | ordered | $0 |
| PARAM_COMPARE | 0 | &ordered->csum_list | != $0->csum_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ordered->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->num_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ordered->truncated_len |