| D | genhd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include <linux/percpu-refcount.h> 23 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) argument 24 #define dev_to_part(device) container_of((device), struct hd_struct, __dev) argument 25 #define disk_to_dev(disk) (&(disk)->part0.__dev) 26 #define part_to_dev(part) (&((part)->__dev)) 52 EZD_PARTITION = 0x55, /* EZ-DRIVE */ 66 #include <linux/device.h> 73 unsigned char boot_ind; /* 0x80 - active */ 111 * can be non-atomic on 32bit machines with 64bit sector_t. [all …]
|