Lines Matching refs:knp
159 kstat_named_t *knp;
171 for (i = ksp->ks_ndata, knp = ksp->ks_data;
173 knp++,i--) {
175 if (!strcmp("cpu_nsec_idle",knp->name)) {
177 counters[cpu_num].idle = knp->value.ui64;
179 else if (!strcmp("cpu_nsec_user",knp->name)) {
181 counters[cpu_num].user = knp->value.ui64;
183 else if (!strcmp("cpu_nsec_kernel",knp->name)) {
185 counters[cpu_num].kernel = knp->value.ui64;
187 else if (!strcmp("cpu_nsec_intr",knp->name)) {
194 else if (strstr(knp->name,"nsec")) {
198 knp->name,
208 knp->name,
252 kstat_named_t *knp;
266 for (i = ksp->ks_ndata, knp = ksp->ks_data;
268 knp++,i--) {
269 if (strstr(knp->name,"time")) {
271 counters[cpu_num].interrupt += knp->value.ui64;
281 knp->name,