Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_create_common() -> btrfs_create_new_inode()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 args 3672034671440732160
PARAM_VALUE 1 args->acl 0,4096-ptr_max
PARAM_VALUE 1 args->dentry 4096-ptr_max
PARAM_VALUE 1 args->dir 4096-ptr_max
PARAM_VALUE 1 args->inode 4096-ptr_max
PARAM_VALUE 1 args->orphan 0
PARAM_VALUE 1 args->subvol 0
DATA_SOURCE 0 trans r btrfs_start_transaction
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_symlink() -> btrfs_create_new_inode()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 args 5631925423329017856
PARAM_VALUE 1 args->acl 0,4096-ptr_max
PARAM_VALUE 1 args->dentry 4096-ptr_max
PARAM_VALUE 1 args->dir 4096-ptr_max
PARAM_VALUE 1 args->inode 4096-ptr_max
PARAM_VALUE 1 args->orphan 0
PARAM_VALUE 1 args->subvol 0
DATA_SOURCE 0 trans r btrfs_start_transaction
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_tmpfile() -> btrfs_create_new_inode()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 args 8198914495166570496
PARAM_VALUE 1 args->acl 0,4096-ptr_max
PARAM_VALUE 1 args->dir 4096-ptr_max
PARAM_VALUE 1 args->inode 4096-ptr_max
PARAM_VALUE 1 args->orphan 1
PARAM_VALUE 1 args->subvol 0
DATA_SOURCE 0 trans r btrfs_start_transaction
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/ioctl.c create_subvol() -> btrfs_create_new_inode()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->failfast 0
PARAM_VALUE 0 trans->block_rsv->full 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_reserved 0-u32max
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 0 trans->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->type 9
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 0 trans->fs_info->uuid_root 1-u64max
PARAM_VALUE 0 trans->transaction->dirty_pages.inode->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->transaction->dirty_pages.inode->root->delalloc_root.next->prev 4096-ptr_max
PARAM_VALUE 1 args 668349178268692480
PARAM_VALUE 1 args->acl 0,4096-ptr_max
PARAM_VALUE 1 args->dentry 4096-ptr_max
PARAM_VALUE 1 args->dir 4096-ptr_max
PARAM_VALUE 1 args->inode 4096-ptr_max
PARAM_VALUE 1 args->orphan 0
PARAM_VALUE 1 args->subvol 1
DATA_SOURCE 0 trans r btrfs_start_transaction
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem