Lines Matching defs:ocs_node_s

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