Lines Matching refs:snp
1631 evchanq_t *snp; /* Pointer to q with snapshot of ev */ in evch_chrdevent_init() local
1663 snp = kmem_alloc(sizeof (evchanq_t), KM_SLEEP); in evch_chrdevent_init()
1664 snp->sn_queue = evch_evq_create(); in evch_chrdevent_init()
1665 evch_evq_stop(snp->sn_queue); in evch_chrdevent_init()
1672 (void) evch_evq_pub(snp->sn_queue, ev, EVCH_SLEEP); in evch_chrdevent_init()
1677 (void) evch_evq_pub(snp->sn_queue, ev, EVCH_SLEEP); in evch_chrdevent_init()
1679 snp->sn_nxtev = NULL; in evch_chrdevent_init()
1688 return (snp); in evch_chrdevent_init()
1696 evch_chrdevent_fini(evchanq_t *snp) in evch_chrdevent_fini() argument
1698 if (snp != NULL) { in evch_chrdevent_fini()
1699 evch_evq_destroy(snp->sn_queue); in evch_chrdevent_fini()
1700 kmem_free(snp, sizeof (evchanq_t)); in evch_chrdevent_fini()
1712 evch_chgetnextev(evchanq_t *snp) in evch_chgetnextev() argument
1744 ASSERT(snp != NULL); in evch_chgetnextev()
1745 snp->sn_nxtev = (sysevent_impl_t *)evch_evq_evnext(snp->sn_queue, in evch_chgetnextev()
1746 snp->sn_nxtev); in evch_chgetnextev()
1747 return (snp->sn_nxtev); in evch_chgetnextev()