Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 1 mount_arg_dev 0
BUF_SIZE 0 path 4088
CAPABLE 0 21
USER_DATA 0 *path 0-255
USER_PTR 0 path
LOCK2 global &uuid_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 mount_arg_dev 0
BUF_SIZE 0 path 4088
CAPABLE 0 21
USER_DATA 0 *path 0-255
USER_PTR 0 path
LOCK2 global &uuid_mutex

fs/btrfs/super.c btrfs_get_tree_super() -> btrfs_scan_one_device()

Type Parameter Key Value
PARAM_VALUE 0 path 0
PARAM_VALUE 1 mount_arg_dev 1
BUF_SIZE 0 path 3-4004097
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *path 0-255
LOCK2 global &uuid_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/btrfs/super.c btrfs_parse_param() -> btrfs_scan_one_device()

Type Parameter Key Value
PARAM_VALUE 0 path 0,4096-ptr_max
PARAM_VALUE 1 mount_arg_dev 0
CAPPED_DATA 0 path 1
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 path
LOCK2 global &uuid_mutex
HALF_LOCKED2 &fc->uapi_mutex