Lines Matching defs:sdkp

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() local
219 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_show() local
229 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_store() local
248 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_show() local
258 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_store() local
279 struct scsi_disk *sdkp = to_scsi_disk(dev); in cache_type_show() local
289 struct scsi_disk *sdkp = to_scsi_disk(dev); in FUA_show() local
299 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_type_show() local
308 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_type_store() local
331 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_mode_show() local
353 struct scsi_disk *sdkp = to_scsi_disk(dev); in app_tag_own_show() local
363 struct scsi_disk *sdkp = to_scsi_disk(dev); in thin_provisioning_show() local
383 struct scsi_disk *sdkp = to_scsi_disk(dev); in provisioning_mode_show() local
392 struct scsi_disk *sdkp = to_scsi_disk(dev); in provisioning_mode_store() local
429 struct scsi_disk *sdkp = to_scsi_disk(dev); in zeroing_mode_show() local
438 struct scsi_disk *sdkp = to_scsi_disk(dev); in zeroing_mode_store() local
458 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_medium_access_timeouts_show() local
468 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_medium_access_timeouts_store() local
484 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_write_same_blocks_show() local
493 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_write_same_blocks_store() local
525 struct scsi_disk *sdkp = to_scsi_disk(dev); in zoned_cap_show() local
541 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_retries_store() local
563 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_retries_show() local
664 struct scsi_disk *sdkp = data; in sd_sec_submit() local
782 static void sd_config_discard(struct scsi_disk *sdkp, unsigned int mode) in sd_config_discard()
838 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_unmap_cmnd() local
874 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_same16_cmnd() local
906 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_same10_cmnd() local
937 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_zeroes_cmnd() local
961 static void sd_config_write_same(struct scsi_disk *sdkp) in sd_config_write_same()
1024 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_flush_cmnd() local
1117 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_read_write_cmnd() local
1280 struct scsi_disk *sdkp) in sd_need_revalidate()
1312 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_open() local
1384 struct scsi_disk *sdkp = scsi_disk(disk); in sd_release() local
1399 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_getgeo() local
1440 struct scsi_disk *sdkp = scsi_disk(disk); in sd_ioctl() local
1467 static void set_media_not_present(struct scsi_disk *sdkp) in set_media_not_present()
1478 static int media_not_present(struct scsi_disk *sdkp, in media_not_present()
1508 struct scsi_disk *sdkp = disk->private_data; in sd_check_events() local
1574 static int sd_sync_cache(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) in sd_sync_cache()
1641 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_rescan() local
1707 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_pr_command() local
1780 struct scsi_disk *sdkp = scsi_disk(disk); in scsi_disk_free_disk() local
1814 struct scsi_disk *sdkp = scsi_disk(scsi_cmd_to_rq(scmd)->q->disk); in sd_eh_reset() local
1834 struct scsi_disk *sdkp = scsi_disk(scsi_cmd_to_rq(scmd)->q->disk); in sd_eh_action() local
1931 struct scsi_disk *sdkp = scsi_disk(req->q->disk); in sd_done() local
2043 sd_spinup_disk(struct scsi_disk *sdkp) in sd_spinup_disk()
2173 static int sd_read_protection_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_protection_type()
2198 static void sd_config_protection(struct scsi_disk *sdkp) in sd_config_protection()
2221 static void read_capacity_error(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_error()
2253 static int read_capacity_16(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_16()
2344 static int read_capacity_10(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_10()
2421 sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_capacity()
2520 sd_print_capacity(struct scsi_disk *sdkp, in sd_print_capacity()
2547 sd_do_mode_sense(struct scsi_disk *sdkp, int dbd, int modepage, in sd_do_mode_sense()
2568 sd_read_write_protect_flag(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_protect_flag()
2627 sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_cache_type()
2804 static void sd_read_app_tag_own(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_app_tag_own()
2850 static void sd_read_block_limits(struct scsi_disk *sdkp) in sd_read_block_limits()
2911 static void sd_read_block_characteristics(struct scsi_disk *sdkp) in sd_read_block_characteristics()
2969 static void sd_read_block_provisioning(struct scsi_disk *sdkp) in sd_read_block_provisioning()
2991 static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_same()
3024 static void sd_read_security(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_security()
3038 static inline sector_t sd64_to_sectors(struct scsi_disk *sdkp, u8 *buf) in sd64_to_sectors()
3047 static void sd_read_cpr(struct scsi_disk *sdkp) in sd_read_cpr()
3118 static bool sd_validate_min_xfer_size(struct scsi_disk *sdkp) in sd_validate_min_xfer_size()
3146 static bool sd_validate_opt_xfer_size(struct scsi_disk *sdkp, in sd_validate_opt_xfer_size()
3211 struct scsi_disk *sdkp = scsi_disk(disk); in sd_revalidate_disk() local
3423 struct scsi_disk *sdkp; in sd_probe() local
3571 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_remove() local
3585 struct scsi_disk *sdkp = to_scsi_disk(dev); in scsi_disk_release() local
3595 static int sd_start_stop_device(struct scsi_disk *sdkp, int start) in sd_start_stop_device()
3637 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_shutdown() local
3658 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_suspend_common() local
3715 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_resume() local
3741 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_resume_runtime() local
3847 void sd_print_sense_hdr(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) in sd_print_sense_hdr()
3853 void sd_print_result(const struct scsi_disk *sdkp, const char *msg, int result) in sd_print_result()