Searched refs:trwptr (Results 1 – 1 of 1) sorted by relevance
167 struct trw_trw *trwptr; in tirdwropen() local177 trwptr = kmem_alloc(sizeof (struct trw_trw), KM_SLEEP); in tirdwropen()180 trwptr->trw_flags = 0; in tirdwropen()181 trwptr->trw_rdq = q; in tirdwropen()182 q->q_ptr = (caddr_t)trwptr; in tirdwropen()183 WR(q)->q_ptr = (caddr_t)trwptr; in tirdwropen()194 kmem_free(trwptr, sizeof (struct trw_trw)); in tirdwropen()212 struct trw_trw *trwptr; in tirdwrclose() local217 trwptr = (struct trw_trw *)q->q_ptr; in tirdwrclose()219 ASSERT(trwptr != NULL); in tirdwrclose()[all …]