Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/verity.c rollback_verity() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | function | 6049249325848424448 |
| PARAM_VALUE | 2 | line | 459 |
| PARAM_VALUE | 3 | error | s32min-(-1) |
| PARAM_VALUE | 4 | fmt | 5249584291300917248 |
| BUF_SIZE | 1 | function | 16 |
| BUF_SIZE | 4 | fmt | 45 |
| DATA_SOURCE | 3 | error | r btrfs_drop_verity_items |
| STR_LEN | 0 | fs_info | 44 |
| BIT_INFO | 3 | error | 0x0,0x0 |
| TERMINATED | 4 | fmt | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/verity.c rollback_verity() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | function | 6049249325848424448 |
| PARAM_VALUE | 2 | line | 473 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 2492641674838134784 |
| BUF_SIZE | 1 | function | 16 |
| BUF_SIZE | 4 | fmt | 52 |
| STR_LEN | 0 | fs_info | 51 |
| TERMINATED | 4 | fmt | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/volumes.c btrfs_init_new_device() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 822065228867575808 |
| PARAM_VALUE | 2 | line | 3087 |
| PARAM_VALUE | 3 | error | s32min-(-1) |
| PARAM_VALUE | 4 | fmt | 7819158693330776064 |
| BUF_SIZE | 1 | function | 22 |
| BUF_SIZE | 4 | fmt | 112 |
| CAPPED_DATA | 0 | &fs_info->chunk_mutex | 1 |
| DATA_SOURCE | 0 | fs_info | $0 [m] |
| DATA_SOURCE | 3 | error | r btrfs_relocate_sys_chunks |
| STR_LEN | 0 | fs_info | 111 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 3 | error | 0x0,0x0 |
| TERMINATED | 4 | fmt | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/volumes.c btrfs_relocate_chunk_finish() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 4193395505831301120 |
| PARAM_VALUE | 2 | line | 3656 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/volumes.c reset_balance_state() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->balance_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | function | 4408444189923532800 |
| PARAM_VALUE | 2 | line | 4042 |
| PARAM_VALUE | 3 | error | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 1 | function | 20 |
| DATA_SOURCE | 0 | fs_info | $0 |
| DATA_SOURCE | 3 | error | r del_balance_item |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->balance_mutex |
fs/btrfs/tree-log.c clean_log_buffer() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 5085202596541710336 |
| PARAM_VALUE | 2 | line | 2951 |
| PARAM_VALUE | 3 | error | (-2) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 17 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/tree-log.c free_log_tree() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->btree_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 465823479353544704 |
| PARAM_VALUE | 2 | line | 3644 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 14 |
| DATA_SOURCE | 3 | error | r walk_log_tree |
| BIT_INFO | 3 | error | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/tree-log.c process_one_buffer() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 3408944764124626944 |
| PARAM_VALUE | 2 | line | 419 |
| PARAM_VALUE | 3 | error | (-117),(-5) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 19 |
| DATA_SOURCE | 3 | error | r btrfs_read_extent_buffer |
| BIT_INFO | 3 | error | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/tree-log.c walk_down_log_tree() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 8234895095929335808 |
| PARAM_VALUE | 2 | line | 3005 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/tree-log.c walk_down_log_tree() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 8234895095929335808 |
| PARAM_VALUE | 2 | line | 3024 |
| PARAM_VALUE | 3 | error | (-117),(-5) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 19 |
| DATA_SOURCE | 3 | error | r btrfs_read_extent_buffer |
| BIT_INFO | 3 | error | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/tree-log.c walk_down_log_tree() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 8234895095929335808 |
| PARAM_VALUE | 2 | line | 3043 |
| PARAM_VALUE | 3 | error | (-117),(-5) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 19 |
| DATA_SOURCE | 3 | error | r btrfs_read_extent_buffer |
| BIT_INFO | 3 | error | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/relocation.c merge_reloc_roots() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->reloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->zone_size | 1-u64max |
| PARAM_VALUE | 1 | function | 2778153348115394560 |
| PARAM_VALUE | 2 | line | 2014 |
| PARAM_VALUE | 3 | error | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 1 | function | 18 |
| CAPPED_DATA | 0 | &fs_info->reloc_mutex | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/zoned.c btrfs_zone_finish_endio_workfn() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | function | 4008942917958770688 |
| PARAM_VALUE | 2 | line | 2752 |
| PARAM_VALUE | 3 | error | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | fmt | 8093841813762400256 |
| BUF_SIZE | 1 | function | 31 |
| BUF_SIZE | 4 | fmt | 36 |
| DATA_SOURCE | 3 | error | r do_zone_finish |
| STR_LEN | 0 | fs_info | 35 |
| TERMINATED | 4 | fmt | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/transaction.c __btrfs_abort_transaction() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->transaction_blocked_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | error | s32min-0 |
| PARAM_VALUE | 4 | fmt | 0 |
| DATA_SOURCE | 1 | function | $1 |
| DATA_SOURCE | 2 | line | $2 |
| DATA_SOURCE | 3 | error | $3 [m] |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/super.c btrfs_fill_super() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 8510377441261682688 |
| PARAM_VALUE | 2 | line | 985 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 0 |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 1 | function | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/btrfs/super.c btrfs_unfreeze() -> __btrfs_handle_fs_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | function | 3370096658455511040 |
| PARAM_VALUE | 2 | line | 2394 |
| PARAM_VALUE | 3 | error | (-4095)-(-1) |
| PARAM_VALUE | 4 | fmt | 2178358275698008064 |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 1 | function | 15 |
| BUF_SIZE | 4 | fmt | 52 |
| CAPPED_DATA | 0 | &fs_info->fs_devices->devices | 1 |
| DATA_SOURCE | 3 | error | r check_dev_super |
| STR_LEN | 0 | fs_info | 51 |
| BIT_INFO | 3 | error | 0x0,0x0 |
| TERMINATED | 4 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 5 | $ | unit_byte |
| LOCK2 | &sb->s_umount | ||
| TYPE_LOCK | (struct super_block)->s_umount |