Home
last modified time | relevance | path

Searched refs:mds_namespace (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/fs/ceph/
H A Dsuper.c198 fsparam_string ("mds_namespace", Opt_mds_namespace),
248 * ->mds_namespace is NULL) is treated specially, since
249 * ->mds_namespace needs to be initialized by the caller.
254 return !(fsopt->mds_namespace && in namespace_equals()
255 (strlen(fsopt->mds_namespace) != len || in namespace_equals()
256 strncmp(fsopt->mds_namespace, namespace, len))); in namespace_equals()
308 return invalfc(fc, "Mismatching mds_namespace"); in ceph_parse_new_source()
309 kfree(fsopt->mds_namespace); in ceph_parse_new_source()
310 fsopt->mds_namespace = kstrndup(fs_name_start, len, GFP_KERNEL); in ceph_parse_new_source()
311 if (!fsopt->mds_namespace) in ceph_parse_new_source()
[all...]
H A Dmds_client.c5569 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap() local
5604 if (mds_namespace && in ceph_mdsc_handle_fsmap()
5605 strlen(mds_namespace) == namelen && in ceph_mdsc_handle_fsmap()
5606 !strncmp(mds_namespace, (char *)info_p, namelen)) { in ceph_mdsc_handle_fsmap()
H A Dsuper.h99 char *mds_namespace; /* default NULL */ member
/kernel/linux/linux-5.10/fs/ceph/
H A Dsuper.c188 fsparam_string ("mds_namespace", Opt_mds_namespace),
309 kfree(fsopt->mds_namespace); in ceph_parse_mount_param()
310 fsopt->mds_namespace = param->string; in ceph_parse_mount_param()
474 kfree(args->mds_namespace); in destroy_mount_options()
508 ret = strcmp_null(fsopt1->mds_namespace, fsopt2->mds_namespace); in compare_mount_options()
575 if (fsopt->mds_namespace) in ceph_show_options()
576 seq_show_option(m, "mds_namespace", fsopt->mds_namespace); in ceph_show_options()
658 if (!fsopt->mds_namespace) { in create_fs_client()
[all...]
H A Dsuper.h96 char *mds_namespace; /* default NULL */ member
H A Dmds_client.c4942 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap() local
4986 if (mds_namespace && in ceph_mdsc_handle_fsmap()
4987 strlen(mds_namespace) == namelen && in ceph_mdsc_handle_fsmap()
4988 !strncmp(mds_namespace, (char *)info_p, namelen)) { in ceph_mdsc_handle_fsmap()

Completed in 20 milliseconds