Lines Matching refs:pciintr_ks_template
386 } pciintr_ks_template = {
407 int maxlen = sizeof (pciintr_ks_template.pciintr_ks_name.value.c);
416 (void) snprintf(pciintr_ks_template.pciintr_ks_name.value.c, maxlen,
422 kstat_named_setstr(&pciintr_ks_template.pciintr_ks_devpath, ih_devpath);
423 kstat_named_setstr(&pciintr_ks_template.pciintr_ks_buspath, ih_buspath);
426 (void) strcpy(pciintr_ks_template.pciintr_ks_type.value.c,
428 pciintr_ks_template.pciintr_ks_cpu.value.ui64 =
430 pciintr_ks_template.pciintr_ks_pil.value.ui64 =
432 pciintr_ks_template.pciintr_ks_time.value.ui64 = ih_p->ih_nsec +
435 pciintr_ks_template.pciintr_ks_ino.value.ui64 = ino;
436 pciintr_ks_template.pciintr_ks_cookie.value.ui64 =
439 (void) strcpy(pciintr_ks_template.pciintr_ks_type.value.c,
441 pciintr_ks_template.pciintr_ks_cpu.value.ui64 = 0;
442 pciintr_ks_template.pciintr_ks_pil.value.ui64 = 0;
443 pciintr_ks_template.pciintr_ks_time.value.ui64 = 0;
444 pciintr_ks_template.pciintr_ks_ino.value.ui64 = 0;
445 pciintr_ks_template.pciintr_ks_cookie.value.ui64 = 0;
596 sizeof (pciintr_ks_template) / sizeof (kstat_named_t),
601 ih_p->ih_ksp->ks_data = &pciintr_ks_template;