Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/ioctl.c btrfs_ioctl_snap_create() -> __btrfs_ioctl_snap_create()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 4 readonly 0
PARAM_VALUE 5 inherit 0
BUF_SIZE 1 name 4088
DATA_SOURCE 0 file $0
DATA_SOURCE 3 subvol $2
USER_DATA 1 *name 0-255
USER_DATA 2 fd 0-u64max
USER_PTR 1 name

fs/btrfs/ioctl.c btrfs_ioctl_snap_create_v2() -> __btrfs_ioctl_snap_create()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 5 inherit 0,4096-ptr_max
PARAM_VALUE 5 inherit->flags 0
PARAM_VALUE 5 inherit->num_excl_copies 0
PARAM_VALUE 5 inherit->num_ref_copies 0
BUF_SIZE 1 name 4040
BUF_SIZE 5 inherit 0,72-4096
BUF_SIZE 5 inherit 0,72-4096
BUF_SIZE 5 inherit->qgroups 0-4024,u64max
DATA_SOURCE 0 file $0
DATA_SOURCE 3 subvol $2
USER_DATA 1 *name 0-255
USER_DATA 2 fd 0-u64max
USER_DATA 5 inherit->flags 0
USER_DATA 5 inherit->lim.flags 0-u64max
USER_DATA 5 inherit->lim.max_excl 0-u64max
USER_DATA 5 inherit->lim.max_rfer 0-u64max
USER_DATA 5 inherit->lim.rsv_excl 0-u64max
USER_DATA 5 inherit->lim.rsv_rfer 0-u64max
USER_DATA 5 inherit->num_excl_copies 0
USER_DATA 5 inherit->num_qgroups 0-u64max
USER_DATA 5 inherit->num_ref_copies 0
USER_DATA 5 *inherit s64min-s64max
USER_PTR 1 name
USER_PTR 5 inherit
USER_PTR 5 inherit->qgroups