Lines Matching refs:localpath
246 char localpath[MAXPATHLEN];
248 slice_rdsk2dsk(sp->devpath, localpath,
249 sizeof (localpath));
251 if ((*errp = add_inuse(localpath, stats)) != 0) {
407 char localpath[MAXPATHLEN];
522 * get localname and possible mnt point for localpath
524 localpath[0] = 0;
544 slice_rdsk2dsk(sp->devpath, localpath, sizeof (localpath));
546 if (nvlist_add_string(attrs, DM_LOCALNAME, localpath)
552 if (inuse_mnt(localpath, attrs, &error)) {
572 * correct devid. Also see if we need to read the localpath for the
576 if (localpath[0] != 0) {
577 cooked_fd = open(localpath, O_RDONLY|O_NDELAY);