Home
last modified time | relevance | path

Searched refs:pic_events (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/sun4v/pcbe/
H A Dniagara_pcbe.c189 static char *pic_events[2]; variable
223 pic_events[i] = kmem_alloc(size + 1, KM_SLEEP); in ni_pcbe_init()
224 *pic_events[i] = '\0'; in ni_pcbe_init()
226 (void) strcat(pic_events[i], n->name); in ni_pcbe_init()
227 (void) strcat(pic_events[i], ","); in ni_pcbe_init()
230 (void) strcat(pic_events[i], gevp->name); in ni_pcbe_init()
231 (void) strcat(pic_events[i], ","); in ni_pcbe_init()
236 pic_events[i][size - 1] = '\0'; in ni_pcbe_init()
265 return (pic_events[picnum]); in ni_pcbe_list_events()
/titanic_41/usr/src/uts/sun4u/pcbe/
H A Dus234_pcbe.c570 static char *pic_events[2]; variable
659 pic_events[i] = kmem_alloc(size + 1, KM_SLEEP); in us_pcbe_init()
660 *pic_events[i] = '\0'; in us_pcbe_init()
662 (void) strcat(pic_events[i], n->name); in us_pcbe_init()
663 (void) strcat(pic_events[i], ","); in us_pcbe_init()
666 (void) strcat(pic_events[i], gevp->name); in us_pcbe_init()
667 (void) strcat(pic_events[i], ","); in us_pcbe_init()
673 pic_events[i][size - 1] = '\0'; in us_pcbe_init()
702 return (pic_events[picnum]); in us_pcbe_list_events()
H A Dopl_pcbe.c509 static char *pic_events[CPC_SPARC64_VI_NPIC]; variable
550 pic_events[i] = kmem_alloc(size + 1, KM_SLEEP); in opl_pcbe_init()
551 *pic_events[i] = '\0'; in opl_pcbe_init()
553 (void) strcat(pic_events[i], n->name); in opl_pcbe_init()
554 (void) strcat(pic_events[i], ","); in opl_pcbe_init()
557 (void) strcat(pic_events[i], gevp->name); in opl_pcbe_init()
558 (void) strcat(pic_events[i], ","); in opl_pcbe_init()
564 pic_events[i][size - 1] = '\0'; in opl_pcbe_init()
593 return (pic_events[picnum]); in opl_pcbe_list_events()
/titanic_41/usr/src/uts/intel/pcbe/
H A Dp123_pcbe.c129 static char *pic_events[2] = { NULL, NULL }; variable
590 pic_events[i] = kmem_alloc(size + 1, KM_SLEEP); in ptm_pcbe_init()
591 *pic_events[i] = '\0'; in ptm_pcbe_init()
593 (void) strcat(pic_events[i], n->name); in ptm_pcbe_init()
594 (void) strcat(pic_events[i], ","); in ptm_pcbe_init()
597 (void) strcat(pic_events[i], gevp->name); in ptm_pcbe_init()
598 (void) strcat(pic_events[i], ","); in ptm_pcbe_init()
604 pic_events[i][size - 1] = '\0'; in ptm_pcbe_init()
633 if (pic_events[0] == NULL) { in ptm_pcbe_list_events()
634 ASSERT(pic_events[1] == NULL); in ptm_pcbe_list_events()
[all …]