Lines Matching refs:lp
6345 drmach_mem_t *lp;
6348 for (lp = mp->dev.bp->mem; lp->next; lp = lp->next)
6350 lp->next = mp;
8456 drmach_sr_insert(struct drmach_sr_list **lp, dev_info_t *dip)
8468 if (*lp == NULL) {
8470 *lp = np->next = np->prev = np;
8473 np->prev = (*lp)->prev;
8474 np->next = *lp;
8481 drmach_sr_delete(struct drmach_sr_list **lp, dev_info_t *dip)
8485 if (*lp) {
8489 xp = (*lp)->prev;
8495 if (xp == *lp)
8496 *lp = xp->next;
8497 if (xp == *lp)
8498 *lp = NULL;
8512 } while (xp != (*lp)->prev);