Lines Matching defs:lpath

230 	lpath_t	*lpath;
236 lpath = oplmsu_uinst->first_lpath;
237 while (lpath) {
238 if ((lpath->hndl_uqueue != NULL) || (lpath->hndl_mp != NULL)) {
242 lpath = lpath->l_next;
346 oplmsu_set_ioctl_path(lpath_t *lpath, queue_t *hndl_queue, mblk_t *mp)
353 if ((lpath->hndl_uqueue == NULL) && (lpath->hndl_mp == NULL) &&
354 (lpath->sw_flag == 0)) {
355 if ((lpath->status == MSU_EXT_NOTUSED) ||
356 (lpath->status == MSU_EXT_ACTIVE_CANDIDATE) ||
357 (lpath->status == MSU_SETID_NU)) {
359 lpath->hndl_uqueue = hndl_queue;
361 lpath->hndl_uqueue = WR(hndl_queue);
363 lpath->hndl_mp = mp;
383 oplmsu_clear_ioctl_path(lpath_t *lpath)
389 lpath->hndl_uqueue = NULL;
390 lpath->hndl_mp = NULL;
462 (upath->lpath != NULL)) {
487 lpath_t *lpath;
502 if (upath->lpath != NULL) {
505 lpath = upath->lpath;
507 if (lpath->status == MSU_EXT_NOTUSED) {
519 lpath = min_upath->lpath;
521 lpath->src_upath = NULL;
522 lpath->status = MSU_EXT_ACTIVE_CANDIDATE;
602 lpath_t *lpath;
610 lpath = upath->lpath;
612 (lpath == NULL)) {
618 WR(lpath->lower_queue), MSU_XOFF_4);
756 lpath_t *lpath;
760 lpath = (lpath_t *)q->q_ptr;
762 if (lpath->first_lpri_hi == NULL) {
763 lpath->last_lpri_hi = mp;
766 wrk_msg = lpath->first_lpri_hi;
771 lpath->first_lpri_hi = mp;
776 if (lpath->rbuf_id != 0) {
781 lpath->rbuftbl->q = q;
782 lpath->rbuftbl->rw_flag = rw_flag;
783 lpath->rbuf_id = bufcall(size, BPRI_LO, oplmsu_cmn_bufcb,
784 (void *)lpath->rbuftbl);
786 if (lpath->rbuf_id == 0) {
787 if (lpath->rtout_id != 0) {
792 lpath->rtout_id = timeout(oplmsu_cmn_bufcb,
793 (void *)lpath->rbuftbl, drv_usectohz(MSU_TM_500MS));
1046 lpath_t *lpath;
1054 lpath = oplmsu_uinst->first_lpath;
1055 while (lpath) {
1056 if ((buftbl == lpath->rbuftbl) &&
1058 if ((lpath->rbuf_id == 0) && (lpath->rtout_id == 0)) {
1062 q = lpath->rbuftbl->q;
1063 lpath->rbuftbl->q = NULL;
1064 lpath->rbuftbl->rw_flag = UNDEFINED;
1066 if (lpath->rbuf_id) {
1067 lpath->rbuf_id = 0;
1069 lpath->rtout_id = 0;
1090 lpath = lpath->l_next;
1362 lpath_t *lpath;
1368 lpath = (lpath_t *)dq->q_ptr;
1369 lpath->uwq_flag = 1;
1370 lpath->uwq_queue = uwq;
1484 lpath_t *lpath;
1492 lpath = (lpath_t *)q->q_ptr;
1493 if (lpath->uinst != NULL) {
1549 lpath_t *lpath;
1556 lpath = (lpath_t *)q->q_ptr;
1557 if ((mp = lpath->first_lpri_hi) == NULL) {
1563 lpath->first_lpri_hi = NULL;
1564 lpath->last_lpri_hi = NULL;
1566 lpath->first_lpri_hi = mp->b_next;