Lines Matching refs:shost

603 	struct Scsi_Host  *shost = NULL;  in csio_shost_init()  local
614 shost = scsi_host_alloc( in csio_shost_init()
618 shost = scsi_host_alloc( in csio_shost_init()
622 if (!shost) in csio_shost_init()
625 ln = shost_priv(shost); in csio_shost_init()
629 ln->dev_num = (shost->host_no << 16); in csio_shost_init()
631 shost->can_queue = CSIO_MAX_QUEUE; in csio_shost_init()
632 shost->this_id = -1; in csio_shost_init()
633 shost->unique_id = shost->host_no; in csio_shost_init()
634 shost->max_cmd_len = 16; /* Max CDB length supported */ in csio_shost_init()
635 shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, in csio_shost_init()
637 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()
639 shost->transportt = csio_fcoe_transport; in csio_shost_init()
641 shost->transportt = csio_fcoe_transport_vport; in csio_shost_init()
651 if (scsi_add_host(shost, dev)) in csio_shost_init()
659 scsi_host_put(shost); in csio_shost_init()
672 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_shost_exit() local
676 fc_remove_host(shost); in csio_shost_exit()
679 scsi_remove_host(shost); in csio_shost_exit()
689 scsi_host_put(shost); in csio_shost_exit()
701 struct Scsi_Host *shost; in csio_lnodes_block_request() local
730 shost = csio_ln_to_shost(ln); in csio_lnodes_block_request()
731 scsi_block_requests(shost); in csio_lnodes_block_request()
741 struct Scsi_Host *shost; in csio_lnodes_unblock_request() local
769 shost = csio_ln_to_shost(ln); in csio_lnodes_unblock_request()
770 scsi_unblock_requests(shost); in csio_lnodes_unblock_request()
779 struct Scsi_Host *shost; in csio_lnodes_block_by_port() local
810 shost = csio_ln_to_shost(ln); in csio_lnodes_block_by_port()
811 scsi_block_requests(shost); in csio_lnodes_block_by_port()
820 struct Scsi_Host *shost; in csio_lnodes_unblock_by_port() local
850 shost = csio_ln_to_shost(ln); in csio_lnodes_unblock_by_port()
851 scsi_unblock_requests(shost); in csio_lnodes_unblock_by_port()
922 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_lnode_init_post() local
926 scsi_scan_host(shost); in csio_lnode_init_post()