Motr
M0
|
#include "reqh/reqh_service.h"
Go to the source code of this file.
Macros | |
#define | __MOTR_REQH_REQH_SERVICE_INTERNAL_H__ |
#define | CTX_STATE(ctx) (ctx)->sc_sm.sm_state |
Enumerations | |
enum | { M0_RSC_OFFLINE, M0_RSC_ONLINE, M0_RSC_CONNECTING, M0_RSC_DISCONNECTING, M0_RSC_CANCELLED } |
enum | { M0_RSC_RLINK_INITED, M0_RSC_RLINK_CONNECT, M0_RSC_RLINK_DISCONNECT, M0_RSC_RLINK_CANCEL, M0_RSC_RLINK_ABORT } |
Functions | |
static void | reqh_service_ctx_sm_lock (struct m0_reqh_service_ctx *ctx) |
static void | reqh_service_ctx_sm_unlock (struct m0_reqh_service_ctx *ctx) |
static bool | reqh_service_ctx_sm_is_locked (const struct m0_reqh_service_ctx *ctx) |
static void | reqh_service_ctx_state_move (struct m0_reqh_service_ctx *ctx, int state) |
static void | reqh_service_ctx_flag_set (struct m0_reqh_service_ctx *ctx, int flag) |
static void | reqh_service_ctx_flag_clear (struct m0_reqh_service_ctx *ctx, int flag) |
static bool | reqh_service_ctx_flag_is_set (const struct m0_reqh_service_ctx *ctx, int flag) |
#define __MOTR_REQH_REQH_SERVICE_INTERNAL_H__ |
Definition at line 26 of file reqh_service_internal.h.
#define CTX_STATE | ( | ctx | ) | (ctx)->sc_sm.sm_state |
Definition at line 53 of file reqh_service_internal.h.
anonymous enum |
Enumerator | |
---|---|
M0_RSC_OFFLINE | |
M0_RSC_ONLINE | |
M0_RSC_CONNECTING | |
M0_RSC_DISCONNECTING | |
M0_RSC_CANCELLED |
Definition at line 30 of file reqh_service_internal.h.
anonymous enum |
Enumerator | |
---|---|
M0_RSC_RLINK_INITED | |
M0_RSC_RLINK_CONNECT | |
M0_RSC_RLINK_DISCONNECT | |
M0_RSC_RLINK_CANCEL | |
M0_RSC_RLINK_ABORT |
Definition at line 38 of file reqh_service_internal.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 66 of file reqh_service_internal.h.
|
inlinestatic |
Definition at line 55 of file reqh_service_internal.h.
|
inlinestatic |
Definition at line 60 of file reqh_service_internal.h.
|
inlinestatic |
Definition at line 72 of file reqh_service_internal.h.