Lines Matching refs:proto

334 remdfsentry(xfs_sharelist_t *list, char *path, char *proto)  in remdfsentry()  argument
346 if (proto == NULL || (strcmp(item->path, path) == 0 && in remdfsentry()
347 (item->fstype != NULL && strcmp(item->fstype, proto) == 0))) in remdfsentry()
350 (proto == NULL || strcmp(proto, "nfs") == 0)) in remdfsentry()
405 adddfsentry(xfs_sharelist_t *list, sa_share_t share, char *proto) in adddfsentry() argument
422 item->fstype = strdup(proto); in adddfsentry()
423 item->options = sa_proto_legacy_format(proto, share, 1); in adddfsentry()
615 char *proto = sa_get_optionset_attr( in sa_delete_legacy() local
618 if (list != NULL && proto != NULL) in sa_delete_legacy()
620 proto); in sa_delete_legacy()
621 if (proto == NULL) in sa_delete_legacy()
630 proto, share); in sa_delete_legacy()
634 if (proto != NULL) in sa_delete_legacy()
635 sa_free_attr_string(proto); in sa_delete_legacy()
675 sa_update_legacy(sa_share_t share, char *proto) in sa_update_legacy() argument
685 ret = sa_proto_update_legacy(proto, share); in sa_update_legacy()
689 features = sa_proto_get_featureset(proto); in sa_update_legacy()
714 list = remdfsentry(list, path, proto); in sa_update_legacy()
715 list = adddfsentry(list, share, proto); in sa_update_legacy()
747 sa_is_security(char *optname, char *proto) in sa_is_security() argument
750 if (proto != NULL) in sa_is_security()
751 ret = sa_proto_security_prop(proto, optname); in sa_is_security()
908 sa_parse_legacy_options(sa_group_t group, char *options, char *proto) in sa_parse_legacy_options() argument
930 if (proto != NULL) in sa_parse_legacy_options()
931 ret = sa_proto_legacy_opts(proto, group, options); in sa_parse_legacy_options()
950 optionset = sa_get_derived_optionset(parent, proto, 1); in sa_parse_legacy_options()
951 localoptions = sa_get_optionset(group, proto); in sa_parse_legacy_options()
1006 localoptions = sa_get_all_security_types(group, proto, 0); in sa_parse_legacy_options()
1016 security = sa_get_security(group, tag, proto); in sa_parse_legacy_options()
1729 sa_valid_property(sa_handle_t handle, void *object, char *proto, in sa_valid_property() argument
1734 if (proto != NULL && property != NULL) { in sa_valid_property()
1735 ret = sa_proto_valid_prop(handle, proto, property, object); in sa_valid_property()
1787 sa_get_derived_optionset(void *object, char *proto, int hier) in sa_get_derived_optionset() argument
1795 newoptionset = sa_get_derived_optionset((void *)group, proto, in sa_get_derived_optionset()
1801 sa_set_optionset_attr(newoptionset, "type", proto); in sa_get_derived_optionset()
1809 optionset = sa_get_optionset((sa_optionset_t)object, proto); in sa_get_derived_optionset()
1876 sa_get_all_security_types(void *object, char *proto, int hier) in sa_get_all_security_types() argument
1887 options = sa_get_all_security_types((void *)group, proto, hier); in sa_get_all_security_types()
1904 if (strcmp(type, proto) != 0) { in sa_get_all_security_types()
1943 sa_get_derived_security(void *object, char *sectype, char *proto, int hier) in sa_get_derived_security() argument
1953 sectype, proto, hier); in sa_get_derived_security()
1958 sa_set_security_attr(newsecurity, "type", proto); in sa_get_derived_security()
1967 security = sa_get_security((sa_security_t)object, sectype, proto); in sa_get_derived_security()
2031 sa_fillshare(sa_share_t share, char *proto, struct share *sh) in sa_fillshare() argument
2105 if (strcmp(proto, "nfs") != 0) in sa_fillshare()
2110 sh->sh_fstype = strdup(proto); in sa_fillshare()
2111 value = sa_proto_legacy_format(proto, share, 1); in sa_fillshare()
2182 sa_update_sharetab(sa_share_t share, char *proto) in sa_update_sharetab() argument
2198 (void) sa_fillshare(share, proto, &sh); in sa_update_sharetab()
2223 sa_delete_sharetab(sa_handle_t handle, char *path, char *proto) in sa_delete_sharetab() argument
2233 if (path != NULL && proto != NULL) { in sa_delete_sharetab()
2236 sh.sh_fstype = proto; in sa_delete_sharetab()