Lines Matching refs:sdev
35 static int bfad_im_slave_alloc(struct scsi_device *sdev);
402 bfad_im_slave_destroy(struct scsi_device *sdev) in bfad_im_slave_destroy() argument
404 sdev->hostdata = NULL; in bfad_im_slave_destroy()
777 bfad_im_slave_configure(struct scsi_device *sdev) in bfad_im_slave_configure() argument
779 scsi_change_queue_depth(sdev, bfa_lun_queue_depth); in bfad_im_slave_configure()
857 bfad_ramp_up_qdepth(struct bfad_itnim_s *itnim, struct scsi_device *sdev) in bfad_ramp_up_qdepth() argument
865 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_ramp_up_qdepth()
867 if (tmp_sdev->id != sdev->id) in bfad_ramp_up_qdepth()
879 bfad_handle_qfull(struct bfad_itnim_s *itnim, struct scsi_device *sdev) in bfad_handle_qfull() argument
885 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_handle_qfull()
886 if (tmp_sdev->id != sdev->id) in bfad_handle_qfull()
915 bfad_im_check_if_make_lun_visible(struct scsi_device *sdev, in bfad_im_check_if_make_lun_visible() argument
927 scsilun_to_int(&lun_list[i].lun) == sdev->lun && in bfad_im_check_if_make_lun_visible()
941 bfad_im_slave_alloc(struct scsi_device *sdev) in bfad_im_slave_alloc() argument
943 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in bfad_im_slave_alloc()
958 if (sdev->lun == 0) { in bfad_im_slave_alloc()
959 sdev->sdev_bflags |= BLIST_NOREPORTLUN | in bfad_im_slave_alloc()
968 if (bfad_im_check_if_make_lun_visible(sdev, rport) != in bfad_im_slave_alloc()
973 sdev->hostdata = rport->dd_data; in bfad_im_slave_alloc()