Lines Matching refs:tgt_node

1075 	struct efct_node *tgt_node = container_of(arg, struct efct_node, ref);  in _efct_tgt_node_free()  local
1076 struct efc_node *node = tgt_node->node; in _efct_tgt_node_free()
1079 kfree(tgt_node); in _efct_tgt_node_free()
1086 struct efct_node *tgt_node; in efct_session_cb() local
1089 tgt_node = kzalloc(sizeof(*tgt_node), GFP_KERNEL); in efct_session_cb()
1090 if (!tgt_node) in efct_session_cb()
1093 kref_init(&tgt_node->ref); in efct_session_cb()
1094 tgt_node->release = _efct_tgt_node_free; in efct_session_cb()
1096 tgt_node->session = se_sess; in efct_session_cb()
1097 node->tgt_node = tgt_node; in efct_session_cb()
1098 tgt_node->efct = efct; in efct_session_cb()
1100 tgt_node->node = node; in efct_session_cb()
1102 tgt_node->node_fc_id = node->rnode.fc_id; in efct_session_cb()
1103 tgt_node->port_fc_id = node->nport->fc_id; in efct_session_cb()
1104 tgt_node->vpi = node->nport->indicator; in efct_session_cb()
1105 tgt_node->rpi = node->rnode.indicator; in efct_session_cb()
1107 spin_lock_init(&tgt_node->active_ios_lock); in efct_session_cb()
1108 INIT_LIST_HEAD(&tgt_node->active_ios); in efct_session_cb()
1178 struct efct_node *tgt_node; in efct_lio_setup_session() local
1215 tgt_node = node->tgt_node; in efct_lio_setup_session()
1216 id = (u64) tgt_node->port_fc_id << 32 | tgt_node->node_fc_id; in efct_lio_setup_session()
1221 if (xa_err(xa_store(&efct->lookup, id, tgt_node, GFP_KERNEL))) in efct_lio_setup_session()
1263 struct efct_node *tgt_node; in efct_lio_remove_session() local
1266 tgt_node = node->tgt_node; in efct_lio_remove_session()
1267 if (!tgt_node) { in efct_lio_remove_session()
1277 se_sess = tgt_node->session; in efct_lio_remove_session()
1287 tgt_node->session = NULL; in efct_lio_remove_session()
1288 node->tgt_node = NULL; in efct_lio_remove_session()
1289 kref_put(&tgt_node->ref, tgt_node->release); in efct_lio_remove_session()
1297 struct efct_node *tgt_node = node->tgt_node; in efct_scsi_del_initiator() local
1306 if (!tgt_node) { in efct_scsi_del_initiator()
1315 id = (u64) tgt_node->port_fc_id << 32 | tgt_node->node_fc_id; in efct_scsi_del_initiator()
1344 struct efct_node *tgt_node; in efct_scsi_recv_cmd() local
1387 tgt_node = io->node; in efct_scsi_recv_cmd()
1388 se_sess = tgt_node->session; in efct_scsi_recv_cmd()
1420 struct efct_node *tgt_node; in efct_scsi_recv_tmf() local
1459 tgt_node = tmfio->node; in efct_scsi_recv_tmf()
1461 se_sess = tgt_node->session; in efct_scsi_recv_tmf()