Lines Matching refs:vtarget

429 	VirtTarget		*vtarget;  in mptfc_register_dev()  local
472 vtarget = ri->starget->hostdata; in mptfc_register_dev()
473 if (vtarget) { in mptfc_register_dev()
474 vtarget->id = pg0->CurrentTargetID; in mptfc_register_dev()
475 vtarget->channel = pg0->CurrentBus; in mptfc_register_dev()
476 vtarget->deleted = 0; in mptfc_register_dev()
532 VirtTarget *vtarget; in mptfc_target_alloc() local
537 vtarget = kzalloc(sizeof(VirtTarget), GFP_KERNEL); in mptfc_target_alloc()
538 if (!vtarget) in mptfc_target_alloc()
540 starget->hostdata = vtarget; in mptfc_target_alloc()
547 vtarget->id = ri->pg0.CurrentTargetID; in mptfc_target_alloc()
548 vtarget->channel = ri->pg0.CurrentBus; in mptfc_target_alloc()
554 kfree(vtarget); in mptfc_target_alloc()
569 VirtTarget *vtarget) in mptfc_dump_lun_info() argument
582 vtarget->num_luns, in mptfc_dump_lun_info()
600 VirtTarget *vtarget; in mptfc_slave_alloc() local
624 vtarget = starget->hostdata; in mptfc_slave_alloc()
626 if (vtarget->num_luns == 0) { in mptfc_slave_alloc()
627 vtarget->ioc_id = ioc->id; in mptfc_slave_alloc()
628 vtarget->tflags = MPT_TARGET_FLAGS_Q_YES; in mptfc_slave_alloc()
631 vdevice->vtarget = vtarget; in mptfc_slave_alloc()
634 vtarget->num_luns++; in mptfc_slave_alloc()
637 mptfc_dump_lun_info(ioc, rport, sdev, vtarget); in mptfc_slave_alloc()
650 if (!vdevice || !vdevice->vtarget) { in mptfc_qcmd()
1087 VirtTarget *vtarget; in mptfc_setup_reset() local
1097 vtarget = starget->hostdata; in mptfc_setup_reset()
1098 if (vtarget) in mptfc_setup_reset()
1099 vtarget->deleted = 1; in mptfc_setup_reset()
1122 VirtTarget *vtarget; in mptfc_rescan_devices() local
1152 vtarget = starget->hostdata; in mptfc_rescan_devices()
1153 if (vtarget) in mptfc_rescan_devices()
1154 vtarget->deleted = 1; in mptfc_rescan_devices()