Home
last modified time | relevance | path

Searched refs:superdev (Results 1 – 4 of 4) sorted by relevance

/dflybsd-src/sbin/vinum/
H A Dcommands.c115 if (ioctl(superdev, VINUM_STARTCONFIG, &force)) { /* can't get config? */ in vinum_create()
140 ioctl(superdev, VINUM_CREATE, buffer); in vinum_create()
154 if (ioctl(superdev, VINUM_STARTCONFIG, &force)) /* can't get config? */ in vinum_create()
160 error = ioctl(superdev, VINUM_SAVECONFIG, &ioctltype); /* save the config to disk */ in vinum_create()
188 if (ioctl(superdev, VINUM_STARTCONFIG, &force)) { /* can't get config? */ in vinum_read()
192 ioctl(superdev, VINUM_CREATE, &buffer); in vinum_read()
195 error = ioctl(superdev, VINUM_RELEASECONFIG, NULL); /* save the config to disk */ in vinum_read()
199 error = ioctl(superdev, VINUM_RELEASECONFIG, NULL); /* save the config to disk */ in vinum_read()
220 ioctl(superdev, VINUM_DEBUG, (caddr_t) & info); in vinum_debug()
259 ioctl(superdev, VINUM_REMOVE, message); in vinum_rm()
[all …]
H A Dv.c98 int superdev; /* vinum super device */ variable
145 superdev = open(VINUM_SUPERDEV_NAME, O_RDWR); /* open vinum superdevice */ in main()
146 if (superdev < 0) { /* no go */ in main()
148 superdev = open(VINUM_WRONGSUPERDEV_NAME, O_RDWR); /* do we have a debug mismatch? */ in main()
149 if (superdev >= 0) { /* yup! */ in main()
175 if (superdev < 0) { in main()
426 if (ioctl(superdev, VINUM_DRIVECONFIG, drive) < 0) { in get_drive_info()
439 if (ioctl(superdev, VINUM_SDCONFIG, sd) < 0) { in get_sd_info()
455 if (ioctl(superdev, VINUM_PLEXSDCONFIG, sd) < 0) { in get_plex_sd_info()
469 if (ioctl(superdev, VINUM_PLEXCONFIG, plex) < 0) { in get_plex_info()
[all …]
H A Dlist.c202 if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) { in vinum_ldi()
280 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in vinum_ld()
405 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in vinum_lv()
572 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in vinum_lp()
777 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in vinum_ls()
802 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in listconfig()
850 if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) { in vinum_info()
855 if (ioctl(superdev, VINUM_MEMINFO, &meminfo) < 0) { in vinum_info()
871 if (ioctl(superdev, VINUM_MALLOCINFO, &malloced) < 0) { in vinum_info()
890 if (ioctl(superdev, VINUM_RQINFO, &rq) < 0) { in vinum_info()
[all …]
H A Dvext.h167 extern int superdev; /* vinum super device */