Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/xattr.c btrfs_setxattr() -> btrfs_delete_one_dir_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 1-u64max |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | path | 4096-ptr_max |
| PARAM_VALUE | 3 | di | 101-ptr_max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 2 | path | r btrfs_alloc_path |
| DATA_SOURCE | 3 | di | r btrfs_lookup_xattr |
| STR_LEN | 0 | trans | (-1),17,23-24 |
| STR_LEN | 0 | trans | (-1),17,23-24 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/xattr.c btrfs_setxattr() -> btrfs_delete_one_dir_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 1-u64max |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 2 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | *path->locks | 0-255 |
| PARAM_VALUE | 2 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | di | 101-ptr_max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 2 | path | r btrfs_alloc_path |
| DATA_SOURCE | 3 | di | r btrfs_match_dir_item_name |
| STR_LEN | 0 | trans | (-1)-1010101 |
| STR_LEN | 0 | trans | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/tree-log.c replay_xattr_deletes() -> btrfs_delete_one_dir_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 0,4096-u64max |
| PARAM_VALUE | 2 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 2 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | *path->locks | 0-255 |
| PARAM_VALUE | 2 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | di | 0,101-ptr_max |
| DATA_SOURCE | 3 | di | r btrfs_lookup_xattr |
| UNITS | 3 | di | unit_byte |
fs/btrfs/inode.c __btrfs_unlink_inode() -> btrfs_delete_one_dir_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | path | 1-u64max |
| PARAM_VALUE | 3 | di | 101-ptr_max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 2 | path | r btrfs_alloc_path |
| DATA_SOURCE | 3 | di | r btrfs_lookup_dir_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/btrfs/inode.c btrfs_unlink_subvol() -> btrfs_delete_one_dir_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 2 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 3 | di | 101-ptr_max |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 2 | path | r btrfs_alloc_path |
| DATA_SOURCE | 3 | di | r btrfs_lookup_dir_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &fs_info->subvol_sem |