Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c727 sa_optionset_name(sa_optionset_t optionset, char *oname, size_t len, char *id) in sa_optionset_name() argument
736 parent = sa_get_optionset_parent(optionset); in sa_optionset_name()
739 proto = sa_get_optionset_attr(optionset, "type"); in sa_optionset_name()
1497 sa_optionset_t optionset; in mark_excluded_protos() local
1502 for (optionset = sa_get_optionset(group, NULL); in mark_excluded_protos()
1503 optionset != NULL; in mark_excluded_protos()
1504 optionset = sa_get_next_optionset(optionset)) { in mark_excluded_protos()
1507 value = sa_get_optionset_attr(optionset, "type"); in mark_excluded_protos()
1534 sa_optionset_t optionset; in get_all_features() local
1537 for (optionset = sa_get_optionset(group, NULL); in get_all_features()
[all …]
H A Dlibsharecore.c584 sa_optionset_t optionset; in sa_delete_legacy() local
611 for (optionset = sa_get_optionset(parent, NULL); in sa_delete_legacy()
612 optionset != NULL; in sa_delete_legacy()
613 optionset = in sa_delete_legacy()
614 sa_get_next_optionset(optionset)) { in sa_delete_legacy()
616 optionset, "type"); in sa_delete_legacy()
914 sa_optionset_t optionset; in sa_parse_legacy_options() local
950 optionset = sa_get_derived_optionset(parent, proto, 1); in sa_parse_legacy_options()
952 if (optionset != NULL) { in sa_parse_legacy_options()
953 for (popt = sa_get_property(optionset, NULL); in sa_parse_legacy_options()
[all …]
H A Dlibshare_zfs.c459 sa_optionset_t optionset; in find_or_create_group() local
478 optionset = sa_get_optionset(group, proto); in find_or_create_group()
479 if (optionset == NULL) in find_or_create_group()
480 optionset = sa_create_optionset(group, proto); in find_or_create_group()
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c75 sa_optionset_t optionset; in has_protocol() local
78 optionset = sa_get_optionset(group, protocol); in has_protocol()
79 if (optionset != NULL) { in has_protocol()
830 sa_optionset_t optionset; in add_optionset() local
835 optionset = sa_get_optionset(group, proto); in add_optionset()
836 if (optionset == NULL) { in add_optionset()
837 optionset = sa_create_optionset(group, proto); in add_optionset()
838 if (optionset == NULL) in add_optionset()
842 if (optionset == NULL) { in add_optionset()
853 prop = sa_get_property(optionset, optlist->optname); in add_optionset()
[all …]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1749 sa_optionset_t optionset; in smb_parse_optstring() local
1790 optionset = sa_get_optionset(group, "smb"); in smb_parse_optstring()
1791 if (optionset == NULL) { in smb_parse_optstring()
1793 optionset = sa_create_optionset(group, "smb"); in smb_parse_optstring()
1794 if (optionset == NULL) in smb_parse_optstring()
1915 optionset = sa_create_optionset(resource, in smb_parse_optstring()
1924 ret = sa_add_property(optionset, prop); in smb_parse_optstring()
1928 ret = sa_commit_properties(optionset, !persist); in smb_parse_optstring()
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c632 sa_optionset_t optionset; in nfs_parse_legacy_options() local
642 optionset = sa_get_optionset(group, "nfs"); in nfs_parse_legacy_options()
643 if (optionset == NULL) { in nfs_parse_legacy_options()
645 optionset = sa_create_optionset(group, "nfs"); in nfs_parse_legacy_options()
656 if (sa_get_property(optionset, NULL) != NULL) in nfs_parse_legacy_options()
811 ret = sa_add_property(optionset, prop); in nfs_parse_legacy_options()
817 optionset, !persist); in nfs_parse_legacy_options()
930 fill_export_from_optionset(struct exportdata *export, sa_optionset_t optionset) in fill_export_from_optionset() argument
935 for (option = sa_get_property(optionset, NULL); in fill_export_from_optionset()