Lines Matching refs:param
349 static int ceph_parse_source(struct fs_parameter *param, struct fs_context *fc) in ceph_parse_source() argument
353 char *dev_name = param->string, *dev_name_end; in ceph_parse_source()
395 fc->source = param->string; in ceph_parse_source()
396 param->string = NULL; in ceph_parse_source()
400 static int ceph_parse_mon_addr(struct fs_parameter *param, in ceph_parse_mon_addr() argument
407 fsopt->mon_addr = param->string; in ceph_parse_mon_addr()
408 param->string = NULL; in ceph_parse_mon_addr()
415 struct fs_parameter *param) in ceph_parse_mount_param() argument
423 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
427 token = fs_parse(fc, ceph_mount_parameters, param, &result); in ceph_parse_mount_param()
428 dout("%s: fs_parse '%s' token %d\n",__func__, param->key, token); in ceph_parse_mount_param()
434 if (strlen(param->string) > NAME_MAX) in ceph_parse_mount_param()
437 fsopt->snapdir_name = param->string; in ceph_parse_mount_param()
438 param->string = NULL; in ceph_parse_mount_param()
441 if (!namespace_equals(fsopt, param->string, strlen(param->string))) in ceph_parse_mount_param()
444 fsopt->mds_namespace = param->string; in ceph_parse_mount_param()
445 param->string = NULL; in ceph_parse_mount_param()
459 return ceph_parse_source(param, fc); in ceph_parse_mount_param()
461 return ceph_parse_mon_addr(param, fc); in ceph_parse_mount_param()
546 fsopt->fscache_uniq = param->string; in ceph_parse_mount_param()
547 param->string = NULL; in ceph_parse_mount_param()
609 ret = fscrypt_parse_test_dummy_encryption(param, in ceph_parse_mount_param()
613 param->key); in ceph_parse_mount_param()
629 return invalfc(fc, "%s out of range", param->key); in ceph_parse_mount_param()