Lines Matching defs:sdkp

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() local
207 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_start_stop_show() local
221 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_system_start_stop_show() local
232 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_system_start_stop_store() local
252 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_runtime_start_stop_show() local
263 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_runtime_start_stop_store() local
282 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_shutdown_show() local
292 struct scsi_disk *sdkp = to_scsi_disk(dev); in manage_shutdown_store() local
311 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_show() local
321 struct scsi_disk *sdkp = to_scsi_disk(dev); in allow_restart_store() local
342 struct scsi_disk *sdkp = to_scsi_disk(dev); in cache_type_show() local
352 struct scsi_disk *sdkp = to_scsi_disk(dev); in FUA_show() local
362 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_type_show() local
371 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_type_store() local
394 struct scsi_disk *sdkp = to_scsi_disk(dev); in protection_mode_show() local
416 struct scsi_disk *sdkp = to_scsi_disk(dev); in app_tag_own_show() local
426 struct scsi_disk *sdkp = to_scsi_disk(dev); in thin_provisioning_show() local
446 struct scsi_disk *sdkp = to_scsi_disk(dev); in provisioning_mode_show() local
455 struct scsi_disk *sdkp = to_scsi_disk(dev); in provisioning_mode_store() local
492 struct scsi_disk *sdkp = to_scsi_disk(dev); in zeroing_mode_show() local
501 struct scsi_disk *sdkp = to_scsi_disk(dev); in zeroing_mode_store() local
521 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_medium_access_timeouts_show() local
531 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_medium_access_timeouts_store() local
547 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_write_same_blocks_show() local
556 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_write_same_blocks_store() local
588 struct scsi_disk *sdkp = to_scsi_disk(dev); in zoned_cap_show() local
604 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_retries_store() local
626 struct scsi_disk *sdkp = to_scsi_disk(dev); in max_retries_show() local
702 struct scsi_disk *sdkp = data; in sd_sec_submit() local
823 static void sd_config_discard(struct scsi_disk *sdkp, unsigned int mode) in sd_config_discard()
892 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_unmap_cmnd() local
923 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_same16_cmnd() local
950 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_same10_cmnd() local
976 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_write_zeroes_cmnd() local
1000 static void sd_config_write_same(struct scsi_disk *sdkp) in sd_config_write_same()
1063 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_flush_cmnd() local
1163 static int sd_cdl_dld(struct scsi_disk *sdkp, struct scsi_cmnd *scmd) in sd_cdl_dld()
1187 struct scsi_disk *sdkp = scsi_disk(rq->q->disk); in sd_setup_read_write_cmnd() local
1351 static bool sd_need_revalidate(struct gendisk *disk, struct scsi_disk *sdkp) in sd_need_revalidate()
1383 struct scsi_disk *sdkp = scsi_disk(disk); in sd_open() local
1455 struct scsi_disk *sdkp = scsi_disk(disk); in sd_release() local
1470 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_getgeo() local
1511 struct scsi_disk *sdkp = scsi_disk(disk); in sd_ioctl() local
1538 static void set_media_not_present(struct scsi_disk *sdkp) in set_media_not_present()
1549 static int media_not_present(struct scsi_disk *sdkp, in media_not_present()
1579 struct scsi_disk *sdkp = disk->private_data; in sd_check_events() local
1645 static int sd_sync_cache(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) in sd_sync_cache()
1718 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_rescan() local
1794 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_pr_in_command() local
1853 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_pr_read_reservation() local
1883 struct scsi_disk *sdkp = scsi_disk(bdev->bd_disk); in sd_pr_out_command() local
1967 struct scsi_disk *sdkp = scsi_disk(disk); in scsi_disk_free_disk() local
2001 struct scsi_disk *sdkp = scsi_disk(scsi_cmd_to_rq(scmd)->q->disk); in sd_eh_reset() local
2021 struct scsi_disk *sdkp = scsi_disk(scsi_cmd_to_rq(scmd)->q->disk); in sd_eh_action() local
2118 struct scsi_disk *sdkp = scsi_disk(req->q->disk); in sd_done() local
2230 sd_spinup_disk(struct scsi_disk *sdkp) in sd_spinup_disk()
2364 static int sd_read_protection_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_protection_type()
2389 static void sd_config_protection(struct scsi_disk *sdkp) in sd_config_protection()
2409 static void read_capacity_error(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_error()
2441 static int read_capacity_16(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_16()
2535 static int read_capacity_10(struct scsi_disk *sdkp, struct scsi_device *sdp, in read_capacity_10()
2615 sd_read_capacity(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_capacity()
2714 sd_print_capacity(struct scsi_disk *sdkp, in sd_print_capacity()
2741 sd_do_mode_sense(struct scsi_disk *sdkp, int dbd, int modepage, in sd_do_mode_sense()
2761 sd_read_write_protect_flag(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_protect_flag()
2820 sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_cache_type()
2997 static void sd_read_app_tag_own(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_app_tag_own()
3043 static void sd_read_block_limits(struct scsi_disk *sdkp) in sd_read_block_limits()
3104 static void sd_read_block_characteristics(struct scsi_disk *sdkp) in sd_read_block_characteristics()
3167 static void sd_read_block_provisioning(struct scsi_disk *sdkp) in sd_read_block_provisioning()
3189 static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_write_same()
3222 static void sd_read_security(struct scsi_disk *sdkp, unsigned char *buffer) in sd_read_security()
3236 static inline sector_t sd64_to_sectors(struct scsi_disk *sdkp, u8 *buf) in sd64_to_sectors()
3245 static void sd_read_cpr(struct scsi_disk *sdkp) in sd_read_cpr()
3316 static bool sd_validate_min_xfer_size(struct scsi_disk *sdkp) in sd_validate_min_xfer_size()
3344 static bool sd_validate_opt_xfer_size(struct scsi_disk *sdkp, in sd_validate_opt_xfer_size()
3409 struct scsi_disk *sdkp = scsi_disk(disk); in sd_revalidate_disk() local
3621 struct scsi_disk *sdkp; in sd_probe() local
3769 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_remove() local
3784 struct scsi_disk *sdkp = to_scsi_disk(dev); in scsi_disk_release() local
3794 static int sd_start_stop_device(struct scsi_disk *sdkp, int start) in sd_start_stop_device()
3840 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_shutdown() local
3870 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_suspend_common() local
3930 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_resume() local
3964 struct scsi_disk *sdkp = dev_get_drvdata(dev); in sd_resume_runtime() local
4087 void sd_print_sense_hdr(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) in sd_print_sense_hdr()
4093 void sd_print_result(const struct scsi_disk *sdkp, const char *msg, int result) in sd_print_result()