Lines Matching refs:lp
8231 pm_noinvol_t *lp;
8272 for (lp = pm_noinvol_head; lp; pp = lp, lp = lp->ni_next) {
8277 if (strcmp(pathbuf, lp->ni_path) == 0) {
8279 lp->ni_path, lp->ni_noinvolpm,
8280 lp->ni_noinvolpm - 1))
8281 lp->ni_noinvolpm--;
8282 if (wasvolpmd && lp->ni_volpmd) {
8284 "%d\n", pmf, lp->ni_path,
8285 lp->ni_volpmd, lp->ni_volpmd - 1))
8286 lp->ni_volpmd--;
8293 if (!(lp->ni_noinvolpm ||
8294 (lp->ni_flags & PMC_NO_INVOL))) {
8295 ASSERT(lp->ni_volpmd == 0);
8299 lp->ni_path, pp->ni_path))
8300 pp->ni_next = lp->ni_next;
8303 "head\n", pmf, lp->ni_path))
8304 ASSERT(pm_noinvol_head == lp);
8305 pm_noinvol_head = lp->ni_next;
8312 kmem_free(lp->ni_path, lp->ni_size);
8313 kmem_free(lp, sizeof (*lp));
8333 pm_noinvol_t *lp;
8336 for (lp = pm_noinvol_head; lp; lp = lp->ni_next) {
8337 if (strstr(path, lp->ni_path) &&
8338 (lp->ni_flags & PMC_DRIVER_REMOVED)) {
8340 i_pm_driver_removed(lp->ni_major);