| /freebsd-14.2/sys/dev/ocs_fc/ |
| H A D | ocs_node.h | 49 ocs_node_t *node = NULL; \ 95 ocs_node_hold_frames(ocs_node_t *node) in ocs_node_hold_frames() 113 ocs_node_accept_frames(ocs_node_t *node) in ocs_node_accept_frames() 124 ocs_node_lock_init(ocs_node_t *node) in ocs_node_lock_init() 130 ocs_node_lock_free(ocs_node_t *node) in ocs_node_lock_free() 136 ocs_node_lock_try(ocs_node_t *node) in ocs_node_lock_try() 142 ocs_node_lock(ocs_node_t *node) in ocs_node_lock() 147 ocs_node_unlock(ocs_node_t *node) in ocs_node_unlock() 195 extern int32_t ocs_node_attach(ocs_node_t *node); 200 extern int32_t ocs_node_free(ocs_node_t *node); [all …]
|
| H A D | ocs_els.h | 51 extern ocs_io_t *ocs_els_io_alloc(ocs_node_t *node, uint32_t reqlen, ocs_els_role_e role); 52 extern ocs_io_t *ocs_els_io_alloc_size(ocs_node_t *node, uint32_t reqlen, uint32_t rsplen, ocs_els_… 56 typedef void (*els_cb_t)(ocs_node_t *node, ocs_node_cb_t *cbdata, void *arg); 57 extern ocs_io_t *ocs_send_plogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t … 60 extern ocs_io_t *ocs_send_prli(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c… 61 extern ocs_io_t *ocs_send_prlo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c… 62 extern ocs_io_t *ocs_send_logo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t c… 65 extern ocs_io_t *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… 66 extern ocs_io_t *ocs_send_rrq(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… 70 extern ocs_io_t *ocs_send_rscn(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, [all …]
|
| H A D | ocs_scsi.h | 266 extern void ocs_scsi_io_alloc_enable(ocs_node_t *node); 267 extern void ocs_scsi_io_alloc_disable(ocs_node_t *node); 288 extern int32_t ocs_scsi_validate_initiator(ocs_node_t *node); 289 extern int32_t ocs_scsi_new_initiator(ocs_node_t *node); 322 extern void ocs_scsi_del_initiator_complete(ocs_node_t *node); 338 extern int32_t ocs_scsi_new_target(ocs_node_t *node); 362 extern void ocs_scsi_del_target_complete(ocs_node_t *node); 394 uint32_t ocs_get_crn(ocs_node_t *node, uint8_t *crn, uint64_t lun); 395 void ocs_del_crn(ocs_node_t *node); 396 void ocs_reset_crn(ocs_node_t *node, uint64_t lun); [all …]
|
| H A D | ocs_node.c | 181 ocs_node_t * 184 ocs_node_t *node; in ocs_node_find() 202 ocs_node_t * 237 ocs_node_t *node; in ocs_node_create_pool() 342 ocs_node_t * 368 ocs_node_t * 1695 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_list() 1735 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get() 1839 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_get_all() 1892 ocs_node_t *node = (ocs_node_t *)object; in ocs_mgmt_node_set() [all …]
|
| H A D | ocs_unsol.h | 42 extern int32_t ocs_node_purge_pending(ocs_node_t *node); 43 extern int32_t ocs_process_node_pending(ocs_node_t *node); 46 extern int32_t ocs_dispatch_unsolicited_bls(ocs_node_t *node, ocs_hw_sequence_t *seq); 50 extern int32_t ocs_sframe_send_bls_acc(ocs_node_t *node, ocs_hw_sequence_t *seq);
|
| H A D | ocs_els.c | 91 ocs_node_t *node = els->node; in ocs_io_transition() 115 ocs_node_t *node = els->node; in ocs_els_post_event() 289 ocs_node_t *node; in _ocs_els_io_free() 345 ocs_node_t *node = els->node; in ocs_els_make_active() 393 ocs_node_t *node = els->node; in ocs_els_send() 422 ocs_node_t *node = els->node; in ocs_els_send_rsp() 455 ocs_node_t *node; in ocs_els_req_cb() 548 ocs_node_t *node; in ocs_els_acc_cb() 1230 ocs_node_t *node = io->node; in ocs_send_ls_rjt() 1279 ocs_node_t *node = io->node; in ocs_send_plogi_acc() [all …]
|
| H A D | ocs_unsol.c | 55 static int32_t ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq); 57 static int32_t ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq); 273 ocs_process_node_pending(ocs_node_t *node) in ocs_process_node_pending() 426 ocs_node_purge_pending(ocs_node_t *node) in ocs_node_purge_pending() 471 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_frames_held() 579 ocs_node_t *node = NULL; in ocs_domain_dispatch_frame() 671 ocs_node_t *node = (ocs_node_t *)arg; in ocs_node_dispatch_frame() 880 ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd() 978 ocs_dispatch_fcp_cmd_auto_xfer_rdy(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_cmd_auto_xfer_rdy() 1069 ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq) in ocs_dispatch_fcp_data() [all …]
|
| H A D | ocs_fabric.c | 129 ocs_node_t *tmp_node; in ocs_fabric_notify_topology() 130 ocs_node_t *next; in ocs_fabric_notify_topology() 867 ocs_node_t *node = arg; in gidpt_delay_timer_cb() 1217 ocs_node_t *node = NULL; in __ocs_fabric_common() 1351 ocs_node_t *rnode; in __ocs_p2p_wait_domain_attach() 1780 ocs_node_t *ns; in ocs_start_ns_node() 1816 ocs_node_t *fabctl; in ocs_start_fabctl_node() 1851 ocs_node_t *newnode; in ocs_process_gidpt_payload() 1856 ocs_node_t *n; in ocs_process_gidpt_payload() 1857 ocs_node_t **active_nodes; in ocs_process_gidpt_payload() [all …]
|
| H A D | ocs_io.h | 73 ocs_node_t *node; /**< pointer to node */ 135 void (*els_callback)(ocs_node_t *node, ocs_node_cb_t *cbdata, void *cbarg); 190 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 D | ocs_sport.c | 283 ocs_node_t *node; in ocs_sport_force_free() 284 ocs_node_t *next; in ocs_sport_force_free() 406 ocs_node_t *node; in ocs_sport_attach() 485 ocs_node_t *node; in __ocs_sport_common() 732 ocs_node_t *node; in __ocs_sport_vport_allocated() 1182 ocs_node_t *node; in ocs_ddump_sport() 1254 ocs_node_t *node; in ocs_mgmt_sport_list() 1290 ocs_node_t *node; in ocs_mgmt_sport_get() 1364 ocs_node_t *node; in ocs_mgmt_sport_get_all() 1396 ocs_node_t *node; in ocs_mgmt_sport_set() [all …]
|
| H A D | ocs_device.h | 106 extern void ocs_node_init_device(ocs_node_t *node, int send_plogi); 107 extern void ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli);
|
| H A D | ocs_fabric.h | 76 extern void ocs_fabric_set_topology(ocs_node_t *node, ocs_sport_topology_e topology); 77 extern void ocs_fabric_notify_topology(ocs_node_t *node);
|
| H A D | ocs_cam.c | 421 ocs_scsi_new_initiator(ocs_node_t *node) in ocs_scsi_new_initiator() 469 ocs_scsi_validate_initiator(ocs_node_t *node) in ocs_scsi_validate_initiator() 553 ocs_node_t *node = io->node; in ocs_scsi_recv_cmd() 685 ocs_node_t *node = tmfio->node; in ocs_scsi_recv_tmf() 977 ocs_tgt_find(ocs_fcport *fcp, ocs_node_t *node) in ocs_tgt_find() 1062 ocs_scsi_new_target(ocs_node_t *node) in ocs_scsi_new_target() 1861 ocs_node_t *node = NULL; in ocs_initiator_io() 2368 ocs_node_t *node = NULL; in ocs_action() 2750 ocs_node_t *node = NULL; in ocs_abort_initiator_io() 2912 ocs_del_crn(ocs_node_t *node) in ocs_del_crn() [all …]
|
| H A D | ocs_sport.h | 106 extern int ocs_node_group_init(ocs_node_t *node); 107 extern void ocs_node_group_free(ocs_node_t *node);
|
| H A D | ocs_scsi.c | 118 ocs_scsi_io_alloc_enable(ocs_node_t *node) in ocs_scsi_io_alloc_enable() 140 ocs_scsi_io_alloc_disable(ocs_node_t *node) in ocs_scsi_io_alloc_disable() 168 ocs_scsi_io_alloc(ocs_node_t *node, ocs_scsi_io_role_e role) in ocs_scsi_io_alloc() 250 ocs_node_t *node = io->node; in _ocs_scsi_io_free() 293 ocs_scsi_send_io(ocs_hw_io_type_e type, ocs_node_t *node, ocs_io_t *io, uint64_t lun, 2264 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() 2303 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() 2344 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() 2481 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() 2885 ocs_scsi_del_initiator_complete(ocs_node_t *node) in ocs_scsi_del_initiator_complete() [all …]
|
| H A D | ocs_device.c | 68 ocs_node_t *node = io->node; in ocs_d_send_prli_rsp() 238 ocs_node_t *node = NULL; in __ocs_d_common() 469 ocs_node_t *node = io->node; in ocs_send_ls_acc_after_attach() 494 ocs_process_prli_payload(ocs_node_t *node, fc_prli_payload_t *prli) in ocs_process_prli_payload() 519 ocs_node_t *node = io->node; in ocs_process_abts() 729 ocs_node_init_device(ocs_node_t *node, int send_plogi) in ocs_node_init_device()
|
| H A D | ocs_xport.h | 170 ocs_node_t **nodes; /**< array of pointers to nodes */
|
| H A D | ocs_domain.c | 591 ocs_node_t *node; in __ocs_domain_init() 698 ocs_node_t *node; in __ocs_domain_wait_alloc() 866 ocs_node_t *node = NULL; in __ocs_domain_wait_attach() 867 ocs_node_t *next_node = NULL; in __ocs_domain_wait_attach()
|
| H A D | ocs_xport.c | 48 ocs_node_t *node; 833 ocs_node_t *node; in ocs_xport_control() 842 node = va_arg(argp, ocs_node_t*); in ocs_xport_control()
|
| H A D | ocs_common.h | 83 typedef struct ocs_node_s ocs_node_t; typedef
|
| H A D | ocs_io.c | 315 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 D | ocs_mgmt.c | 2293 ocs_node_t *node; in get_node_abort_cnt()
|
| H A D | sli4.c | 6823 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_icmnd64_wqe() 6918 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iread64_wqe() 7023 if (((ocs_node_t *)rnode->node)->fcp2device) { in sli_fcp_iwrite64_wqe()
|