Lines Matching defs:localpath
245 char localpath[MAXPATHLEN];
247 slice_rdsk2dsk(sp->devpath, localpath,
248 sizeof (localpath));
250 if ((*errp = add_inuse(localpath, stats)) != 0) {
406 char localpath[MAXPATHLEN];
521 * get localname and possible mnt point for localpath
523 localpath[0] = 0;
543 slice_rdsk2dsk(sp->devpath, localpath, sizeof (localpath));
545 if (nvlist_add_string(attrs, DM_LOCALNAME, localpath)
551 if (inuse_mnt(localpath, attrs, &error)) {
571 * correct devid. Also see if we need to read the localpath for the
575 if (localpath[0] != 0) {
576 cooked_fd = open(localpath, O_RDONLY|O_NDELAY);