25 #ifndef __MOTR_REQH_REQH_SERVICE_INTERNAL_H__ 26 #define __MOTR_REQH_REQH_SERVICE_INTERNAL_H__ 53 #define CTX_STATE(ctx) (ctx)->sc_sm.sm_state static void reqh_service_ctx_state_move(struct m0_reqh_service_ctx *ctx, int state)
static void reqh_service_ctx_flag_clear(struct m0_reqh_service_ctx *ctx, int flag)
static bool reqh_service_ctx_sm_is_locked(const struct m0_reqh_service_ctx *ctx)
static void reqh_service_ctx_sm_unlock(struct m0_reqh_service_ctx *ctx)
M0_INTERNAL void m0_sm_group_unlock(struct m0_sm_group *grp)
static void reqh_service_ctx_flag_set(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)
void m0_sm_state_set(struct m0_sm *mach, int state)
static void reqh_service_ctx_sm_lock(struct m0_reqh_service_ctx *ctx)
M0_INTERNAL void m0_sm_group_lock(struct m0_sm_group *grp)
M0_INTERNAL bool m0_sm_group_is_locked(const struct m0_sm_group *grp)