Lines Matching refs:notify
312 isp_notify_t notify; in isp_target_async() local
314 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_target_async()
315 notify.nt_hba = isp; in isp_target_async()
316 notify.nt_wwn = INI_ANY; in isp_target_async()
317 notify.nt_nphdl = NIL_HANDLE; in isp_target_async()
318 notify.nt_sid = PORT_ANY; in isp_target_async()
319 notify.nt_did = PORT_ANY; in isp_target_async()
320 notify.nt_tgt = TGT_ANY; in isp_target_async()
321 notify.nt_channel = bus; in isp_target_async()
322 notify.nt_lun = LUN_ANY; in isp_target_async()
323 notify.nt_tagval = TAG_ANY; in isp_target_async()
324 notify.nt_tagval |= (((uint64_t)(isp->isp_serno++)) << 32); in isp_target_async()
330 notify.nt_ncode = NT_LINK_UP; in isp_target_async()
331 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
335 notify.nt_ncode = NT_LINK_DOWN; in isp_target_async()
336 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
343 notify.nt_ncode = NT_LIP_RESET; in isp_target_async()
344 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
355 isp_notify_t notify; in isp_got_tmf_24xx() local
362 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_got_tmf_24xx()
363 notify.nt_hba = isp; in isp_got_tmf_24xx()
364 notify.nt_wwn = INI_ANY; in isp_got_tmf_24xx()
365 notify.nt_lun = CAM_EXTLUN_BYTE_SWIZZLE(be64dec(aep->at_cmnd.fcp_cmnd_lun)); in isp_got_tmf_24xx()
366 notify.nt_tagval = aep->at_rxid; in isp_got_tmf_24xx()
367 notify.nt_tagval |= (((uint64_t)(isp->isp_serno++)) << 32); in isp_got_tmf_24xx()
368 notify.nt_lreserved = aep; in isp_got_tmf_24xx()
386 notify.nt_nphdl = lp->handle; in isp_got_tmf_24xx()
388 notify.nt_nphdl = NIL_HANDLE; in isp_got_tmf_24xx()
389 notify.nt_sid = sid; in isp_got_tmf_24xx()
390 notify.nt_did = did; in isp_got_tmf_24xx()
391 notify.nt_channel = chan; in isp_got_tmf_24xx()
393 isp_prt(isp, ISP_LOGINFO, f1, "QUERY TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
394 notify.nt_ncode = NT_QUERY_TASK_SET; in isp_got_tmf_24xx()
396 isp_prt(isp, ISP_LOGINFO, f1, "ABORT TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
397 notify.nt_ncode = NT_ABORT_TASK_SET; in isp_got_tmf_24xx()
399 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
400 notify.nt_ncode = NT_CLEAR_TASK_SET; in isp_got_tmf_24xx()
402 isp_prt(isp, ISP_LOGINFO, f1, "QUERY ASYNC EVENT", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
403 notify.nt_ncode = NT_QUERY_ASYNC_EVENT; in isp_got_tmf_24xx()
405 isp_prt(isp, ISP_LOGINFO, f1, "LUN RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
406 notify.nt_ncode = NT_LUN_RESET; in isp_got_tmf_24xx()
408 isp_prt(isp, ISP_LOGINFO, f1, "TARGET RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
409 notify.nt_ncode = NT_TARGET_RESET; in isp_got_tmf_24xx()
411 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR ACA", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
412 notify.nt_ncode = NT_CLEAR_ACA; in isp_got_tmf_24xx()
414 …isp_prt(isp, ISP_LOGWARN, f2, aep->at_cmnd.fcp_cmnd_task_management, notify.nt_lun, sid, aep->at_r… in isp_got_tmf_24xx()
415 notify.nt_ncode = NT_UNKNOWN; in isp_got_tmf_24xx()
416 isp_endcmd(isp, aep, notify.nt_nphdl, chan, ECMD_RVALID | (0x4 << 12), 0); in isp_got_tmf_24xx()
419 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_got_tmf_24xx()
530 isp_notify_t notify, *nt = ¬ify; in isp_handle_abts() local
571 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_handle_abts()
726 isp_notify_t notify; in isp_handle_notify_24xx() local
836 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_handle_notify_24xx()
837 notify.nt_hba = isp; in isp_handle_notify_24xx()
838 notify.nt_wwn = INI_ANY; in isp_handle_notify_24xx()
839 notify.nt_tgt = FCPARAM(isp, chan)->isp_wwpn; in isp_handle_notify_24xx()
840 notify.nt_nphdl = nphdl; in isp_handle_notify_24xx()
841 notify.nt_sid = portid; in isp_handle_notify_24xx()
842 notify.nt_did = PORT_ANY; in isp_handle_notify_24xx()
843 notify.nt_lun = LUN_ANY; in isp_handle_notify_24xx()
844 notify.nt_tagval = inot->in_rxid; in isp_handle_notify_24xx()
845 notify.nt_tagval |= ((uint64_t)inot->in_srr_rxid << 32); in isp_handle_notify_24xx()
846 notify.nt_need_ack = 1; in isp_handle_notify_24xx()
847 notify.nt_channel = chan; in isp_handle_notify_24xx()
848 notify.nt_lreserved = inot; in isp_handle_notify_24xx()
849 notify.nt_ncode = NT_SRR; in isp_handle_notify_24xx()
850 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_handle_notify_24xx()