Lines Matching refs:opsarray
672 dacf_opset_t *opsarray; in dacf_module_register() local
753 opsarray = kmem_zalloc(sizeof (dacf_opset_t) * (nelems + 1), KM_SLEEP); in dacf_module_register()
756 dacf_opset_copy(&(opsarray[i]), &(sw->dacf_opsets[i])); in dacf_module_register()
757 ASSERT(opsarray[i].opset_name != NULL); in dacf_module_register()
758 ASSERT(opsarray[i].opset_ops != NULL); in dacf_module_register()
760 opsarray[nelems].opset_name = NULL; in dacf_module_register()
761 opsarray[nelems].opset_ops = NULL; in dacf_module_register()
764 module->dm_opsets = opsarray; in dacf_module_register()
769 dprintf("registered %s\n", opsarray[i].opset_name); in dacf_module_register()
916 dacf_opset_t *opsarray; in dacf_op_invoke() local
962 opsarray = module->dm_opsets; in dacf_op_invoke()
969 for (i = 0; opsarray[i].opset_name != NULL; i++) { in dacf_op_invoke()
970 if (strcmp(opsarray[i].opset_name, rule->r_opset) == 0) { in dacf_op_invoke()
971 opset = &opsarray[i]; in dacf_op_invoke()