Searched refs:scsi_disk (Results 1 – 4 of 4) sorted by relevance
101 static void sd_config_discard(struct scsi_disk *, unsigned int);102 static void sd_config_write_same(struct scsi_disk *);113 static void sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer);115 static void sd_print_sense_hdr(struct scsi_disk *, struct scsi_sense_hdr *);116 static void sd_print_result(struct scsi_disk *, int);139 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_cache_type()205 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_manage_start_stop()220 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_allow_restart()238 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_cache_type()247 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_fua()[all …]
56 struct scsi_disk { struct89 #define to_scsi_disk(obj) container_of(obj,struct scsi_disk,dev) argument91 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() function93 return container_of(disk->private_data, struct scsi_disk, driver); in scsi_disk()166 extern void sd_dif_config_host(struct scsi_disk *);172 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
301 void sd_dif_config_host(struct scsi_disk *sdkp) in sd_dif_config_host()366 struct scsi_disk *sdkp; in sd_dif_prepare()414 struct scsi_disk *sdkp; in sd_dif_complete()420 sdkp = scsi_disk(scmd->request->rq_disk); in sd_dif_complete()
525 struct scsi_disk *sdkp; in last_sector_hacks()554 sdkp = scsi_disk(disk); in last_sector_hacks()