Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/ioctl.c btrfs_ioctl_add_dev() -> btrfs_check_ioctl_vol_args_path()

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
CAPABLE 0 21
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name

fs/btrfs/ioctl.c btrfs_ioctl_resize() -> btrfs_check_ioctl_vol_args_path()

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
CAPABLE 0 21
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name

fs/btrfs/ioctl.c btrfs_ioctl_rm_dev() -> btrfs_check_ioctl_vol_args_path()

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
CAPABLE 0 21
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name

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

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name

fs/btrfs/ioctl.c btrfs_ioctl_snap_destroy() -> btrfs_check_ioctl_vol_args_path()

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name

fs/btrfs/super.c btrfs_control_ioctl() -> btrfs_check_ioctl_vol_args_path()

Type Parameter Key Value
PARAM_VALUE 0 vol_args 1-ptr_max
BUF_SIZE 0 vol_args 4096
DATA_SOURCE 0 vol_args r memdup_user
CAPABLE 0 21
USER_DATA 0 vol_args->fd s64min-s64max
USER_DATA 0 *vol_args s64min-s64max
USER_PTR 0 vol_args
USER_PTR 0 vol_args->name