• Home
  • Raw
  • Download

Lines Matching refs:scsi_disk

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()
256 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_manage_start_stop()
266 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_allow_restart()
275 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_protection_type()
284 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_protection_type()
306 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_protection_mode()
328 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_app_tag_own()
337 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_thin_provisioning()
355 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_provisioning_mode()
364 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_provisioning_mode()
393 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_max_medium_access_timeouts()
403 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_max_medium_access_timeouts()
418 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_show_write_same_blocks()
427 struct scsi_disk *sdkp = to_scsi_disk(dev); in sd_store_write_same_blocks()
535 static struct scsi_disk *__scsi_disk_get(struct gendisk *disk) in __scsi_disk_get()
537 struct scsi_disk *sdkp = NULL; in __scsi_disk_get()
540 sdkp = scsi_disk(disk); in __scsi_disk_get()
549 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) in scsi_disk_get()
551 struct scsi_disk *sdkp; in scsi_disk_get()
559 static struct scsi_disk *scsi_disk_get_from_dev(struct device *dev) in scsi_disk_get_from_dev()
561 struct scsi_disk *sdkp; in scsi_disk_get_from_dev()
571 static void scsi_disk_put(struct scsi_disk *sdkp) in scsi_disk_put()
606 static void sd_config_discard(struct scsi_disk *sdkp, unsigned int mode) in sd_config_discard()
664 struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); in sd_setup_discard_cmnd()
739 static void sd_config_write_same(struct scsi_disk *sdkp) in sd_config_write_same()
779 struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); in sd_setup_write_same_cmnd()
847 struct scsi_disk *sdkp; in sd_prep_fn()
878 sdkp = scsi_disk(disk); in sd_prep_fn()
1128 struct scsi_disk *sdkp = scsi_disk_get(bdev->bd_disk); in sd_open()
1202 struct scsi_disk *sdkp = scsi_disk(disk); in sd_release()
1222 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_getgeo()
1262 struct scsi_disk *sdkp = scsi_disk(disk); in sd_ioctl()
1306 static void set_media_not_present(struct scsi_disk *sdkp) in set_media_not_present()
1317 static int media_not_present(struct scsi_disk *sdkp, in media_not_present()
1347 struct scsi_disk *sdkp = scsi_disk(disk); in sd_check_events()
1411 static int sd_sync_cache(struct scsi_disk *sdkp) in sd_sync_cache()
1449 struct scsi_disk *sdkp = scsi_disk_get_from_dev(dev); in sd_rescan()
1466 struct scsi_device *sdev = scsi_disk(bdev->bd_disk)->device; in sd_compat_ioctl()
1525 struct scsi_disk *sdkp = scsi_disk(scmd->request->rq_disk); in sd_eh_action()
1619 struct scsi_disk *sdkp = scsi_disk(SCpnt->request->rq_disk); in sd_done()
1732 sd_spinup_disk(struct scsi_disk *sdkp) in sd_spinup_disk()
1856 static int sd_read_protection_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_protection_type()
1894 static void read_capacity_error(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_error()
1927 static int read_capacity_16(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_16()
2023 static int read_capacity_10(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_10()
2108 sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_capacity()
2250 sd_read_write_protect_flag(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_protect_flag()
2311 sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_cache_type()
2478 static void sd_read_app_tag_own(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_app_tag_own()
2524 static void sd_read_block_limits(struct scsi_disk *sdkp) in sd_read_block_limits()
2588 static void sd_read_block_characteristics(struct scsi_disk *sdkp) in sd_read_block_characteristics()
2616 static void sd_read_block_provisioning(struct scsi_disk *sdkp) in sd_read_block_provisioning()
2638 static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_same()
2664 struct scsi_disk *sdkp = scsi_disk(disk); in sd_revalidate_disk()
2743 struct scsi_device *sdev = scsi_disk(disk)->device; in sd_unlock_native_capacity()
2800 struct scsi_disk *sdkp = data; in sd_probe_async()
2877 struct scsi_disk *sdkp; in sd_probe()
2974 struct scsi_disk *sdkp; in sd_remove()
3005 struct scsi_disk *sdkp = to_scsi_disk(dev); in scsi_disk_release()
3019 static int sd_start_stop_device(struct scsi_disk *sdkp, int start) in sd_start_stop_device()
3054 struct scsi_disk *sdkp = scsi_disk_get_from_dev(dev); in sd_shutdown()
3078 struct scsi_disk *sdkp = scsi_disk_get_from_dev(dev); in sd_suspend()
3103 struct scsi_disk *sdkp = scsi_disk_get_from_dev(dev); in sd_resume()
3197 static void sd_print_sense_hdr(struct scsi_disk *sdkp, in sd_print_sense_hdr()
3206 static void sd_print_result(struct scsi_disk *sdkp, int result) in sd_print_result()