Lines Matching refs:nport_handle
14 static struct edif_sa_index_entry *qla_edif_sadb_find_sa_index_entry(uint16_t nport_handle,
18 static int qla_edif_sadb_delete_sa_index(fc_port_t *fcport, uint16_t nport_handle,
101 uint16_t nport_handle; in qla2x00_sa_replace_iocb_timeout() local
125 nport_handle = edif_entry->handle; in qla2x00_sa_replace_iocb_timeout()
135 nport_handle); in qla2x00_sa_replace_iocb_timeout()
140 nport_handle, sa_ctl); in qla2x00_sa_replace_iocb_timeout()
204 fc_port_t *fcport, uint16_t nport_handle, struct edif_sa_ctl *sa_ctl) in qla_post_sa_replace_work() argument
214 e->u.sa_update.nport_handle = nport_handle; in qla_post_sa_replace_work()
1642 uint16_t nport_handle = fcport->loop_id; in qla24xx_sadb_update() local
1698 __func__, sa_index, nport_handle); in qla24xx_sadb_update()
1699 qla_edif_sadb_delete_sa_index(fcport, nport_handle, sa_index); in qla24xx_sadb_update()
1714 __func__, edif_entry, sa_index, nport_handle); in qla24xx_sadb_update()
1732 __func__, sa_index, nport_handle, bsg_job); in qla24xx_sadb_update()
1748 uint32_t nport_handle = fcport->loop_id; in qla24xx_sadb_update() local
1759 __func__, sa_index, nport_handle); in qla24xx_sadb_update()
1762 nport_handle); in qla24xx_sadb_update()
1766 __func__, sa_index, nport_handle); in qla24xx_sadb_update()
2356 uint16_t nport_handle = e->u.sa_update.nport_handle; in qla24xx_issue_sa_replace_iocb() local
2385 fcport->d_id.b24, sa_ctl, sa_ctl->index, nport_handle); in qla24xx_issue_sa_replace_iocb()
2457 sa_update_iocb->u.nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_sa_update_iocb()
2503 uint16_t nport_handle = sp->fcport->loop_id; in qla24xx_sa_replace_iocb() local
2511 sa_update_iocb->u.nport_handle = cpu_to_le16(nport_handle); in qla24xx_sa_replace_iocb()
2528 sa_update_iocb->port_id[0], nport_handle, sa_update_iocb->flags, in qla24xx_sa_replace_iocb()
2550 a.nport_handle = p->nport_handle; in qla24xx_auth_els()
2603 purex->pur_info.pur_nphdl = le16_to_cpu(p->nport_handle); in qla24xx_auth_els()
2707 qla_edif_sadb_find_sa_index_entry(uint16_t nport_handle, in qla_edif_sadb_find_sa_index_entry() argument
2715 if (entry->handle == nport_handle) in qla_edif_sadb_find_sa_index_entry()
2722 static int qla_edif_sadb_delete_sa_index(fc_port_t *fcport, uint16_t nport_handle, in qla_edif_sadb_delete_sa_index() argument
2742 entry = qla_edif_sadb_find_sa_index_entry(nport_handle, sa_list); in qla_edif_sadb_delete_sa_index()
2746 __func__, nport_handle); in qla_edif_sadb_delete_sa_index()
2787 uint16_t nport_handle; in qla28xx_sa_update_iocb_entry() local
2827 nport_handle = sp->fcport->loop_id; in qla28xx_sa_update_iocb_entry()
2832 nport_handle, pkt->sa_index, pkt->flags, sp->handle); in qla28xx_sa_update_iocb_entry()
2840 edif_entry = qla_edif_list_find_sa_index(sp->fcport, nport_handle); in qla28xx_sa_update_iocb_entry()
2935 __func__, le16_to_cpu(pkt->sa_index), nport_handle); in qla28xx_sa_update_iocb_entry()
2936 qla_edif_sadb_delete_sa_index(sp->fcport, nport_handle, in qla28xx_sa_update_iocb_entry()
2945 __func__, pkt->sa_index, nport_handle); in qla28xx_sa_update_iocb_entry()
2946 qla_edif_sadb_delete_sa_index(sp->fcport, nport_handle, in qla28xx_sa_update_iocb_entry()
3145 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla28xx_start_scsi_edif()
3261 uint16_t nport_handle = fcport->loop_id; in qla_edif_sadb_get_sa_index() local
3265 __func__, fcport, nport_handle); in qla_edif_sadb_get_sa_index()
3272 entry = qla_edif_sadb_find_sa_index_entry(nport_handle, sa_list); in qla_edif_sadb_get_sa_index()
3292 entry->handle = nport_handle; in qla_edif_sadb_get_sa_index()
3303 __func__, nport_handle, sa_frame->spi, sa_index); in qla_edif_sadb_get_sa_index()
3419 uint16_t nport_handle = fcport->loop_id; in __chk_edif_rx_sa_delete_pending() local
3423 edif_entry = qla_edif_list_find_sa_index(fcport, nport_handle); in __chk_edif_rx_sa_delete_pending()
3458 if (nport_handle != cached_nport_handle) { in __chk_edif_rx_sa_delete_pending()
3461 __func__, nport_handle, cached_nport_handle); in __chk_edif_rx_sa_delete_pending()
3473 edif_entry->update_sa_index, nport_handle, handle); in __chk_edif_rx_sa_delete_pending()
3478 nport_handle, sa_ctl); in __chk_edif_rx_sa_delete_pending()
3534 a->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla_parse_auth_els_ctl()