Lines Matching refs:ops

135 			    "Error in plugin ops for protocol %s: %s\n"),
244 * ops vector. NULL if protocol is not defined.
251 struct sa_plugin_ops *ops = NULL;
258 ops = sa_proto_handle.sa_ops[i];
264 return (ops);
276 struct sa_plugin_ops *ops = find_protocol(proto);
279 if (ops != NULL && ops->sa_share != NULL)
280 ret = ops->sa_share(share);
293 struct sa_plugin_ops *ops = find_protocol(proto);
296 if (ops != NULL && ops->sa_unshare != NULL)
297 ret = ops->sa_unshare(share, path);
313 struct sa_plugin_ops *ops = find_protocol(proto);
316 if (ops != NULL) {
317 if (ops->sa_enable_resource != NULL)
318 ret = ops->sa_enable_resource(resource);
335 struct sa_plugin_ops *ops = find_protocol(proto);
338 if (ops != NULL) {
339 if (ops->sa_disable_resource != NULL)
340 ret = ops->sa_disable_resource(resource);
357 struct sa_plugin_ops *ops = find_protocol(proto);
360 if (ops != NULL && ops->sa_valid_prop != NULL)
361 ret = ops->sa_valid_prop(handle, prop, opt);
374 struct sa_plugin_ops *ops = find_protocol(proto);
377 if (ops != NULL && ops->sa_valid_space != NULL)
378 ret = ops->sa_valid_space(token);
391 struct sa_plugin_ops *ops = find_protocol(proto);
394 if (ops != NULL && ops->sa_space_alias != NULL)
395 ret = ops->sa_space_alias(space);
409 struct sa_plugin_ops *ops = find_protocol(proto);
412 if (ops != NULL && ops->sa_security_prop != NULL)
413 ret = ops->sa_security_prop(token);
427 struct sa_plugin_ops *ops = find_protocol(proto);
430 if (ops != NULL && ops->sa_legacy_opts != NULL)
431 ret = ops->sa_legacy_opts(group, options);
445 struct sa_plugin_ops *ops = find_protocol(proto);
448 if (ops != NULL && ops->sa_legacy_format != NULL)
449 ret = ops->sa_legacy_format(group, hier);
474 struct sa_plugin_ops *ops = find_protocol(proto);
477 if (ops != NULL && ops->sa_get_proto_set != NULL)
478 props = ops->sa_get_proto_set();
491 struct sa_plugin_ops *ops = find_protocol(proto);
494 if (ops != NULL && ops->sa_set_proto_prop != NULL)
495 ret = ops->sa_set_proto_prop(prop);
509 struct sa_plugin_ops *ops = find_protocol(proto);
510 return (ops != NULL);
520 struct sa_plugin_ops *ops = find_protocol(proto);
522 if (ops != NULL && ops->sa_get_proto_status != NULL)
523 ret = ops->sa_get_proto_status(proto);
537 struct sa_plugin_ops *ops = find_protocol(proto);
540 if (ops != NULL) {
541 if (ops->sa_update_legacy != NULL)
542 ret = ops->sa_update_legacy(share);
556 struct sa_plugin_ops *ops = find_protocol(proto);
559 if (ops != NULL) {
560 if (ops->sa_delete_legacy != NULL)
561 ret = ops->sa_delete_legacy(share);
581 struct sa_plugin_ops *ops = find_protocol(proto);
584 if (ops != NULL) {
585 if (ops->sa_delete_proto_section != NULL)
586 ret = ops->sa_delete_proto_section(section);
605 struct sa_plugin_ops *ops = find_protocol(proto);
608 if (ops != NULL) {
609 if (ops->sa_change_notify != NULL)
610 ret = ops->sa_change_notify(share);
627 struct sa_plugin_ops *ops = find_protocol(proto);
630 if (ops != NULL) {
631 if (ops->sa_notify_resource != NULL)
632 ret = ops->sa_notify_resource(resource);
651 struct sa_plugin_ops *ops = find_protocol(proto);
654 if (ops != NULL) {
655 if (ops->sa_features != NULL)
656 ret = ops->sa_features();
678 struct sa_plugin_ops *ops = find_protocol(proto);
681 if (ops != NULL) {
682 if (ops->sa_get_transient_shares != NULL)
683 ret = ops->sa_get_transient_shares(handle);
700 struct sa_plugin_ops *ops = find_protocol(proto);
703 if (ops != NULL) {
704 if (ops->sa_rename_resource != NULL)
705 ret = ops->sa_rename_resource(handle, resource,