Motr  M0
entrypoint.c File Reference
#include "lib/trace.h"
#include "ha/entrypoint.h"
#include "ut/ut.h"
#include "lib/memory.h"
#include "lib/types.h"
#include "lib/string.h"
#include "lib/arith.h"
#include "lib/misc.h"
#include "fid/fid.h"
#include "ha/ut/helper.h"
Include dependency graph for entrypoint.c:

Go to the source code of this file.

Data Structures

struct  ha_ut_entrypoint_usecase_ctx
 

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 

Enumerations

enum  { HA_UT_ENTRYPOINT_USECASE_CONFD_NR = 0x101 }
 

Functions

static void ha_ut_entrypoint_request_arrived (struct m0_ha_entrypoint_server *hes, const struct m0_ha_entrypoint_req *req, const struct m0_uint128 *req_id)
 
static void ha_ut_entrypoint_reply_init (struct ha_ut_entrypoint_usecase_ctx *uctx)
 
static void ha_ut_entrypoint_reply_fini (struct ha_ut_entrypoint_usecase_ctx *uctx)
 
static void ha_ut_entrypoint_reply_check (struct ha_ut_entrypoint_usecase_ctx *uctx, struct m0_ha_entrypoint_rep *rep)
 
static void ha_ut_entrypoint_server_start (struct ha_ut_entrypoint_usecase_ctx *uctx, struct m0_ha_ut_rpc_ctx *ctx, struct m0_ha_entrypoint_server *esr)
 
static void ha_ut_entrypoint_server_stop (struct ha_ut_entrypoint_usecase_ctx *uctx, struct m0_ha_entrypoint_server *esr)
 
static void ha_ut_entrypoint_client_start (struct ha_ut_entrypoint_usecase_ctx *uctx, struct m0_ha_ut_rpc_ctx *ctx, struct m0_ha_entrypoint_client *ecl)
 
static void ha_ut_entrypoint_client_stop (struct ha_ut_entrypoint_usecase_ctx *uctx, struct m0_ha_entrypoint_client *ecl)
 
void m0_ha_ut_entrypoint_usecase (void)
 
static bool ha_ut_entrypoint_client_cb (struct m0_clink *clink)
 
void m0_ha_ut_entrypoint_client (void)
 

Variables

enum { ... }  M0_XCA_DOMAIN