Lines Matching refs:scsi_host
318 fmr_param.pool_size = target->scsi_host->can_queue; in srp_alloc_fmr_pool()
444 target->scsi_host->can_queue, in srp_alloc_fr_pool()
544 shost_printk(KERN_WARNING, target->scsi_host, PFX in srp_create_ch_ib()
552 shost_printk(KERN_WARNING, target->scsi_host, PFX in srp_create_ch_ib()
663 shost_printk(KERN_ERR, target->scsi_host, in srp_path_rec_completion()
683 if (!scsi_host_get(target->scsi_host)) in srp_lookup_path()
709 shost_printk(KERN_WARNING, target->scsi_host, in srp_lookup_path()
713 scsi_host_put(target->scsi_host); in srp_lookup_path()
793 shost_printk(KERN_DEBUG, target->scsi_host, in srp_send_req()
837 shost_printk(KERN_DEBUG, target->scsi_host, in srp_disconnect_target()
944 srp_del_scsi_host_attr(target->scsi_host); in srp_remove_target()
946 srp_remove_host(target->scsi_host); in srp_remove_target()
947 scsi_remove_host(target->scsi_host); in srp_remove_target()
967 scsi_host_put(target->scsi_host); in srp_remove_target()
1043 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_connect_ch()
1092 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_unmap_data()
1180 struct Scsi_Host *shost = target->scsi_host; in srp_terminate_io()
1266 shost_printk(KERN_INFO, target->scsi_host, in srp_rport_reconnect()
1580 shost_printk(KERN_WARNING, target->scsi_host, in srp_map_data()
1652 shost_printk(KERN_ERR, target->scsi_host, in srp_map_data()
1809 shost_printk(KERN_ERR, target->scsi_host, in srp_process_rsp()
1815 scmnd = scsi_host_find_tag(target->scsi_host, rsp->tag); in srp_process_rsp()
1823 shost_printk(KERN_ERR, target->scsi_host, in srp_process_rsp()
1874 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_response_common()
1885 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_response_common()
1903 shost_printk(KERN_ERR, ch->target->scsi_host, PFX in srp_process_cred_req()
1917 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_process_aer_req()
1921 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_process_aer_req()
1939 shost_printk(KERN_ERR, target->scsi_host, in srp_handle_recv()
1960 shost_printk(KERN_WARNING, target->scsi_host, in srp_handle_recv()
1965 shost_printk(KERN_WARNING, target->scsi_host, in srp_handle_recv()
1975 shost_printk(KERN_ERR, target->scsi_host, in srp_handle_recv()
2007 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_handle_qp_err()
2011 shost_printk(KERN_ERR, target->scsi_host, PFX in srp_handle_qp_err()
2015 shost_printk(KERN_ERR, target->scsi_host, in srp_handle_qp_err()
2120 shost_printk(KERN_ERR, target->scsi_host, in srp_queuecommand()
2137 shost_printk(KERN_ERR, target->scsi_host, PFX "Send failed\n"); in srp_queuecommand()
2272 target->scsi_host->can_queue in srp_cm_rep_handler()
2274 target->scsi_host->can_queue); in srp_cm_rep_handler()
2275 target->scsi_host->cmd_per_lun in srp_cm_rep_handler()
2276 = min_t(int, target->scsi_host->can_queue, in srp_cm_rep_handler()
2277 target->scsi_host->cmd_per_lun); in srp_cm_rep_handler()
2279 shost_printk(KERN_WARNING, target->scsi_host, in srp_cm_rep_handler()
2338 struct Scsi_Host *shost = target->scsi_host; in srp_cm_rej_handler()
2424 shost_printk(KERN_DEBUG, target->scsi_host, in srp_cm_handler()
2436 shost_printk(KERN_DEBUG, target->scsi_host, PFX "REJ received\n"); in srp_cm_handler()
2443 shost_printk(KERN_WARNING, target->scsi_host, in srp_cm_handler()
2447 shost_printk(KERN_ERR, target->scsi_host, in srp_cm_handler()
2453 shost_printk(KERN_ERR, target->scsi_host, in srp_cm_handler()
2466 shost_printk(KERN_WARNING, target->scsi_host, in srp_cm_handler()
2565 shost_printk(KERN_ERR, target->scsi_host, "SRP abort called\n"); in srp_abort()
2576 shost_printk(KERN_ERR, target->scsi_host, in srp_abort()
2600 shost_printk(KERN_ERR, target->scsi_host, "SRP reset_device called\n"); in srp_reset_device()
2616 shost_printk(KERN_ERR, target->scsi_host, PFX "SRP reset_host called\n"); in srp_reset_host()
2856 if (scsi_add_host(target->scsi_host, host->srp_dev->dev->dma_device)) in srp_add_target()
2862 rport = srp_rport_add(target->scsi_host, &ids); in srp_add_target()
2864 scsi_remove_host(target->scsi_host); in srp_add_target()
2875 scsi_scan_target(&target->scsi_host->shost_gendev, in srp_add_target()
2880 shost_printk(KERN_INFO, target->scsi_host, in srp_add_target()
2887 dev_name(&target->scsi_host->shost_gendev), in srp_add_target()
2888 srp_sdev_count(target->scsi_host)); in srp_add_target()
3086 target->scsi_host->max_sectors = token; in srp_parse_options()
3094 target->scsi_host->can_queue = token; in srp_parse_options()
3098 target->scsi_host->cmd_per_lun = token; in srp_parse_options()
3107 target->scsi_host->cmd_per_lun = token; in srp_parse_options()
3195 if (target->scsi_host->cmd_per_lun > target->scsi_host->can_queue in srp_parse_options()
3198 target->scsi_host->cmd_per_lun, in srp_parse_options()
3199 target->scsi_host->can_queue); in srp_parse_options()
3234 target->scsi_host = target_host; in srp_create_target()
3248 scsi_host_get(target->scsi_host); in srp_create_target()
3259 shost_printk(KERN_INFO, target->scsi_host, in srp_create_target()
3336 shost_printk(KERN_ERR, target->scsi_host, in srp_create_target()
3357 target->scsi_host->nr_hw_queues = target->ch_count; in srp_create_target()
3364 shost_printk(KERN_DEBUG, target->scsi_host, PFX in srp_create_target()
3378 scsi_host_put(target->scsi_host); in srp_create_target()
3380 scsi_host_put(target->scsi_host); in srp_create_target()