Home
last modified time | relevance | path

Searched refs:ocs_node_t (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_node.h51 ocs_node_t *node = NULL; \
97 ocs_node_hold_frames(ocs_node_t *node) in ocs_node_hold_frames()
115 ocs_node_accept_frames(ocs_node_t *node) in ocs_node_accept_frames()
126 ocs_node_lock_init(ocs_node_t *node) in ocs_node_lock_init()
132 ocs_node_lock_free(ocs_node_t *node) in ocs_node_lock_free()
138 ocs_node_lock_try(ocs_node_t *node) in ocs_node_lock_try()
144 ocs_node_lock(ocs_node_t *node) in ocs_node_lock()
149 ocs_node_unlock(ocs_node_t *node) in ocs_node_unlock()
197 extern int32_t ocs_node_attach(ocs_node_t *node);
202 extern int32_t ocs_node_free(ocs_node_t *node);
[all …]
H A Docs_els.h53 extern ocs_io_t *ocs_els_io_alloc(ocs_node_t *node, uint32_t reqlen, ocs_els_role_e role);
54 extern ocs_io_t *ocs_els_io_alloc_size(ocs_node_t *node, uint32_t reqlen, uint32_t rsplen, ocs_els_…
58 typedef void (*els_cb_t)(ocs_node_t *node, ocs_node_cb_t *cbdata, void *arg);
59 extern ocs_io_t *ocs_send_plogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t …
62 extern ocs_io_t *ocs_send_prli(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c…
63 extern ocs_io_t *ocs_send_prlo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c…
64 extern ocs_io_t *ocs_send_logo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c…
67 extern ocs_io_t *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb…
68 extern ocs_io_t *ocs_send_rrq(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb…
72 extern ocs_io_t *ocs_send_rscn(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries,
[all …]
H A Docs_scsi.h268 extern void ocs_scsi_io_alloc_enable(ocs_node_t *node);
269 extern void ocs_scsi_io_alloc_disable(ocs_node_t *node);
290 extern int32_t ocs_scsi_validate_initiator(ocs_node_t *node);
291 extern int32_t ocs_scsi_new_initiator(ocs_node_t *node);
324 extern void ocs_scsi_del_initiator_complete(ocs_node_t *node);
340 extern int32_t ocs_scsi_new_target(ocs_node_t *node);
364 extern void ocs_scsi_del_target_complete(ocs_node_t *node);
396 uint32_t ocs_get_crn(ocs_node_t *node, uint8_t *crn, uint64_t lun);
397 void ocs_del_crn(ocs_node_t *node);
398 void ocs_reset_crn(ocs_node_t *node, uint64_t lun);
[all …]
H A Docs_node.c183 ocs_node_t *
186 ocs_node_t *node; in ocs_node_find()
204 ocs_node_t *
239 ocs_node_t *node; in ocs_node_create_pool()
344 ocs_node_t *
370 ocs_node_t *
1697 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_list()
1737 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get()
1841 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get_all()
1894 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_set()
[all …]
H A Docs_unsol.h44 extern int32_t ocs_node_purge_pending(ocs_node_t *node);
45 extern int32_t ocs_process_node_pending(ocs_node_t *node);
48 extern int32_t ocs_dispatch_unsolicited_bls(ocs_node_t *node, ocs_hw_sequence_t *seq);
52 extern int32_t ocs_sframe_send_bls_acc(ocs_node_t *node, ocs_hw_sequence_t *seq);
H A Docs_els.c93 ocs_node_t *node = els->node; in ocs_io_transition()
117 ocs_node_t *node = els->node; in ocs_els_post_event()
291 ocs_node_t *node; in _ocs_els_io_free()
347 ocs_node_t *node = els->node; in ocs_els_make_active()
395 ocs_node_t *node = els->node; in ocs_els_send()
424 ocs_node_t *node = els->node; in ocs_els_send_rsp()
457 ocs_node_t *node; in ocs_els_req_cb()
550 ocs_node_t *node; in ocs_els_acc_cb()
1232 ocs_node_t *node = io->node; in ocs_send_ls_rjt()
1281 ocs_node_t *node = io->node; in ocs_send_plogi_acc()
[all …]
H A Docs_unsol.c57 static int32_t ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq);
59 static int32_t ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq);
275 ocs_process_node_pending(ocs_node_t *node) in ocs_process_node_pending()
428 ocs_node_purge_pending(ocs_node_t *node) in ocs_node_purge_pending()
473 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_frames_held()
581 ocs_node_t *node = NULL; in ocs_domain_dispatch_frame()
673 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_dispatch_frame()
882 ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd()
980 ocs_dispatch_fcp_cmd_auto_xfer_rdy(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1071 ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_data()
[all …]
H A Docs_fabric.c131 ocs_node_t *tmp_node; in ocs_fabric_notify_topology()
132 ocs_node_t *next; in ocs_fabric_notify_topology()
869 ocs_node_t *node = arg; in gidpt_delay_timer_cb()
1219 ocs_node_t *node = NULL; in __ocs_fabric_common()
1353 ocs_node_t *rnode; in __ocs_p2p_wait_domain_attach()
1782 ocs_node_t *ns; in ocs_start_ns_node()
1818 ocs_node_t *fabctl; in ocs_start_fabctl_node()
1853 ocs_node_t *newnode; in ocs_process_gidpt_payload()
1858 ocs_node_t *n; in ocs_process_gidpt_payload()
1859 ocs_node_t **active_nodes; in ocs_process_gidpt_payload()
[all …]
H A Docs_io.h75 ocs_node_t *node; /**< pointer to node */
137 void (*els_callback)(ocs_node_t *node, ocs_node_cb_t *cbdata, void *cbarg);
192 extern ocs_io_t *ocs_io_find_tgt_io(ocs_t *ocs, ocs_node_t *node, uint16_t ox_id, uint16_t rx_id);
H A Docs_sport.c285 ocs_node_t *node; in ocs_sport_force_free()
286 ocs_node_t *next; in ocs_sport_force_free()
408 ocs_node_t *node; in ocs_sport_attach()
487 ocs_node_t *node; in __ocs_sport_common()
734 ocs_node_t *node; in __ocs_sport_vport_allocated()
1184 ocs_node_t *node; in ocs_ddump_sport()
1256 ocs_node_t *node; in ocs_mgmt_sport_list()
1292 ocs_node_t *node; in ocs_mgmt_sport_get()
1366 ocs_node_t *node; in ocs_mgmt_sport_get_all()
1398 ocs_node_t *node; in ocs_mgmt_sport_set()
[all …]
H A Docs_device.h108 extern void ocs_node_init_device(ocs_node_t *node, int send_plogi);
109 extern void ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli);
H A Docs_fabric.h78 extern void ocs_fabric_set_topology(ocs_node_t *node, ocs_sport_topology_e topology);
79 extern void ocs_fabric_notify_topology(ocs_node_t *node);
H A Docs_cam.c401 ocs_scsi_new_initiator(ocs_node_t *node) in ocs_scsi_new_initiator()
449 ocs_scsi_validate_initiator(ocs_node_t *node) in ocs_scsi_validate_initiator()
533 ocs_node_t *node = io->node; in ocs_scsi_recv_cmd()
665 ocs_node_t *node = tmfio->node; in ocs_scsi_recv_tmf()
957 ocs_tgt_find(ocs_fcport *fcp, ocs_node_t *node) in ocs_tgt_find()
1042 ocs_scsi_new_target(ocs_node_t *node) in ocs_scsi_new_target()
1788 ocs_node_t *node = NULL; in ocs_initiator_io()
2291 ocs_node_t *node = NULL; in ocs_action()
2678 ocs_node_t *node = NULL; in ocs_abort_initiator_io()
2840 ocs_del_crn(ocs_node_t *node) in ocs_del_crn()
[all …]
H A Docs_sport.h108 extern int ocs_node_group_init(ocs_node_t *node);
109 extern void ocs_node_group_free(ocs_node_t *node);
H A Docs_scsi.c120 ocs_scsi_io_alloc_enable(ocs_node_t *node) in ocs_scsi_io_alloc_enable()
142 ocs_scsi_io_alloc_disable(ocs_node_t *node) in ocs_scsi_io_alloc_disable()
170 ocs_scsi_io_alloc(ocs_node_t *node, ocs_scsi_io_role_e role) in ocs_scsi_io_alloc()
252 ocs_node_t *node = io->node; in _ocs_scsi_io_free()
295 ocs_scsi_send_io(ocs_hw_io_type_e type, ocs_node_t *node, ocs_io_t *io, uint64_t lun,
2262 ocs_scsi_send_rd_io(ocs_node_t *node, ocs_io_t *io, uint64_t lun, void *cdb, uint32_t cdb_len, in ocs_scsi_send_rd_io()
2301 int32_t ocs_scsi_send_wr_io(ocs_node_t *node, ocs_io_t *io, uint64_t lun, void *cdb, uint32_t cdb_l… in ocs_scsi_send_wr_io()
2342 ocs_scsi_send_wr_io_first_burst(ocs_node_t *node, ocs_io_t *io, uint64_t lun, void *cdb, uint32_t c… in ocs_scsi_send_wr_io_first_burst()
2479 static int32_t ocs_scsi_send_io(ocs_hw_io_type_e type, ocs_node_t *node, ocs_io_t *io, uint64_t lun, in ocs_scsi_send_io()
2883 ocs_scsi_del_initiator_complete(ocs_node_t *node) in ocs_scsi_del_initiator_complete()
[all …]
H A Docs_device.c70 ocs_node_t *node = io->node; in ocs_d_send_prli_rsp()
240 ocs_node_t *node = NULL; in __ocs_d_common()
471 ocs_node_t *node = io->node; in ocs_send_ls_acc_after_attach()
496 ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli) in ocs_process_prli_payload()
521 ocs_node_t *node = io->node; in ocs_process_abts()
731 ocs_node_init_device(ocs_node_t *node, int send_plogi) in ocs_node_init_device()
H A Docs_xport.h172 ocs_node_t **nodes; /**< array of pointers to nodes */
H A Docs_domain.c593 ocs_node_t *node; in __ocs_domain_init()
700 ocs_node_t *node; in __ocs_domain_wait_alloc()
868 ocs_node_t *node = NULL; in __ocs_domain_wait_attach()
869 ocs_node_t *next_node = NULL; in __ocs_domain_wait_attach()
H A Docs_xport.c50 ocs_node_t *node;
835 ocs_node_t *node; in ocs_xport_control()
844 node = va_arg(argp, ocs_node_t*); in ocs_xport_control()
H A Docs_common.h85 typedef struct ocs_node_s ocs_node_t; typedef
H A Docs_io.c317 ocs_io_find_tgt_io(ocs_t *ocs, ocs_node_t *node, uint16_t ox_id, uint16_t rx_id) in ocs_io_find_tgt_io()
H A Docs_mgmt.c2295 ocs_node_t *node; in get_node_abort_cnt()
H A Dsli4.c6825 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_icmnd64_wqe()
6920 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iread64_wqe()
7025 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iwrite64_wqe()