Home
last modified time | relevance | path

Searched refs:optionset (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libshare/common/
H A Dlibshare.c724 sa_optionset_name(sa_optionset_t optionset, char *oname, size_t len, char *id) in sa_optionset_name() argument
733 parent = sa_get_optionset_parent(optionset); in sa_optionset_name()
736 proto = sa_get_optionset_attr(optionset, "type"); in sa_optionset_name()
1405 sa_optionset_t optionset; in mark_excluded_protos() local
1410 for (optionset = sa_get_optionset(group, NULL); in mark_excluded_protos()
1411 optionset != NULL; in mark_excluded_protos()
1412 optionset = sa_get_next_optionset(optionset)) { in mark_excluded_protos()
1415 value = sa_get_optionset_attr(optionset, "type"); in mark_excluded_protos()
1442 sa_optionset_t optionset; in get_all_features() local
1445 for (optionset = sa_get_optionset(group, NULL); in get_all_features()
[all …]
H A Dlibsharecore.c583 sa_optionset_t optionset; in sa_delete_legacy() local
610 for (optionset = sa_get_optionset(parent, NULL); in sa_delete_legacy()
611 optionset != NULL; in sa_delete_legacy()
612 optionset = in sa_delete_legacy()
613 sa_get_next_optionset(optionset)) { in sa_delete_legacy()
615 optionset, "type"); in sa_delete_legacy()
913 sa_optionset_t optionset; in sa_parse_legacy_options() local
949 optionset = sa_get_derived_optionset(parent, proto, 1); in sa_parse_legacy_options()
951 if (optionset != NULL) { in sa_parse_legacy_options()
952 for (popt = sa_get_property(optionset, NULL); in sa_parse_legacy_options()
[all …]
H A Dlibshare_zfs.c415 sa_optionset_t optionset; in find_or_create_group() local
434 optionset = sa_get_optionset(group, proto); in find_or_create_group()
435 if (optionset == NULL) in find_or_create_group()
436 optionset = sa_create_optionset(group, proto); in find_or_create_group()
/titanic_50/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c70 sa_optionset_t optionset; in has_protocol() local
73 optionset = sa_get_optionset(group, protocol); in has_protocol()
74 if (optionset != NULL) { in has_protocol()
825 sa_optionset_t optionset; in add_optionset() local
830 optionset = sa_get_optionset(group, proto); in add_optionset()
831 if (optionset == NULL) { in add_optionset()
832 optionset = sa_create_optionset(group, proto); in add_optionset()
833 if (optionset == NULL) in add_optionset()
837 if (optionset == NULL) { in add_optionset()
848 prop = sa_get_property(optionset, optlist->optname); in add_optionset()
[all …]
/titanic_50/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1742 sa_optionset_t optionset; in smb_parse_optstring() local
1783 optionset = sa_get_optionset(group, "smb"); in smb_parse_optstring()
1784 if (optionset == NULL) { in smb_parse_optstring()
1786 optionset = sa_create_optionset(group, "smb"); in smb_parse_optstring()
1787 if (optionset == NULL) in smb_parse_optstring()
1908 optionset = sa_create_optionset(resource, in smb_parse_optstring()
1917 ret = sa_add_property(optionset, prop); in smb_parse_optstring()
1921 ret = sa_commit_properties(optionset, !persist); in smb_parse_optstring()
/titanic_50/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c617 sa_optionset_t optionset; in nfs_parse_legacy_options() local
627 optionset = sa_get_optionset(group, "nfs"); in nfs_parse_legacy_options()
628 if (optionset == NULL) { in nfs_parse_legacy_options()
630 optionset = sa_create_optionset(group, "nfs"); in nfs_parse_legacy_options()
641 if (sa_get_property(optionset, NULL) != NULL) in nfs_parse_legacy_options()
796 ret = sa_add_property(optionset, prop); in nfs_parse_legacy_options()
802 optionset, !persist); in nfs_parse_legacy_options()
915 fill_export_from_optionset(struct exportdata *export, sa_optionset_t optionset) in fill_export_from_optionset() argument
920 for (option = sa_get_property(optionset, NULL); in fill_export_from_optionset()