Lines Matching refs:proto

88 	struct sa_proto_plugin *proto;  in proto_plugin_init()  local
141 proto = (struct sa_proto_plugin *) in proto_plugin_init()
143 if (proto == NULL) { in proto_plugin_init()
149 proto->plugin_ops = plugin_ops; in proto_plugin_init()
150 proto->plugin_handle = dlhandle; in proto_plugin_init()
152 proto->plugin_next = sap_proto_list; in proto_plugin_init()
153 sap_proto_list = proto; in proto_plugin_init()
248 find_protocol(char *proto) in find_protocol() argument
255 if (proto != NULL) { in find_protocol()
257 if (strcmp(proto, sa_proto_handle.sa_proto[i]) == 0) { in find_protocol()
274 sa_proto_share(char *proto, sa_share_t share) in sa_proto_share() argument
276 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_share()
291 sa_proto_unshare(sa_share_t share, char *proto, char *path) in sa_proto_unshare() argument
293 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_unshare()
311 sa_proto_share_resource(char *proto, sa_resource_t resource) in sa_proto_share_resource() argument
313 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_share_resource()
333 sa_proto_unshare_resource(char *proto, sa_resource_t resource) in sa_proto_unshare_resource() argument
335 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_unshare_resource()
354 sa_proto_valid_prop(sa_handle_t handle, char *proto, sa_property_t prop, in sa_proto_valid_prop() argument
357 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_valid_prop()
372 sa_proto_valid_space(char *proto, char *token) in sa_proto_valid_space() argument
374 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_valid_space()
389 sa_proto_space_alias(char *proto, char *space) in sa_proto_space_alias() argument
391 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_space_alias()
407 sa_proto_security_prop(char *proto, char *token) in sa_proto_security_prop() argument
409 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_security_prop()
425 sa_proto_legacy_opts(char *proto, sa_group_t group, char *options) in sa_proto_legacy_opts() argument
427 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_legacy_opts()
443 sa_proto_legacy_format(char *proto, sa_group_t group, int hier) in sa_proto_legacy_format() argument
445 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_legacy_format()
472 sa_proto_get_properties(char *proto) in sa_proto_get_properties() argument
474 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_get_properties()
489 sa_proto_set_property(char *proto, sa_property_t prop) in sa_proto_set_property() argument
491 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_set_property()
507 sa_valid_protocol(char *proto) in sa_valid_protocol() argument
509 struct sa_plugin_ops *ops = find_protocol(proto); in sa_valid_protocol()
518 sa_get_protocol_status(char *proto) in sa_get_protocol_status() argument
520 struct sa_plugin_ops *ops = find_protocol(proto); in sa_get_protocol_status()
523 ret = ops->sa_get_proto_status(proto); in sa_get_protocol_status()
535 sa_proto_update_legacy(char *proto, sa_share_t share) in sa_proto_update_legacy() argument
537 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_update_legacy()
554 sa_proto_delete_legacy(char *proto, sa_share_t share) in sa_proto_delete_legacy() argument
556 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_delete_legacy()
563 if (proto != NULL) in sa_proto_delete_legacy()
579 sa_proto_delete_section(char *proto, char *section) in sa_proto_delete_section() argument
581 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_delete_section()
588 if (proto != NULL) in sa_proto_delete_section()
603 sa_proto_change_notify(sa_share_t share, char *proto) in sa_proto_change_notify() argument
605 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_change_notify()
611 } else if (proto == NULL) { in sa_proto_change_notify()
625 sa_proto_notify_resource(sa_resource_t resource, char *proto) in sa_proto_notify_resource() argument
627 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_notify_resource()
633 } else if (proto == NULL) { in sa_proto_notify_resource()
649 sa_proto_get_featureset(char *proto) in sa_proto_get_featureset() argument
651 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_get_featureset()
676 sa_proto_get_transients(sa_handle_t handle, char *proto) in sa_proto_get_transients() argument
678 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_get_transients()
697 sa_proto_rename_resource(sa_handle_t handle, char *proto, in sa_proto_rename_resource() argument
700 struct sa_plugin_ops *ops = find_protocol(proto); in sa_proto_rename_resource()