Lines Matching defs:ocs_node_s

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