Home
last modified time | relevance | path

Searched refs:scsi_disk (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/scsi/
Dsd.h84 struct scsi_disk { struct
155 #define to_scsi_disk(obj) container_of(obj, struct scsi_disk, disk_dev) argument
157 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() function
228 extern void sd_dif_config_host(struct scsi_disk *);
232 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
238 static inline int sd_is_zoned(struct scsi_disk *sdkp) in sd_is_zoned()
245 void sd_zbc_free_zone_info(struct scsi_disk *sdkp);
246 int sd_zbc_read_zones(struct scsi_disk *sdkp, u8 buf[SD_BUF_SIZE]);
247 int sd_zbc_revalidate_zones(struct scsi_disk *sdkp);
260 static inline void sd_zbc_free_zone_info(struct scsi_disk *sdkp) {} in sd_zbc_free_zone_info()
[all …]
Dsd.c103 static void sd_config_discard(struct scsi_disk *, unsigned int);
104 static void sd_config_write_same(struct scsi_disk *);
108 static void sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer);
121 static void sd_set_flush_flag(struct scsi_disk *sdkp) in sd_set_flush_flag()
139 struct scsi_disk *sdkp = to_scsi_disk(dev); in cache_type_store()
207 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_show()
221 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_system_start_stop_show()
232 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_system_start_stop_store()
252 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_runtime_start_stop_show()
263 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_runtime_start_stop_store()
[all …]
Dsd_zbc.c76 static int sd_zbc_parse_report(struct scsi_disk *sdkp, const u8 buf[64], in sd_zbc_parse_report()
144 static int sd_zbc_do_report_zones(struct scsi_disk *sdkp, unsigned char *buf, in sd_zbc_do_report_zones()
201 static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp, in sd_zbc_alloc_report_buffer()
240 static inline sector_t sd_zbc_zone_sectors(struct scsi_disk *sdkp) in sd_zbc_zone_sectors()
259 struct scsi_disk *sdkp = scsi_disk(disk); in sd_zbc_report_zones()
333 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_zbc_cmnd_checks()
356 struct scsi_disk *sdkp = data; in sd_zbc_update_wp_offset_cb()
371 struct scsi_disk *sdkp; in sd_zbc_update_wp_offset_workfn()
376 sdkp = container_of(work, struct scsi_disk, zone_wp_offset_work); in sd_zbc_update_wp_offset_workfn()
415 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_zbc_prepare_zone_append()
[all …]
Dsd_dif.c27 void sd_dif_config_host(struct scsi_disk *sdkp) in sd_dif_config_host()
/Linux-v6.6/Documentation/scsi/
Dhpsa.rst90 /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-v6.6/drivers/usb/storage/
Dtransport.c527 struct scsi_disk *sdkp; in last_sector_hacks()
557 sdkp = scsi_disk(disk); in last_sector_hacks()