Lines Matching refs:target_host
3634 struct Scsi_Host *target_host; in add_target_store() local
3644 target_host = scsi_host_alloc(&srp_template, in add_target_store()
3646 if (!target_host) in add_target_store()
3649 target_host->transportt = ib_srp_transport_template; in add_target_store()
3650 target_host->max_channel = 0; in add_target_store()
3651 target_host->max_id = 1; in add_target_store()
3652 target_host->max_lun = -1LL; in add_target_store()
3653 target_host->max_cmd_len = sizeof ((struct srp_cmd *) (void *) 0L)->cdb; in add_target_store()
3654 target_host->max_segment_size = ib_dma_max_seg_size(ibdev); in add_target_store()
3657 target_host->virt_boundary_mask = ~srp_dev->mr_page_mask; in add_target_store()
3659 target = host_to_target(target_host); in add_target_store()
3663 target->scsi_host = target_host; in add_target_store()
3745 target_host->sg_tablesize = target->sg_tablesize; in add_target_store()