Lines Matching defs:disk
39 #include <sys/disk.h>
96 #define HR_DISKSTORAGE_MD 0x004 /* it is a MD (memory disk) */
170 * Delete a disk table entry.
186 * this is needed for disk devices that are not
195 * Find a disk storage entry given its index.
210 * Get the disk parameters
299 * Avoid false disk devices. For example adw(4) and
436 char *disk = NULL;
439 disk = strsep(&disk_list, " ");
440 if (disk == NULL)
444 "%s%s", _PATH_DEV, disk);
446 /* First check if the disk is in the hrDeviceTable. */
447 if ((entry = device_find_by_name(disk)) == NULL) {
452 "device list", __func__, disk);
454 if ((entry = device_entry_create(disk, "", "")) == NULL)
496 strlcpy((char *)disk_entry->dev_name, disk,