Lines Matching defs:sdev
28 static int bfad_im_slave_alloc(struct scsi_device *sdev);
410 bfad_im_slave_destroy(struct scsi_device *sdev)
412 sdev->hostdata = NULL;
787 bfad_im_slave_configure(struct scsi_device *sdev)
789 scsi_change_queue_depth(sdev, bfa_lun_queue_depth);
869 bfad_ramp_up_qdepth(struct bfad_itnim_s *itnim, struct scsi_device *sdev)
877 shost_for_each_device(tmp_sdev, sdev->host) {
879 if (tmp_sdev->id != sdev->id)
891 bfad_handle_qfull(struct bfad_itnim_s *itnim, struct scsi_device *sdev)
897 shost_for_each_device(tmp_sdev, sdev->host) {
898 if (tmp_sdev->id != sdev->id)
927 bfad_im_check_if_make_lun_visible(struct scsi_device *sdev,
939 scsilun_to_int(&lun_list[i].lun) == sdev->lun &&
953 bfad_im_slave_alloc(struct scsi_device *sdev)
955 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
970 if (sdev->lun == 0) {
971 sdev->sdev_bflags |= BLIST_NOREPORTLUN |
980 if (bfad_im_check_if_make_lun_visible(sdev, rport) !=
985 sdev->hostdata = rport->dd_data;