Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_node.h52 ocs_node_t *node = NULL; \
98 ocs_node_hold_frames(ocs_node_t *node) in ocs_node_hold_frames()
116 ocs_node_accept_frames(ocs_node_t *node) in ocs_node_accept_frames()
127 ocs_node_lock_init(ocs_node_t *node) in ocs_node_lock_init()
133 ocs_node_lock_free(ocs_node_t *node) in ocs_node_lock_free()
139 ocs_node_lock_try(ocs_node_t *node) in ocs_node_lock_try()
145 ocs_node_lock(ocs_node_t *node) in ocs_node_lock()
150 ocs_node_unlock(ocs_node_t *node) in ocs_node_unlock()
198 extern int32_t ocs_node_attach(ocs_node_t *node);
203 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.h270 extern void ocs_scsi_io_alloc_enable(ocs_node_t *node);
271 extern void ocs_scsi_io_alloc_disable(ocs_node_t *node);
292 extern int32_t ocs_scsi_validate_initiator(ocs_node_t *node);
293 extern int32_t ocs_scsi_new_initiator(ocs_node_t *node);
327 extern void ocs_scsi_del_initiator_complete(ocs_node_t *node);
343 extern int32_t ocs_scsi_new_target(ocs_node_t *node);
366 extern void ocs_scsi_del_target_complete(ocs_node_t *node);
399 uint32_t ocs_get_crn(ocs_node_t *node, uint8_t *crn, uint64_t lun);
400 void ocs_del_crn(ocs_node_t *node);
401 void ocs_reset_crn(ocs_node_t *node, uint64_t lun);
[all …]
H A Docs_node.c184 ocs_node_t *
187 ocs_node_t *node; in ocs_node_find()
205 ocs_node_t *
240 ocs_node_t *node; in ocs_node_create_pool()
346 ocs_node_t *
372 ocs_node_t *
1705 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_list()
1745 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get()
1849 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get_all()
1902 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.c94 ocs_node_t *node = els->node; in ocs_io_transition()
118 ocs_node_t *node = els->node; in ocs_els_post_event()
292 ocs_node_t *node; in _ocs_els_io_free()
348 ocs_node_t *node = els->node; in ocs_els_make_active()
397 ocs_node_t *node = els->node; in ocs_els_send()
426 ocs_node_t *node = els->node; in ocs_els_send_rsp()
459 ocs_node_t *node; in ocs_els_req_cb()
553 ocs_node_t *node; in ocs_els_acc_cb()
1237 ocs_node_t *node = io->node; in ocs_send_ls_rjt()
1286 ocs_node_t *node = io->node; in ocs_send_plogi_acc()
[all …]
H A Docs_unsol.c58 static int32_t ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq);
60 static int32_t ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq);
277 ocs_process_node_pending(ocs_node_t *node) in ocs_process_node_pending()
430 ocs_node_purge_pending(ocs_node_t *node) in ocs_node_purge_pending()
475 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_frames_held()
584 ocs_node_t *node = NULL; in ocs_domain_dispatch_frame()
676 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_dispatch_frame()
884 ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd()
982 ocs_dispatch_fcp_cmd_auto_xfer_rdy(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1073 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()
864 ocs_node_t *node = arg; in gidpt_delay_timer_cb()
1214 ocs_node_t *node = NULL; in __ocs_fabric_common()
1348 ocs_node_t *rnode; in __ocs_p2p_wait_domain_attach()
1778 ocs_node_t *ns; in ocs_start_ns_node()
1814 ocs_node_t *fabctl; in ocs_start_fabctl_node()
1849 ocs_node_t *newnode; in ocs_process_gidpt_payload()
1854 ocs_node_t *n; in ocs_process_gidpt_payload()
1855 ocs_node_t **active_nodes; in ocs_process_gidpt_payload()
[all …]
H A Docs_io.h76 ocs_node_t *node; /**< pointer to node */
138 void (*els_callback)(ocs_node_t *node, ocs_node_cb_t *cbdata, void *cbarg);
193 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.c286 ocs_node_t *node; in ocs_sport_force_free()
287 ocs_node_t *next; in ocs_sport_force_free()
409 ocs_node_t *node; in ocs_sport_attach()
489 ocs_node_t *node; in __ocs_sport_common()
737 ocs_node_t *node; in __ocs_sport_vport_allocated()
1187 ocs_node_t *node; in ocs_ddump_sport()
1260 ocs_node_t *node; in ocs_mgmt_sport_list()
1298 ocs_node_t *node; in ocs_mgmt_sport_get()
1372 ocs_node_t *node; in ocs_mgmt_sport_get_all()
1404 ocs_node_t *node; in ocs_mgmt_sport_set()
[all …]
H A Docs_device.h110 extern void ocs_node_init_device(ocs_node_t *node, int send_plogi);
111 extern void ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli);
H A Docs_cam.c402 ocs_scsi_new_initiator(ocs_node_t *node) in ocs_scsi_new_initiator()
450 ocs_scsi_validate_initiator(ocs_node_t *node) in ocs_scsi_validate_initiator()
535 ocs_node_t *node = io->node; in ocs_scsi_recv_cmd()
664 ocs_node_t *node = tmfio->node; in ocs_scsi_recv_tmf()
958 ocs_tgt_find(ocs_fcport *fcp, ocs_node_t *node) in ocs_tgt_find()
1043 ocs_scsi_new_target(ocs_node_t *node) in ocs_scsi_new_target()
1780 ocs_node_t *node = NULL; in ocs_initiator_io()
2263 ocs_node_t *node = NULL; in ocs_action()
2650 ocs_node_t *node = NULL; in ocs_abort_initiator_io()
2812 ocs_del_crn(ocs_node_t *node) in ocs_del_crn()
[all …]
H A Docs_fabric.h79 extern void ocs_fabric_set_topology(ocs_node_t *node, ocs_sport_topology_e topology);
80 extern void ocs_fabric_notify_topology(ocs_node_t *node);
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.c124 ocs_scsi_io_alloc_enable(ocs_node_t *node) in ocs_scsi_io_alloc_enable()
146 ocs_scsi_io_alloc_disable(ocs_node_t *node) in ocs_scsi_io_alloc_disable()
174 ocs_scsi_io_alloc(ocs_node_t *node, ocs_scsi_io_role_e role) in ocs_scsi_io_alloc()
255 ocs_node_t *node = io->node; in _ocs_scsi_io_free()
300 ocs_scsi_send_io(ocs_hw_io_type_e type, ocs_node_t *node, ocs_io_t *io, uint64_t lun,
2280 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()
2319 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()
2360 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()
2497 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()
2892 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()
478 ocs_node_t *node = io->node; in ocs_send_ls_acc_after_attach()
503 ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli) in ocs_process_prli_payload()
528 ocs_node_t *node = io->node; in ocs_process_abts()
741 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.c598 ocs_node_t *node; in __ocs_domain_init()
705 ocs_node_t *node; in __ocs_domain_wait_alloc()
873 ocs_node_t *node = NULL; in __ocs_domain_wait_attach()
874 ocs_node_t *next_node = NULL; in __ocs_domain_wait_attach()
H A Docs_xport.c50 ocs_node_t *node;
804 ocs_node_t *node; in ocs_xport_control()
813 node = va_arg(argp, ocs_node_t*); in ocs_xport_control()
H A Docs_common.h86 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.c2454 ocs_node_t *node; in get_node_abort_cnt()
H A Dsli4.c6678 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_icmnd64_wqe()
6773 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iread64_wqe()
6879 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iwrite64_wqe()