Home
last modified time | relevance | path

Searched refs:arg_p (Results 1 – 3 of 3) sorted by relevance

/drivers/target/
Dtarget_core_iblock.c534 char *orig, *ptr, *arg_p, *opts; in iblock_set_configfs_dev_params() local
568 arg_p = match_strdup(&args[0]); in iblock_set_configfs_dev_params()
569 if (!arg_p) { in iblock_set_configfs_dev_params()
573 ret = kstrtoul(arg_p, 0, &tmp_readonly); in iblock_set_configfs_dev_params()
574 kfree(arg_p); in iblock_set_configfs_dev_params()
Dtarget_core_file.c786 char *orig, *ptr, *arg_p, *opts; in fd_set_configfs_dev_params() local
813 arg_p = match_strdup(&args[0]); in fd_set_configfs_dev_params()
814 if (!arg_p) { in fd_set_configfs_dev_params()
818 ret = kstrtoull(arg_p, 0, &fd_dev->fd_dev_size); in fd_set_configfs_dev_params()
819 kfree(arg_p); in fd_set_configfs_dev_params()
Dtarget_core_user.c939 char *orig, *ptr, *opts, *arg_p; in tcmu_set_configfs_dev_params() local
965 arg_p = match_strdup(&args[0]); in tcmu_set_configfs_dev_params()
966 if (!arg_p) { in tcmu_set_configfs_dev_params()
970 ret = kstrtoul(arg_p, 0, (unsigned long *) &udev->dev_size); in tcmu_set_configfs_dev_params()
971 kfree(arg_p); in tcmu_set_configfs_dev_params()