HomeSort by: relevance | last modified time | path
    Searched defs:physpath (Results 1 - 3 of 3) sorted by relevancy

  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
vdev_geom.c 92 char *physpath; local
100 physpath = g_malloc(physpath_len, M_WAITOK|M_ZERO);
101 error = g_io_getattr("GEOM::physpath", cp, &physpath_len, physpath);
109 vd->vdev_physpath = spa_strdup(physpath);
118 g_free(physpath);
146 if (strcmp(attr, "GEOM::physpath") == 0) {
863 vdev_geom_attrchanged(cp, "GEOM::physpath");
zvol.c 1219 char *physpath = kmem_zalloc(MAXPATHLEN, KM_SLEEP); local
1221 (void) snprintf(physpath, MAXPATHLEN, "%s%u", ZVOL_PSEUDO_DEV,
1225 VERIFY(nvlist_add_string(attr, DEV_PHYS_PATH, physpath) == 0);
1231 kmem_free(physpath, MAXPATHLEN);
spa.c 4013 * For x86. devpath_list will consist of devid and/or physpath name of
4017 * For Sparc, devpath_list consists the physpath name of the booting device
6122 char *physpath; local
6135 physpath = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
6136 (void) snprintf(physpath, MAXPATHLEN, "/devices%s", vd->vdev_physpath);
6139 VERIFY(nvlist_add_string(attr, DEV_PHYS_PATH, physpath) == 0);
6145 kmem_free(physpath, MAXPATHLEN);

Completed in 204 milliseconds