Lines Matching defs:instance
294 "[module[:instance[:name[:statistic]]]] and "
356 " [ -m module ] [ -i instance ] [ -n name ] [ -s statistic ]\n"
359 " [ module[:instance[:name[:statistic]]] ... ]\n"
454 * Inserts an instance in the per selector list.
460 ks_nvpair_t *instance;
463 instance = (ks_nvpair_t *)malloc(sizeof (ks_nvpair_t));
464 if (instance == NULL) {
469 (void) strlcpy(instance->name, name, KSTAT_STRLEN);
470 (void) memcpy(&instance->value, value, sizeof (ks_value_t));
471 instance->data_type = data_type;
474 while (tmp != NULL && strcasecmp(instance->name, tmp->name) > 0)
477 list_insert_before(&ksi->ks_nvlist, tmp, instance);
638 * Allocate a new instance and fill in the values
665 /* Insert this instance into a sorted list */
744 * Print a single instance.
775 * Print a single instance in JSON format.
837 /* Iterate over each instance */