Lines Matching refs:physpath
751 kmem_free(p->physpath, p->size); in pm_free_entries()
1007 req32.physpath, who, MAXNAMELEN, &wholen); in pm_ioctl()
1014 req.physpath = who; in pm_ioctl()
1016 cmdstr, req.physpath)) in pm_ioctl()
1028 pm_name_to_dip(req.physpath, 1))) { in pm_ioctl()
1031 cmdstr, req.physpath)) in pm_ioctl()
1122 ret = copyinstr((char *)req.physpath, who, in pm_ioctl()
1130 req.physpath = who; in pm_ioctl()
1132 cmdstr, req.physpath)) in pm_ioctl()
1141 pm_name_to_dip(req.physpath, 1))) { in pm_ioctl()
1144 cmdstr, req.physpath)) in pm_ioctl()
1360 "%d\n", cmdstr, req.physpath, comp, value)) in pm_ioctl()
1365 cmdstr, req.physpath, comp, value)) in pm_ioctl()
1379 "\n", cmdstr, req.physpath, clone, in pm_ioctl()
1390 cmdstr, req.physpath, ret)) in pm_ioctl()
1441 cmdstr, req.physpath, req.component)) in pm_ioctl()
1467 cmdstr, req.physpath, req.component, *rval_p)) in pm_ioctl()
1505 dep, req.physpath)) in pm_ioctl()
1523 dep, (void *)kept_dip, req.physpath, in pm_ioctl()
1529 ASSERT(!(strcmp(req.physpath, (char *)dep) == 0)); in pm_ioctl()
1537 req.physpath, dep, PM_DEP_WAIT, NULL, 0); in pm_ioctl()
1560 keeper = req.physpath; in pm_ioctl()
1591 strlen(req.physpath) + 1; in pm_ioctl()
1603 (void) strcat((char *)tp, req.physpath); in pm_ioctl()
1605 ASSERT((intptr_t)tp + strlen(req.physpath) + 1 == in pm_ioctl()
1608 "%s\n", cmdstr, req.value, req.physpath)) in pm_ioctl()
1619 if (!(dip = pm_name_to_dip(req.physpath, 1))) { in pm_ioctl()
1641 "managed\n", cmdstr, req.physpath)) in pm_ioctl()
1647 cmdstr, req.physpath)) in pm_ioctl()
1651 pm_unrecord_threshold(req.physpath); in pm_ioctl()
1725 "--EINVAL\n", cmdstr, req.physpath)) in pm_ioctl()
1737 strlen(req.physpath) + 1; in pm_ioctl()
1753 (void) strcat((char *)tp, req.physpath); in pm_ioctl()
1756 ASSERT((intptr_t)tp + strlen(req.physpath) + 1 == in pm_ioctl()
1764 if (!(dip = pm_name_to_dip(req.physpath, 1))) { in pm_ioctl()
1768 "for %s failed\n", cmdstr, req.physpath)) in pm_ioctl()
1929 req.physpath)) in pm_ioctl()
2263 psc.physpath = (caddr_t)(uintptr_t)psc32.physpath; in pm_ioctl()
2284 caddr_t physpath; in pm_ioctl() local
2323 physpath = NULL; in pm_ioctl()
2330 physpath = kmem_zalloc(1, KM_SLEEP); in pm_ioctl()
2333 if ((psc.physpath == NULL) || (psc.size < physlen)) { in pm_ioctl()
2339 if (physpath == NULL) { in pm_ioctl()
2340 physpath = kmem_zalloc(physlen, KM_SLEEP); in pm_ioctl()
2341 bcopy((const void *) pscep->psce_out->physpath, in pm_ioctl()
2342 (void *) physpath, physlen); in pm_ioctl()
2377 kmem_free(p->physpath, p->size); in pm_ioctl()
2379 p->physpath = NULL; in pm_ioctl()
2387 ret = copyoutstr(physpath, psc.physpath, in pm_ioctl()
2389 kmem_free(physpath, physlen); in pm_ioctl()
2393 (void *)psc.physpath)) in pm_ioctl()
2427 caddr_t physpath; in pm_ioctl() local
2458 if ((psc.physpath == NULL) || (psc.size < physlen)) { in pm_ioctl()
2465 physpath = kmem_zalloc(physlen, KM_SLEEP); in pm_ioctl()
2466 bcopy((const void *) pscep->psce_out->physpath, in pm_ioctl()
2467 (void *) physpath, physlen); in pm_ioctl()
2484 "%d -> %d\n", cmdstr, physpath, in pm_ioctl()
2503 "%d -> %d\n", cmdstr, physpath, in pm_ioctl()
2512 kmem_free(p->physpath, p->size); in pm_ioctl()
2514 p->physpath = NULL; in pm_ioctl()
2522 ret = copyoutstr(physpath, psc.physpath, in pm_ioctl()
2524 kmem_free(physpath, physlen); in pm_ioctl()
2528 (void *)psc.physpath)) in pm_ioctl()