Lines Matching defs:scsi_disk
84 struct scsi_disk { struct
88 * disk_dev is used to show attributes in /sys/class/scsi_disk/, argument
91 struct device disk_dev;
92 struct gendisk *disk;
93 struct opal_dev *opal_dev;
96 struct zoned_disk_info early_zone_info;
98 struct zoned_disk_info zone_info;
99 u32 zones_optimal_open;
100 u32 zones_optimal_nonseq;
101 u32 zones_max_open;
106 u32 zone_starting_lba_gran;
107 u32 *zones_wp_offset;
108 spinlock_t zones_wp_offset_lock;
109 u32 *rev_wp_offset;
110 struct mutex rev_mutex;
111 struct work_struct zone_wp_offset_work;
112 char *zone_wp_update_buf;
114 atomic_t openers;
115 sector_t capacity; /* size in logical blocks */
116 int max_retries;
117 u32 min_xfer_blocks;
118 u32 max_xfer_blocks;
119 u32 opt_xfer_blocks;
120 u32 max_ws_blocks;
121 u32 max_unmap_blocks;
122 u32 unmap_granularity;
123 u32 unmap_alignment;
124 u32 index;
125 unsigned int physical_block_size;
126 unsigned int max_medium_access_timeouts;
127 unsigned int medium_access_timed_out;
128 u8 media_present;
129 u8 write_prot;
130 u8 protection_type;/* Data Integrity Field */
154 #define to_scsi_disk(obj) container_of(obj, struct scsi_disk, disk_dev) argument
156 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() function