Lines Matching refs:dp
185 sdev_nvp_free(nvp_devname_t *dp)
190 if (dp->nvp_npaths > 0) {
191 p = dp->nvp_paths;
192 for (i = 0; i < dp->nvp_npaths; i++, p++) {
195 kmem_free(dp->nvp_paths,
196 dp->nvp_npaths * sizeof (char *));
197 kmem_free(dp->nvp_expirecnts,
198 dp->nvp_npaths * sizeof (int));
201 kmem_free(dp, sizeof (nvp_devname_t));
208 nvp_devname_t *dp;
214 if ((dp = list_head(listp)) != NULL) {
215 list_remove(listp, dp);
216 sdev_nvp_free(dp);