Lines Matching refs:node

24 	struct efct_node *node;  in efct_node_find()  local
32 node = xa_load(&efct->lookup, id); in efct_node_find()
33 if (node) in efct_node_find()
34 kref_get(&node->ref); in efct_node_find()
36 return node; in efct_node_find()
42 struct efct_node *node; in efct_dispatch_frame() local
56 node = efct_node_find(efct, d_id, s_id); in efct_dispatch_frame()
57 if (!node) { in efct_dispatch_frame()
65 efct_dispatch_fcp_cmd(node, seq); in efct_dispatch_frame()
67 node = efct_node_find(efct, d_id, s_id); in efct_dispatch_frame()
68 if (!node) { in efct_dispatch_frame()
74 efc_log_err(efct, "Received ABTS for Node:%p\n", node); in efct_dispatch_frame()
75 efct_node_recv_abts_frame(node, seq); in efct_dispatch_frame()
78 kref_put(&node->ref, node->release); in efct_dispatch_frame()
131 efc_log_err(io->node->efct, "TMF x%x rejected\n", tm_flags); in efct_dispatch_unsol_tmf()
221 efct_sframe_common_send(struct efct_node *node, in efct_sframe_common_send() argument
226 struct efct *efct = node->efct; in efct_sframe_common_send()
300 efct_sframe_send_fcp_rsp(struct efct_node *node, struct efc_hw_sequence *seq, in efct_sframe_send_fcp_rsp() argument
303 return efct_sframe_common_send(node, seq, FC_RCTL_DD_CMD_STATUS, in efct_sframe_send_fcp_rsp()
313 efct_sframe_send_task_set_full_or_busy(struct efct_node *node, in efct_sframe_send_task_set_full_or_busy() argument
320 struct efct *efct = node->efct; in efct_sframe_send_task_set_full_or_busy()
324 spin_lock_irqsave(&node->active_ios_lock, flags); in efct_sframe_send_task_set_full_or_busy()
325 fcprsp.resp.fr_status = list_empty(&node->active_ios) ? in efct_sframe_send_task_set_full_or_busy()
327 spin_unlock_irqrestore(&node->active_ios_lock, flags); in efct_sframe_send_task_set_full_or_busy()
331 rc = efct_sframe_send_fcp_rsp(node, seq, &fcprsp, sizeof(fcprsp)); in efct_sframe_send_task_set_full_or_busy()
339 efct_dispatch_fcp_cmd(struct efct_node *node, struct efc_hw_sequence *seq) in efct_dispatch_fcp_cmd() argument
341 struct efct *efct = node->efct; in efct_dispatch_fcp_cmd()
362 io = efct_scsi_io_alloc(node); in efct_dispatch_fcp_cmd()
367 rc = efct_sframe_send_task_set_full_or_busy(node, seq); in efct_dispatch_fcp_cmd()
404 struct efct_node *node = io->node; in efct_process_abts() local
411 abortio = efct_io_find_tgt_io(efct, node, ox_id, rx_id); in efct_process_abts()
417 efc_log_info(node->efct, "Abort ox_id [%04x] rx_id [%04x]\n", in efct_process_abts()
453 efc_log_info(node->efct, "Abort: ox_id [%04x], IO not found\n", in efct_process_abts()
463 efct_node_recv_abts_frame(struct efct_node *node, struct efc_hw_sequence *seq) in efct_node_recv_abts_frame() argument
465 struct efct *efct = node->efct; in efct_node_recv_abts_frame()
469 node->abort_cnt++; in efct_node_recv_abts_frame()
470 io = efct_scsi_io_alloc(node); in efct_node_recv_abts_frame()
478 io->node = node; in efct_node_recv_abts_frame()