Searched refs:scsi_disk (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/scsi/ |
D | sd.h | 84 struct scsi_disk { struct 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 227 extern void sd_dif_config_host(struct scsi_disk *); 231 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host() 237 static inline int sd_is_zoned(struct scsi_disk *sdkp) in sd_is_zoned() 244 void sd_zbc_free_zone_info(struct scsi_disk *sdkp); 245 int sd_zbc_read_zones(struct scsi_disk *sdkp, u8 buf[SD_BUF_SIZE]); 246 int sd_zbc_revalidate_zones(struct scsi_disk *sdkp); 259 static inline void sd_zbc_free_zone_info(struct scsi_disk *sdkp) {} in sd_zbc_free_zone_info() [all …]
|
D | sd.c | 102 static void sd_config_discard(struct scsi_disk *, unsigned int); 103 static void sd_config_write_same(struct scsi_disk *); 119 static void sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer); 133 static void sd_set_flush_flag(struct scsi_disk *sdkp) in sd_set_flush_flag() 151 struct scsi_disk *sdkp = to_scsi_disk(dev); in cache_type_store() 219 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_show() 229 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_store() 248 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_show() 258 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_store() 279 struct scsi_disk *sdkp = to_scsi_disk(dev); in cache_type_show() [all …]
|
D | sd_zbc.c | 73 static int sd_zbc_parse_report(struct scsi_disk *sdkp, const u8 buf[64], in sd_zbc_parse_report() 141 static int sd_zbc_do_report_zones(struct scsi_disk *sdkp, unsigned char *buf, in sd_zbc_do_report_zones() 196 static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp, in sd_zbc_alloc_report_buffer() 235 static inline sector_t sd_zbc_zone_sectors(struct scsi_disk *sdkp) in sd_zbc_zone_sectors() 254 struct scsi_disk *sdkp = scsi_disk(disk); in sd_zbc_report_zones() 328 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_zbc_cmnd_checks() 351 struct scsi_disk *sdkp = data; in sd_zbc_update_wp_offset_cb() 366 struct scsi_disk *sdkp; in sd_zbc_update_wp_offset_workfn() 371 sdkp = container_of(work, struct scsi_disk, zone_wp_offset_work); in sd_zbc_update_wp_offset_workfn() 410 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_zbc_prepare_zone_append() [all …]
|
D | sd_dif.c | 27 void sd_dif_config_host(struct scsi_disk *sdkp) in sd_dif_config_host()
|
/linux-6.1.9/Documentation/scsi/ |
D | hpsa.rst | 90 /sys/class/scsi_disk/c:b:t:l/device/unique_id 91 /sys/class/scsi_disk/c:b:t:l/device/raid_level 92 /sys/class/scsi_disk/c:b:t:l/device/lunid 98 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat unique_id 100 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat lunid 102 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat raid_level
|
/linux-6.1.9/drivers/usb/storage/ |
D | transport.c | 527 struct scsi_disk *sdkp; in last_sector_hacks() 557 sdkp = scsi_disk(disk); in last_sector_hacks()
|