Searched defs:diskname (Results 1 - 7 of 7) sorted by relevance

/freebsd-head/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c102 char diskname[MAXPATHLEN]; local
108 (void) snprintf(diskname, sizeof (diskname), "%s%s", DISK_ROOT,
110 if ((fd = open(diskname, O_RDONLY|O_DIRECT)) >= 0) {
/freebsd-head/sys/geom/raid/
H A Dmd_jmicron.c1033 const char *verb, *volname, *levelname, *diskname; local
1081 diskname = gctl_get_asciiparam(req, arg);
1082 if (diskname == NULL) {
1087 if (strcmp(diskname, "NONE") == 0) {
1092 cp = g_raid_open_consumer(sc, diskname);
1095 diskname);
1262 diskname = gctl_get_asciiparam(req, arg);
1263 if (diskname == NULL) {
1268 if (strncmp(diskname, _PATH_DEV, 5) == 0)
1269 diskname
[all...]
H A Dmd_nvidia.c1037 const char *verb, *volname, *levelname, *diskname; local
1085 diskname = gctl_get_asciiparam(req, arg);
1086 if (diskname == NULL) {
1091 if (strcmp(diskname, "NONE") == 0) {
1096 cp = g_raid_open_consumer(sc, diskname);
1099 diskname);
1267 diskname = gctl_get_asciiparam(req, arg);
1268 if (diskname == NULL) {
1273 if (strncmp(diskname, _PATH_DEV, 5) == 0)
1274 diskname
[all...]
H A Dmd_sii.c1121 const char *verb, *volname, *levelname, *diskname; local
1169 diskname = gctl_get_asciiparam(req, arg);
1170 if (diskname == NULL) {
1175 if (strcmp(diskname, "NONE") == 0) {
1180 cp = g_raid_open_consumer(sc, diskname);
1183 diskname);
1349 diskname = gctl_get_asciiparam(req, arg);
1350 if (diskname == NULL) {
1355 if (strncmp(diskname, _PATH_DEV, 5) == 0)
1356 diskname
[all...]
H A Dmd_ddf.c2258 const char *nodename, *verb, *volname, *levelname, *diskname; local
2308 diskname = gctl_get_asciiparam(req, arg);
2309 if (diskname == NULL) {
2314 if (strcmp(diskname, "NONE") == 0)
2321 diskname) == 0)
2327 "wrong state (%s).", diskname,
2337 diskname);
2352 cp = g_raid_open_consumer(sc, diskname);
2355 diskname);
2612 diskname
[all...]
H A Dmd_promise.c1270 const char *nodename, *verb, *volname, *levelname, *diskname; local
1320 diskname = gctl_get_asciiparam(req, arg);
1321 if (diskname == NULL) {
1326 if (strcmp(diskname, "NONE") == 0)
1333 diskname) == 0)
1339 "wrong state (%s).", diskname,
1348 diskname, pd->pd_subdisks);
1364 cp = g_raid_open_consumer(sc, diskname);
1367 diskname);
1602 diskname
[all...]
H A Dmd_intel.c1700 const char *nodename, *verb, *volname, *levelname, *diskname; local
1749 diskname = gctl_get_asciiparam(req, arg);
1750 if (diskname == NULL) {
1755 if (strcmp(diskname, "NONE") == 0) {
1760 cp = g_raid_open_consumer(sc, diskname);
1763 diskname);
1789 diskname);
2201 diskname = gctl_get_asciiparam(req, arg);
2202 if (diskname == NULL) {
2207 if (strncmp(diskname, _PATH_DE
[all...]

Completed in 89 milliseconds