Searched refs:trwptr (Results 1 – 1 of 1) sorted by relevance
164 struct trw_trw *trwptr; in tirdwropen() local174 trwptr = kmem_alloc(sizeof (struct trw_trw), KM_SLEEP); in tirdwropen()177 trwptr->trw_flags = 0; in tirdwropen()178 trwptr->trw_rdq = q; in tirdwropen()179 q->q_ptr = (caddr_t)trwptr; in tirdwropen()180 WR(q)->q_ptr = (caddr_t)trwptr; in tirdwropen()191 kmem_free(trwptr, sizeof (struct trw_trw)); in tirdwropen()209 struct trw_trw *trwptr; in tirdwrclose() local214 trwptr = (struct trw_trw *)q->q_ptr; in tirdwrclose()216 ASSERT(trwptr != NULL); in tirdwrclose()[all …]