Lines Matching defs:ocs_node_s
321 struct ocs_node_s { struct
322 ocs_t *ocs; /**< pointer back to ocs structure */
323 uint32_t instance_index; /**< unique instance index value */
324 char display_name[OCS_DISPLAY_NAME_LENGTH]; /**< Node display name */
325 ocs_sport_t *sport;
349 ocs_node_send_ls_acc_e send_ls_acc; /**< type of LS acc to send */ argument
353 ocs_node_shutd_rsn_e shutdown_reason;/**< reason for node shutdown */ argument
354 ocs_dma_t sparm_dma_buf; /**< service parameters buffer */
355 uint8_t service_params[OCS_SERVICE_PARMS_LENGTH]; /**< plogi/acc frame from remote device */
356 ocs_lock_t pend_frames_lock; /**< lock for inbound pending frames list */
357 ocs_list_t pend_frames; /**< inbound pending frames list */
358 uint32_t pend_frames_processed; /**< count of frames processed in hold frames interval */
359 uint32_t ox_id_in_use; /**< used to verify one at a time us of ox_id */
360 uint32_t els_retries_remaining; /**< for ELS, number of retries remaining */
361 uint32_t els_req_cnt; /**< number of outstanding ELS requests */
362 uint32_t els_cmpl_cnt; /**< number of outstanding ELS completions */
363 uint32_t abort_cnt; /**< Abort counter for debugging purpose */
365 char current_state_name[OCS_DISPLAY_NAME_LENGTH]; /**< current node state */
366 char prev_state_name[OCS_DISPLAY_NAME_LENGTH]; /**< previous node state */
367 ocs_sm_event_t current_evt; /**< current event */
368 ocs_sm_event_t prev_evt; /**< current event */
369 uint32_t targ:1, /**< node is target capable */
370 init:1, /**< node is initiator capable */
371 refound:1, /**< Handle node refound case when node is being deleted */
372 fcp2device:1, /* FCP2 device */
373 reserved:4,
374 fc_type:8;
375 ocs_list_t els_io_pend_list; /**< list of pending (not yet processed) ELS IOs */
376 ocs_list_t els_io_active_list; /**< list of active (processed) ELS IOs */
378 ocs_sm_function_t nodedb_state; /**< Node debugging, saved state */
380 ocs_timer_t gidpt_delay_timer; /**< GIDPT delay timer */
381 time_t time_last_gidpt_msec; /**< Start time of last target RSCN GIDPT */
384 char wwnn[OCS_WWN_LENGTH]; /**< remote port WWN (uses iSCSI naming) */
385 char wwpn[OCS_WWN_LENGTH]; /**< remote port WWN (uses iSCSI naming) */
388 uint32_t chained_io_count; /**< count of IOs with chained SGL's */
390 ocs_list_link_t link; /**< node list link */
392 ocs_remote_node_group_t *node_group; /**< pointer to node group (if HLM enabled) */