Home
last modified time | relevance | path

Searched refs:s_lun (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c99 sp->s_lun = kmem_zalloc(sp->s_nluns * sizeof (scsa1394_lun_t), in scsa1394_sbp2_attach()
103 lp = &sp->s_lun[i]; in scsa1394_sbp2_attach()
126 lp = &sp->s_lun[i]; in scsa1394_sbp2_detach()
132 kmem_free(sp->s_lun, sp->s_nluns * sizeof (scsa1394_lun_t)); in scsa1394_sbp2_detach()
251 lp = &sp->s_lun[i]; in scsa1394_sbp2_threads_init()
281 lp = &sp->s_lun[i]; in scsa1394_sbp2_threads_fini()
304 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_login()
318 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_logout()
329 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_req()
440 scsa1394_lun_t *lp = &sp->s_lun[0]; in scsa1394_sbp2_disconnect()
H A Dhba.c438 lp = &sp->s_lun[i]; in scsa1394_cpr_resume()
811 dtype = scsa1394_sbp2_get_lun_type(&sp->s_lun[i]); in scsa1394_create_children()
998 if ((lun >= sp->s_nluns) || (sp->s_lun[lun].l_cdip != NULL) || in scsa1394_scsi_tgt_init()
1004 sp->s_lun[lun].l_cdip = cdip; in scsa1394_scsi_tgt_init()
1028 if ((lun < sp->s_nluns) && (sp->s_lun[lun].l_cdip == cdip)) { in scsa1394_scsi_tgt_free()
1032 sp->s_lun[lun].l_cdip = NULL; in scsa1394_scsi_tgt_free()
1047 lp = &sp->s_lun[sd->sd_address.a_lun]; in scsa1394_scsi_tgt_probe()
1147 lp = &sp->s_lun[0]; in scsa1394_scsi_reset()
1150 lp = &sp->s_lun[ap->a_lun]; in scsa1394_scsi_reset()
1290 lp = &sp->s_lun[ap->a_lun]; in scsa1394_scsi_init_pkt()
/illumos-gate/usr/src/uts/common/sys/1394/targets/scsa1394/
H A Dimpl.h187 scsa1394_lun_t *s_lun; /* logical units */ member
201 s_nluns s_lun s_cmd_cache s_taskq s_symbios s_targetinfo
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Ddriver.h161 struct sbp2_lun *s_lun; /* unit we belong to */ member
181 s_tgt s_lun s_id s_agent_offset s_agent s_status_fifo_buf s_status_cb
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dsbp2.c734 sp->s_lun = lp; in sbp2_ses_init()
764 sbp2_tgt_t *tp = sp->s_lun->l_tgt; in sbp2_ses_fini()
780 sbp2_lun_t *lp = sp->s_lun; in sbp2_ses_reconnect()
815 sbp2_lun_t *lp = sp->s_lun; in sbp2_ses_reconnect_orb()
884 if (!sbp2_lun_accepting_tasks(sp->s_lun)) { in sbp2_ses_submit_task()
1184 sbp2_task_orb_sync(sp->s_lun, task, DDI_DMA_SYNC_FORDEV); in sbp2_ses_reset_pending_tasks()
1203 sbp2_lun_t *lp = sp->s_lun; in sbp2_ses_abort_task()
1224 sbp2_lun_t *lp = sp->s_lun; in sbp2_ses_abort_task_set()