scsi_disk 107 drivers/scsi/sd.c static void sd_config_discard(struct scsi_disk *, unsigned int); scsi_disk 108 drivers/scsi/sd.c static void sd_config_write_same(struct scsi_disk *); scsi_disk 123 drivers/scsi/sd.c static void sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer); scsi_disk 125 drivers/scsi/sd.c static void sd_print_sense_hdr(struct scsi_disk *, struct scsi_sense_hdr *); scsi_disk 126 drivers/scsi/sd.c static void sd_print_result(const struct scsi_disk *, const char *, int); scsi_disk 144 drivers/scsi/sd.c static void sd_set_flush_flag(struct scsi_disk *sdkp) scsi_disk 162 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 230 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 240 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 259 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 269 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 290 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 300 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 310 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 319 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 342 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 364 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 374 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 394 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 403 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 440 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 449 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 469 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 479 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 495 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 504 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 623 drivers/scsi/sd.c static struct scsi_disk *scsi_disk_get(struct gendisk *disk) scsi_disk 625 drivers/scsi/sd.c struct scsi_disk *sdkp = NULL; scsi_disk 630 drivers/scsi/sd.c sdkp = scsi_disk(disk); scsi_disk 640 drivers/scsi/sd.c static void scsi_disk_put(struct scsi_disk *sdkp) scsi_disk 770 drivers/scsi/sd.c static void sd_config_discard(struct scsi_disk *sdkp, unsigned int mode) scsi_disk 924 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); scsi_disk 946 drivers/scsi/sd.c static void sd_config_write_same(struct scsi_disk *sdkp) scsi_disk 1019 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); scsi_disk 1165 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); scsi_disk 1272 drivers/scsi/sd.c switch (scsi_disk(rq->rq_disk)->provisioning_mode) { scsi_disk 1336 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk_get(bdev->bd_disk); scsi_disk 1410 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(disk); scsi_disk 1425 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); scsi_disk 1466 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(disk); scsi_disk 1513 drivers/scsi/sd.c static void set_media_not_present(struct scsi_disk *sdkp) scsi_disk 1524 drivers/scsi/sd.c static int media_not_present(struct scsi_disk *sdkp, scsi_disk 1554 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk_get(disk); scsi_disk 1620 drivers/scsi/sd.c static int sd_sync_cache(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) scsi_disk 1683 drivers/scsi/sd.c struct scsi_disk *sdkp = dev_get_drvdata(dev); scsi_disk 1698 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(disk); scsi_disk 1747 drivers/scsi/sd.c struct scsi_device *sdev = scsi_disk(bdev->bd_disk)->device; scsi_disk 1847 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(scmd->request->rq_disk); scsi_disk 1867 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(scmd->request->rq_disk); scsi_disk 1963 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(SCpnt->request->rq_disk); scsi_disk 2074 drivers/scsi/sd.c sd_spinup_disk(struct scsi_disk *sdkp) scsi_disk 2199 drivers/scsi/sd.c static int sd_read_protection_type(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 2239 drivers/scsi/sd.c static void read_capacity_error(struct scsi_disk *sdkp, struct scsi_device *sdp, scsi_disk 2271 drivers/scsi/sd.c static int read_capacity_16(struct scsi_disk *sdkp, struct scsi_device *sdp, scsi_disk 2362 drivers/scsi/sd.c static int read_capacity_10(struct scsi_disk *sdkp, struct scsi_device *sdp, scsi_disk 2439 drivers/scsi/sd.c sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 2538 drivers/scsi/sd.c sd_print_capacity(struct scsi_disk *sdkp, scsi_disk 2581 drivers/scsi/sd.c sd_read_write_protect_flag(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 2640 drivers/scsi/sd.c sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 2816 drivers/scsi/sd.c static void sd_read_app_tag_own(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 2862 drivers/scsi/sd.c static void sd_read_block_limits(struct scsi_disk *sdkp) scsi_disk 2926 drivers/scsi/sd.c static void sd_read_block_characteristics(struct scsi_disk *sdkp) scsi_disk 2974 drivers/scsi/sd.c static void sd_read_block_provisioning(struct scsi_disk *sdkp) scsi_disk 2996 drivers/scsi/sd.c static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 3027 drivers/scsi/sd.c static void sd_read_security(struct scsi_disk *sdkp, unsigned char *buffer) scsi_disk 3046 drivers/scsi/sd.c static bool sd_validate_opt_xfer_size(struct scsi_disk *sdkp, scsi_disk 3100 drivers/scsi/sd.c struct scsi_disk *sdkp = scsi_disk(disk); scsi_disk 3216 drivers/scsi/sd.c struct scsi_device *sdev = scsi_disk(disk)->device; scsi_disk 3289 drivers/scsi/sd.c struct scsi_disk *sdkp; scsi_disk 3428 drivers/scsi/sd.c struct scsi_disk *sdkp; scsi_disk 3464 drivers/scsi/sd.c struct scsi_disk *sdkp = to_scsi_disk(dev); scsi_disk 3488 drivers/scsi/sd.c static int sd_start_stop_device(struct scsi_disk *sdkp, int start) scsi_disk 3530 drivers/scsi/sd.c struct scsi_disk *sdkp = dev_get_drvdata(dev); scsi_disk 3551 drivers/scsi/sd.c struct scsi_disk *sdkp = dev_get_drvdata(dev); scsi_disk 3603 drivers/scsi/sd.c struct scsi_disk *sdkp = dev_get_drvdata(dev); scsi_disk 3718 drivers/scsi/sd.c static void sd_print_sense_hdr(struct scsi_disk *sdkp, scsi_disk 3725 drivers/scsi/sd.c static void sd_print_result(const struct scsi_disk *sdkp, const char *msg, scsi_disk 120 drivers/scsi/sd.h #define to_scsi_disk(obj) container_of(obj,struct scsi_disk,dev) scsi_disk 122 drivers/scsi/sd.h static inline struct scsi_disk *scsi_disk(struct gendisk *disk) scsi_disk 124 drivers/scsi/sd.h return container_of(disk->private_data, struct scsi_disk, driver); scsi_disk 193 drivers/scsi/sd.h extern void sd_dif_config_host(struct scsi_disk *); scsi_disk 197 drivers/scsi/sd.h static inline void sd_dif_config_host(struct scsi_disk *disk) scsi_disk 203 drivers/scsi/sd.h static inline int sd_is_zoned(struct scsi_disk *sdkp) scsi_disk 210 drivers/scsi/sd.h extern int sd_zbc_read_zones(struct scsi_disk *sdkp, unsigned char *buffer); scsi_disk 211 drivers/scsi/sd.h extern void sd_zbc_print_zones(struct scsi_disk *sdkp); scsi_disk 220 drivers/scsi/sd.h static inline int sd_zbc_read_zones(struct scsi_disk *sdkp, scsi_disk 226 drivers/scsi/sd.h static inline void sd_zbc_print_zones(struct scsi_disk *sdkp) {} scsi_disk 27 drivers/scsi/sd_dif.c void sd_dif_config_host(struct scsi_disk *sdkp) scsi_disk 30 drivers/scsi/sd_zbc.c static void sd_zbc_parse_report(struct scsi_disk *sdkp, u8 *buf, scsi_disk 66 drivers/scsi/sd_zbc.c static int sd_zbc_do_report_zones(struct scsi_disk *sdkp, unsigned char *buf, scsi_disk 125 drivers/scsi/sd_zbc.c static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp, scsi_disk 166 drivers/scsi/sd_zbc.c struct scsi_disk *sdkp = scsi_disk(disk); scsi_disk 204 drivers/scsi/sd_zbc.c static inline sector_t sd_zbc_zone_sectors(struct scsi_disk *sdkp) scsi_disk 219 drivers/scsi/sd_zbc.c struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); scsi_disk 286 drivers/scsi/sd_zbc.c static int sd_zbc_check_zoned_characteristics(struct scsi_disk *sdkp, scsi_disk 338 drivers/scsi/sd_zbc.c static int sd_zbc_check_zones(struct scsi_disk *sdkp, u32 *zblocks) scsi_disk 456 drivers/scsi/sd_zbc.c int sd_zbc_read_zones(struct scsi_disk *sdkp, unsigned char *buf) scsi_disk 524 drivers/scsi/sd_zbc.c void sd_zbc_print_zones(struct scsi_disk *sdkp) scsi_disk 522 drivers/usb/storage/transport.c struct scsi_disk *sdkp; scsi_disk 552 drivers/usb/storage/transport.c sdkp = scsi_disk(disk);