/fs/ |
D | fs_parser.c | 81 struct fs_parameter *param, in fs_parse() argument 88 result->has_value = !!param->string; in fs_parse() 92 p = fs_lookup_key(desc, param->key); in fs_parse() 100 if (param->key[0] != 'n' || param->key[1] != 'o' || !param->key[2]) in fs_parse() 103 p = fs_lookup_key(desc, param->key + 2); in fs_parse() 114 desc->name, param->key); in fs_parse() 130 if (param->type != fs_value_is_string) in fs_parse() 147 if (param->type != fs_value_is_flag && in fs_parse() 148 (param->type != fs_value_is_string || result->has_value)) in fs_parse() 150 desc->name, param->key); in fs_parse() [all …]
|
D | fsopen.c | 217 struct fs_parameter *param) in vfs_fsconfig_locked() argument 265 return vfs_parse_fs_param(fc, param); in vfs_fsconfig_locked() 325 struct fs_parameter param = { in SYSCALL_DEFINE5() local 383 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5() 384 if (IS_ERR(param.key)) { in SYSCALL_DEFINE5() 385 ret = PTR_ERR(param.key); in SYSCALL_DEFINE5() 392 param.type = fs_value_is_flag; in SYSCALL_DEFINE5() 395 param.type = fs_value_is_string; in SYSCALL_DEFINE5() 396 param.string = strndup_user(_value, 256); in SYSCALL_DEFINE5() 397 if (IS_ERR(param.string)) { in SYSCALL_DEFINE5() [all …]
|
D | fs_context.c | 126 int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param() argument 130 if (!param->key) in vfs_parse_fs_param() 133 ret = vfs_parse_sb_flag(fc, param->key); in vfs_parse_fs_param() 137 ret = security_fs_context_parse_param(fc, param); in vfs_parse_fs_param() 145 ret = fc->ops->parse_param(fc, param); in vfs_parse_fs_param() 153 if (strcmp(param->key, "source") == 0) { in vfs_parse_fs_param() 154 if (param->type != fs_value_is_string) in vfs_parse_fs_param() 158 fc->source = param->string; in vfs_parse_fs_param() 159 param->string = NULL; in vfs_parse_fs_param() 164 fc->fs_type->name, param->key); in vfs_parse_fs_param() [all …]
|
/fs/autofs/ |
D | dev-ioctl.c | 54 static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) in check_dev_ioctl_version() argument 58 if ((param->ver_major != AUTOFS_DEV_IOCTL_VERSION_MAJOR) || in check_dev_ioctl_version() 59 (param->ver_minor > AUTOFS_DEV_IOCTL_VERSION_MINOR)) { in check_dev_ioctl_version() 64 param->ver_major, param->ver_minor, cmd); in check_dev_ioctl_version() 69 param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in check_dev_ioctl_version() 70 param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in check_dev_ioctl_version() 100 static inline void free_dev_ioctl(struct autofs_dev_ioctl *param) in free_dev_ioctl() argument 102 kfree(param); in free_dev_ioctl() 109 static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param) in validate_dev_ioctl() argument 113 err = check_dev_ioctl_version(cmd, param); in validate_dev_ioctl() [all …]
|
/fs/orangefs/ |
D | orangefs-sysfs.c | 351 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show() 365 new_op->upcall.req.param.op = in sysfs_service_op_show() 369 new_op->upcall.req.param.op = in sysfs_service_op_show() 373 new_op->upcall.req.param.op = in sysfs_service_op_show() 378 new_op->upcall.req.param.op = in sysfs_service_op_show() 383 new_op->upcall.req.param.op = in sysfs_service_op_show() 388 new_op->upcall.req.param.op = in sysfs_service_op_show() 393 new_op->upcall.req.param.op = in sysfs_service_op_show() 397 new_op->upcall.req.param.op = in sysfs_service_op_show() 401 new_op->upcall.req.param.op = in sysfs_service_op_show() [all …]
|
D | orangefs-debugfs.c | 465 new_op->upcall.req.param.op = in orangefs_debug_write() 467 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write() 468 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write() 471 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write()
|
D | downcall.h | 118 struct orangefs_param_response param; member
|
D | upcall.h | 253 struct orangefs_param_request_s param; member
|
/fs/afs/ |
D | super.c | 230 static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param) in afs_parse_source() argument 234 const char *cellname, *suffix, *name = param->string; in afs_parse_source() 312 fc->source = param->string; in afs_parse_source() 313 param->string = NULL; in afs_parse_source() 320 static int afs_parse_param(struct fs_context *fc, struct fs_parameter *param) in afs_parse_param() argument 326 opt = fs_parse(fc, &afs_fs_parameters, param, &result); in afs_parse_param() 332 return afs_parse_source(fc, param); in afs_parse_param()
|
/fs/hugetlbfs/ |
D | inode.c | 1146 static int hugetlbfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in hugetlbfs_parse_param() argument 1154 opt = fs_parse(fc, &hugetlb_fs_parameters, param, &result); in hugetlbfs_parse_param() 1177 if (!isdigit(param->string[0])) in hugetlbfs_parse_param() 1179 ctx->max_size_opt = memparse(param->string, &rest); in hugetlbfs_parse_param() 1187 if (!isdigit(param->string[0])) in hugetlbfs_parse_param() 1189 ctx->nr_inodes = memparse(param->string, &rest); in hugetlbfs_parse_param() 1193 ps = memparse(param->string, &rest); in hugetlbfs_parse_param() 1203 if (!isdigit(param->string[0])) in hugetlbfs_parse_param() 1205 ctx->min_size_opt = memparse(param->string, &rest); in hugetlbfs_parse_param() 1217 param->string, param->key); in hugetlbfs_parse_param()
|
/fs/cifs/ |
D | cifsglob.h | 1663 static inline void free_dfs_info_param(struct dfs_info3_param *param) in free_dfs_info_param() argument 1665 if (param) { in free_dfs_info_param() 1666 kfree(param->path_name); in free_dfs_info_param() 1667 kfree(param->node_name); in free_dfs_info_param() 1671 static inline void free_dfs_info_array(struct dfs_info3_param *param, in free_dfs_info_array() argument 1675 if ((number_of_items == 0) || (param == NULL)) in free_dfs_info_array() 1678 kfree(param[i].path_name); in free_dfs_info_array() 1679 kfree(param[i].node_name); in free_dfs_info_array() 1681 kfree(param); in free_dfs_info_array()
|
/fs/ramfs/ |
D | inode.c | 194 static int ramfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in ramfs_parse_param() argument 200 opt = fs_parse(fc, &ramfs_fs_parameters, param, &result); in ramfs_parse_param()
|
/fs/proc/ |
D | root.c | 55 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() argument 61 opt = fs_parse(fc, &proc_fs_parameters, param, &result); in proc_parse_param()
|
/fs/jffs2/ |
D | super.c | 193 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in jffs2_parse_param() argument 199 opt = fs_parse(fc, &jffs2_fs_parameters, param, &result); in jffs2_parse_param()
|
/fs/fuse/ |
D | inode.c | 470 static int fuse_parse_param(struct fs_context *fc, struct fs_parameter *param) in fuse_parse_param() argument 476 opt = fs_parse(fc, &fuse_fs_parameters, param, &result); in fuse_parse_param() 484 fc->source = param->string; in fuse_parse_param() 485 param->string = NULL; in fuse_parse_param() 491 ctx->subtype = param->string; in fuse_parse_param() 492 param->string = NULL; in fuse_parse_param()
|
/fs/gfs2/ |
D | ops_fstype.c | 1338 static int gfs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in gfs2_parse_param() argument 1344 o = fs_parse(fc, &gfs2_fs_parameters, param, &result); in gfs2_parse_param() 1350 strlcpy(args->ar_lockproto, param->string, GFS2_LOCKNAME_LEN); in gfs2_parse_param() 1353 strlcpy(args->ar_locktable, param->string, GFS2_LOCKNAME_LEN); in gfs2_parse_param() 1356 strlcpy(args->ar_hostdata, param->string, GFS2_LOCKNAME_LEN); in gfs2_parse_param() 1441 return invalf(fc, "gfs2: invalid mount option: %s", param->key); in gfs2_parse_param()
|
/fs/sdcardfs/ |
D | main.c | 66 static int sdcardfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in sdcardfs_parse_param() argument 74 opt = fs_parse(fc, &sdcardfs_parameters, param, &result); in sdcardfs_parse_param()
|
/fs/overlayfs/ |
D | copy_up.c | 25 static int ovl_ccup_set(const char *buf, const struct kernel_param *param) in ovl_ccup_set() argument 31 static int ovl_ccup_get(char *buf, const struct kernel_param *param) in ovl_ccup_get() argument
|
/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 73 } param; member
|