Lines Matching defs:device
53 # define HDIO_GETGEO 0x0301 /* get device geometry */
86 # define BLKGETSIZE _IO(0x12,96) /* return device size */
228 0 /* char device */
275 0 /* char device */
389 check_device_readable_unique (const char *device)
400 if (*device == 0)
403 /* Have we seen this device already? */
404 real_device = canonicalize_file_name (device);
410 device, real_device);
414 fp = fopen (device, "r");
435 /* Error opening the device. */
454 /* If it is a block device and isn't a floppy, check if HDIO_GETGEO
496 /* Remember that we've seen this device. */
630 older device.map files, but sort by stable by-id names as a fallback.
639 const struct device *left = (const struct device *) a;
640 const struct device *right = (const struct device *) b;
688 struct device *devs;
704 /* Skip device-mapper entries; we'll handle the ones we want