Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/backref.c inode_to_path() -> btrfs_ref_to_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 1 | path->keep_locks | 0 |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 2 | name_len | 0-u16max |
| PARAM_VALUE | 3 | name_off | 4096-18446744073709547520 |
| PARAM_VALUE | 4 | eb_in | 4096-ptr_max |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 6 | dest | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 0-4294967287 |
| BUF_SIZE | 0 | fs_root | (-1),2888 |
| BUF_SIZE | 0 | fs_root | (-1),2888 |
| BUF_SIZE | 1 | path | (-1),120 |
| BUF_SIZE | 1 | path | (-1),120 |
| CAPPED_DATA | 4 | eb_in | 1 |
| DATA_SOURCE | 2 | name_len | $1 |
| DATA_SOURCE | 3 | name_off | $2 |
| DATA_SOURCE | 4 | eb_in | $3 |
| DATA_SOURCE | 5 | parent | $0 |
| FUZZY_MAX | 7 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 7 | size | 1-4071[c] |
| UNITS | 2 | name_len | unit_byte |
| UNITS | 3 | name_off | unit_byte |
| UNITS | 5 | parent | unit_byte |
| UNITS | 7 | size | unit_byte |
fs/btrfs/send.c iterate_inode_ref() -> btrfs_ref_to_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | name_len | 0-u16max |
| PARAM_VALUE | 3 | name_off | 4096-18446744073709547520 |
| PARAM_VALUE | 4 | eb_in | 4096-ptr_max |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->type | 0-1 |
| BUF_SIZE | 6 | dest | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fs_root | $0 |
| DATA_SOURCE | 1 | path | r alloc_path_for_send |
| FUZZY_MAX | 3 | name_off | 18446744073709547520 |
| UNITS | 2 | name_len | unit_byte |
| UNITS | 5 | parent | unit_byte |
| UNITS | 6 | dest | unit_byte |
| UNITS | 7 | size | unit_byte |
fs/btrfs/send.c iterate_inode_ref() -> btrfs_ref_to_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->keep_locks | 0 |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 2 | name_len | 0-u16max |
| PARAM_VALUE | 3 | name_off | 4096-18446744073709547520 |
| PARAM_VALUE | 4 | eb_in | 4096-ptr_max |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 4 | eb_in->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 6 | dest | 1-u64max |
| BUF_SIZE | 6 | dest | s32min-(-2),1-s32max |
| CAPPED_DATA | 5 | parent | 1 |
| CAPPED_DATA | 5 | parent | 1 |
| DATA_SOURCE | 0 | fs_root | $0 |
| DATA_SOURCE | 1 | path | r alloc_path_for_send |
| FUZZY_MAX | 3 | name_off | 18446744073709547520 |
| UNITS | 2 | name_len | unit_byte |
| UNITS | 5 | parent | unit_byte |
| UNITS | 6 | dest | unit_byte |
| UNITS | 7 | size | unit_byte |