• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/ocs_fc/

Lines Matching defs:evt

56 static void * __ocs_fabric_common(const char *funcname, ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
72 * @param evt Event to process.
78 __ocs_fabric_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
84 switch(evt) {
95 __ocs_fabric_common(__func__, ctx, evt, arg);
153 * @param evt Event to process.
160 __ocs_fabric_flogi_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
167 switch(evt) {
169 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_FLOGI, __ocs_fabric_common, __func__)) {
228 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_FLOGI, __ocs_fabric_common, __func__)) {
231 node_printf(node, "FLOGI failed evt=%s, shutting down sport [%s]\n", ocs_sm_event_name(evt),
240 __ocs_fabric_common(__func__, ctx, evt, arg);
255 * @param evt Event to process.
261 __ocs_vport_fabric_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
267 switch(evt) {
275 __ocs_fabric_common(__func__, ctx, evt, arg);
290 * @param evt Event to process.
296 __ocs_fabric_fdisc_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
303 switch(evt) {
306 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_FDISC, __ocs_fabric_common, __func__)) {
323 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_FDISC, __ocs_fabric_common, __func__)) {
335 __ocs_fabric_common(__func__, ctx, evt, arg);
350 * @param evt Event to process.
356 __ocs_fabric_wait_domain_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
362 switch(evt) {
389 __ocs_fabric_common(__func__, ctx, evt, arg);
404 * @param evt Event to process.
410 __ocs_fabric_idle(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
416 switch(evt) {
420 __ocs_fabric_common(__func__, ctx, evt, arg);
435 * @param evt Event to process.
441 __ocs_ns_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
447 switch(evt) {
454 __ocs_fabric_common(__func__, ctx, evt, arg);
470 * @param evt Event to process.
476 __ocs_ns_plogi_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
484 switch(evt) {
487 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_PLOGI, __ocs_fabric_common, __func__)) {
504 __ocs_fabric_common(__func__, ctx, evt, arg);
520 * @param evt Event to process.
526 __ocs_ns_wait_node_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
532 switch(evt) {
569 __ocs_fabric_common(__func__, ctx, evt, arg);
586 * @param evt Event to process.
592 __ocs_fabric_wait_attach_evt_shutdown(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
598 switch(evt) {
610 node_printf(node, "Attach evt=%s, proceed to shutdown\n", ocs_sm_event_name(evt));
616 node_printf(node, "Attach evt=%s, proceed to shutdown\n", ocs_sm_event_name(evt));
626 __ocs_fabric_common(__func__, ctx, evt, arg);
642 * @param evt Event to process.
648 __ocs_ns_rftid_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
654 switch(evt) {
656 if (node_check_ns_req(ctx, evt, arg, FC_GS_NAMESERVER_RFT_ID, __ocs_fabric_common, __func__)) {
673 __ocs_fabric_common(__func__, ctx, evt, arg);
689 * @param evt Event to process.
695 __ocs_ns_rffid_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
701 switch(evt) {
703 if (node_check_ns_req(ctx, evt, arg, FC_GS_NAMESERVER_RFF_ID, __ocs_fabric_common, __func__)) {
725 __ocs_fabric_common(__func__, ctx, evt, arg);
741 * @param evt Event to process.
747 __ocs_ns_gidpt_wait_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
754 switch(evt) {
756 if (node_check_ns_req(ctx, evt, arg, FC_GS_NAMESERVER_GID_PT, __ocs_fabric_common, __func__)) {
785 __ocs_fabric_common(__func__, ctx, evt, arg);
801 * @param evt Event to process.
807 __ocs_ns_idle(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
813 switch(evt) {
841 __ocs_fabric_common(__func__, ctx, evt, arg);
879 * @param evt Event to process.
885 __ocs_ns_gidpt_delay(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
891 switch(evt) {
924 __ocs_fabric_common(__func__, ctx, evt, arg);
939 * @param evt Event to process.
945 __ocs_fabctl_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
951 switch(evt) {
963 __ocs_fabric_common(__func__, ctx, evt, arg);
980 * @param evt Event to process.
987 __ocs_fabctl_wait_node_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
993 switch(evt) {
1024 __ocs_fabric_common(__func__, ctx, evt, arg);
1040 * @param evt Event to process.
1046 __ocs_fabctl_wait_scr_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1052 switch(evt) {
1054 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_SCR, __ocs_fabric_common, __func__)) {
1063 __ocs_fabric_common(__func__, ctx, evt, arg);
1080 * @param evt Event to process.
1087 __ocs_fabctl_ready(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1094 switch(evt) {
1107 __ocs_fabric_common(__func__, ctx, evt, arg);
1122 * @param evt Event to process.
1129 __ocs_fabctl_wait_ls_acc_cmpl(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1135 switch(evt) {
1151 __ocs_fabric_common(__func__, ctx, evt, arg);
1202 * @param evt Event to process.
1209 __ocs_fabric_common(const char *funcname, ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1216 switch(evt) {
1226 __ocs_node_common(funcname, ctx, evt, arg);
1321 * @param evt Event to process.
1328 __ocs_p2p_wait_domain_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1334 switch(evt) {
1387 __ocs_fabric_common(__func__, ctx, evt, arg);
1403 * @param evt Event to process.
1410 __ocs_p2p_rnode_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1417 switch(evt) {
1430 __ocs_fabric_common(__func__, ctx, evt, arg);
1445 * @param evt Event to process.
1452 __ocs_p2p_wait_flogi_acc_cmpl(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1459 switch(evt) {
1507 __ocs_fabric_common(__func__, ctx, evt, arg);
1524 * @param evt Event to process.
1531 __ocs_p2p_wait_plogi_rsp(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1539 switch(evt) {
1541 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_PLOGI, __ocs_fabric_common, __func__)) {
1556 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_PLOGI, __ocs_fabric_common, __func__)) {
1575 __ocs_fabric_common(__func__, ctx, evt, arg);
1592 __ocs_fabric_common(__func__, ctx, evt, arg);
1611 * @param evt Event to process.
1618 __ocs_p2p_wait_plogi_rsp_recvd_prli(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1626 switch(evt) {
1647 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_PLOGI, __ocs_fabric_common, __func__)) {
1666 if (node_check_els_req(ctx, evt, arg, FC_ELS_CMD_PLOGI, __ocs_fabric_common, __func__)) {
1676 __ocs_fabric_common(__func__, ctx, evt, arg);
1692 * @param evt Event to process.
1699 __ocs_p2p_wait_node_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
1706 switch(evt) {
1743 node_printf(node, "%s received\n", ocs_sm_event_name(evt));
1748 node_printf(node, "%s: PRLI received before node is attached\n", ocs_sm_event_name(evt));
1753 __ocs_fabric_common(__func__, ctx, evt, arg);