Lines Matching refs:knew
486 kstat_named_t *knew = buf;
520 for (i = 0; i < ksp->ks_ndata; i++, kold++, knew++) {
526 if (knew->data_type ==
528 knew->value.l =
529 (long)knew->value.i32;
530 knew->data_type =
537 if (knew->data_type ==
539 knew->value.l =
540 (long)knew->value.i64;
541 knew->data_type =
551 if (knew->data_type ==
553 knew->value.ul =
554 (ulong_t)knew->value.ui32;
555 knew->data_type =
562 if (knew->data_type ==
564 knew->value.ul =
565 (ulong_t)knew->value.ui64;
566 knew->data_type =
575 if (knew->data_type != KSTAT_DATA_STRING) {
585 KSTAT_NAMED_STR_PTR(knew) =
587 knew->value.str.addr.ptr32;
592 if (KSTAT_NAMED_STR_PTR(knew) == NULL)
600 if (KSTAT_NAMED_STR_PTR(knew) <
610 if (KSTAT_NAMED_STR_PTR(knew) +
611 KSTAT_NAMED_STR_BUFLEN(knew) >
624 KSTAT_NAMED_STR_PTR(knew) =
626 (KSTAT_NAMED_STR_PTR(knew) -
635 knew = buf;
640 for (i = 0; i < ksp->ks_ndata; i++, kold++, knew++)
641 if (kold->data_type != knew->data_type) {