Searched refs:newpath (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_device_path_os.c | 122 char *newpath = strdup(path); in zfs_strip_partition_path() local 126 if (!newpath) in zfs_strip_partition_path() 130 sd_offset = strrchr(newpath, '/') + 1; in zfs_strip_partition_path() 135 free(newpath); in zfs_strip_partition_path() 145 return (newpath); in zfs_strip_partition_path()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_machdep.c | 105 char *newpath; in linux_execve() local 112 LCONVPATHEXIST(td, args->path, &newpath); in linux_execve() 113 error = exec_copyin_args(&eargs, newpath, UIO_SYSSPACE, in linux_execve() 115 LFREEPATH(newpath); in linux_execve()
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 3470 char *oldpath, *newpath; in ztest_vdev_attach_detach() local 3482 newpath = umem_alloc(MAXPATHLEN, UMEM_NOFAIL); in ztest_vdev_attach_detach() 3585 (void) strcpy(newpath, newvd->vdev_path); in ztest_vdev_attach_detach() 3587 (void) snprintf(newpath, MAXPATHLEN, ztest_dev_template, in ztest_vdev_attach_detach() 3591 newpath[strlen(newpath) - 1] = 'b'; in ztest_vdev_attach_detach() 3592 newvd = vdev_lookup_by_path(rvd, newpath); in ztest_vdev_attach_detach() 3631 else if (vdev_lookup_by_path(rvd, newpath) != NULL) in ztest_vdev_attach_detach() 3647 root = make_vdev_root(newpath, NULL, NULL, newvd == NULL ? newsize : 0, in ztest_vdev_attach_detach() 3687 oldpath, oldsize, newpath, in ztest_vdev_attach_detach() 3694 umem_free(newpath, MAXPATHLEN); in ztest_vdev_attach_detach()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | spa.h | 816 extern int spa_vdev_setpath(spa_t *spa, uint64_t guid, const char *newpath);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa.c | 7888 spa_vdev_setpath(spa_t *spa, uint64_t guid, const char *newpath) argument 7890 return (spa_vdev_set_common(spa, guid, newpath, B_TRUE));
|