Lines Matching refs:sm_uqi
213 if (lqi->sm_uqi) {
214 sm_dbg('Y', ("lqifree unit %d, ", lqi->sm_uqi->sm_lunit));
215 if ((mu_owned = mutex_owned(lqi->sm_uqi->sm_umutex)) == 0)
216 LOCK_UNIT(lqi->sm_uqi);
218 pplqi = &lqi->sm_uqi->sm_lqs;
224 lqi->sm_uqi->sm_nlqs--;
227 UNLOCK_UNIT(lqi->sm_uqi);
229 lqi->sm_uqi = 0;
494 if (plqi->sm_uqi) {
495 if (plqi->sm_uqi->sm_lunit == unit) {
502 plqi->sm_uqi->sm_lunit));
516 plqi->sm_uqi = uqi;
608 if (plqi->sm_uqi == NULL) {
611 } else if (plqi->sm_uqi->sm_lunit != unit) {
613 plqi->sm_uqi->sm_lunit));
835 } else if (plqi->sm_uqi) {
892 uqi = plqi->sm_uqi;
1433 * lqi->sm_uqi will be valid.
1437 uwq = SM_WQ(lqi->sm_uqi);
1754 if ((lqi->sm_uqflags & SM_UQVALID) && SM_RQ(lqi->sm_uqi)) {
1756 if (!canput(SM_RQ(lqi->sm_uqi))) {
1876 if (lqi->sm_uqflags & SM_UQVALID && SM_RQ(lqi->sm_uqi)) {
1878 (void) putq(SM_RQ(lqi->sm_uqi), mp);