Lines Matching refs:knp
1304 kstat_named_t *knp;
1334 if ((knp = (kstat_named_t *)kstat_data_lookup(ksp, "brand"))
1342 (void) strlcpy(info[i].cpu_name, knp->value.str.addr.ptr,
1343 knp->value.str.len);
1345 if ((knp = (kstat_named_t *)kstat_data_lookup(ksp, "clock_MHz"))
1353 info[i].cpu_mhz = knp->value.ui64;
1367 kstat_named_t *knp;
1392 if ((knp = (kstat_named_t *)
1400 stats->t_user += knp->value.ui64;
1402 if ((knp = (kstat_named_t *)
1404 if ((knp == NULL) && i >= nr_cpus)
1409 stats->t_kernel += knp->value.ui64;
1411 if ((knp = (kstat_named_t *)
1418 stats->t_idle += knp->value.ui64;
1420 if ((knp = (kstat_named_t *)
1427 stats->t_iowait += knp->value.ui64;
1429 if ((knp = (kstat_named_t *)
1436 stats->t_intr += knp->value.ui64; /* This is in NSEC */