Lines Matching refs:notify
311 isp_notify_t notify; in isp_target_async() local
313 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_target_async()
314 notify.nt_hba = isp; in isp_target_async()
315 notify.nt_wwn = INI_ANY; in isp_target_async()
316 notify.nt_nphdl = NIL_HANDLE; in isp_target_async()
317 notify.nt_sid = PORT_ANY; in isp_target_async()
318 notify.nt_did = PORT_ANY; in isp_target_async()
319 notify.nt_tgt = TGT_ANY; in isp_target_async()
320 notify.nt_channel = bus; in isp_target_async()
321 notify.nt_lun = LUN_ANY; in isp_target_async()
322 notify.nt_tagval = TAG_ANY; in isp_target_async()
323 notify.nt_tagval |= (((uint64_t)(isp->isp_serno++)) << 32); in isp_target_async()
329 notify.nt_ncode = NT_LINK_UP; in isp_target_async()
330 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
334 notify.nt_ncode = NT_LINK_DOWN; in isp_target_async()
335 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
342 notify.nt_ncode = NT_LIP_RESET; in isp_target_async()
343 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_target_async()
354 isp_notify_t notify; in isp_got_tmf_24xx() local
361 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_got_tmf_24xx()
362 notify.nt_hba = isp; in isp_got_tmf_24xx()
363 notify.nt_wwn = INI_ANY; in isp_got_tmf_24xx()
364 notify.nt_lun = CAM_EXTLUN_BYTE_SWIZZLE(be64dec(aep->at_cmnd.fcp_cmnd_lun)); in isp_got_tmf_24xx()
365 notify.nt_tagval = aep->at_rxid; in isp_got_tmf_24xx()
366 notify.nt_tagval |= (((uint64_t)(isp->isp_serno++)) << 32); in isp_got_tmf_24xx()
367 notify.nt_lreserved = aep; in isp_got_tmf_24xx()
385 notify.nt_nphdl = lp->handle; in isp_got_tmf_24xx()
387 notify.nt_nphdl = NIL_HANDLE; in isp_got_tmf_24xx()
388 notify.nt_sid = sid; in isp_got_tmf_24xx()
389 notify.nt_did = did; in isp_got_tmf_24xx()
390 notify.nt_channel = chan; in isp_got_tmf_24xx()
392 isp_prt(isp, ISP_LOGINFO, f1, "QUERY TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
393 notify.nt_ncode = NT_QUERY_TASK_SET; in isp_got_tmf_24xx()
395 isp_prt(isp, ISP_LOGINFO, f1, "ABORT TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
396 notify.nt_ncode = NT_ABORT_TASK_SET; in isp_got_tmf_24xx()
398 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
399 notify.nt_ncode = NT_CLEAR_TASK_SET; in isp_got_tmf_24xx()
401 isp_prt(isp, ISP_LOGINFO, f1, "QUERY ASYNC EVENT", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
402 notify.nt_ncode = NT_QUERY_ASYNC_EVENT; in isp_got_tmf_24xx()
404 isp_prt(isp, ISP_LOGINFO, f1, "LUN RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
405 notify.nt_ncode = NT_LUN_RESET; in isp_got_tmf_24xx()
407 isp_prt(isp, ISP_LOGINFO, f1, "TARGET RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
408 notify.nt_ncode = NT_TARGET_RESET; in isp_got_tmf_24xx()
410 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR ACA", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
411 notify.nt_ncode = NT_CLEAR_ACA; in isp_got_tmf_24xx()
413 …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()
414 notify.nt_ncode = NT_UNKNOWN; in isp_got_tmf_24xx()
415 isp_endcmd(isp, aep, notify.nt_nphdl, chan, ECMD_RVALID | (0x4 << 12), 0); in isp_got_tmf_24xx()
418 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_got_tmf_24xx()
532 isp_notify_t notify, *nt = ¬ify; in isp_handle_abts() local
573 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_handle_abts()
728 isp_notify_t notify; in isp_handle_notify_24xx() local
838 ISP_MEMZERO(¬ify, sizeof (isp_notify_t)); in isp_handle_notify_24xx()
839 notify.nt_hba = isp; in isp_handle_notify_24xx()
840 notify.nt_wwn = INI_ANY; in isp_handle_notify_24xx()
841 notify.nt_tgt = FCPARAM(isp, chan)->isp_wwpn; in isp_handle_notify_24xx()
842 notify.nt_nphdl = nphdl; in isp_handle_notify_24xx()
843 notify.nt_sid = portid; in isp_handle_notify_24xx()
844 notify.nt_did = PORT_ANY; in isp_handle_notify_24xx()
845 notify.nt_lun = LUN_ANY; in isp_handle_notify_24xx()
846 notify.nt_tagval = inot->in_rxid; in isp_handle_notify_24xx()
847 notify.nt_tagval |= ((uint64_t)inot->in_srr_rxid << 32); in isp_handle_notify_24xx()
848 notify.nt_need_ack = 1; in isp_handle_notify_24xx()
849 notify.nt_channel = chan; in isp_handle_notify_24xx()
850 notify.nt_lreserved = inot; in isp_handle_notify_24xx()
851 notify.nt_ncode = NT_SRR; in isp_handle_notify_24xx()
852 isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); in isp_handle_notify_24xx()