static void ut_long_lock_service_fini(struct m0_reqh_service *service)
M0_INTERNAL int m0_reqh_service_start(struct m0_reqh_service *service)
const struct m0_fom_type_ops fom_rdwr_type_ops
M0_INTERNAL void m0_ut_rpc_mach_init_and_add(struct m0_ut_rpc_mach_ctx *ctx)
int(* rso_start)(struct m0_reqh_service *service)
static const int ll_cob_ids[]
static const struct m0_reqh_service_ops ut_long_lock_service_ops
static const struct m0_reqh_service_type_ops ut_long_lock_service_type_ops
struct m0_cob_domain_id rmc_cob_id
const struct m0_sm_conf m0_generic_conf
int m0_reqh_service_type_register(struct m0_reqh_service_type *rstype)
static int test_long_lock_init(void)
struct m0_fom_type rdwr_fom_type
static const char * ll_serv_addr[]
static const struct socktype stype[]
M0_INTERNAL void m0_fom_type_init(struct m0_fom_type *type, uint64_t id, const struct m0_fom_type_ops *ops, const struct m0_reqh_service_type *svc_type, const struct m0_sm_conf *sm)
static void test_long_lock_1(void)
M0_INTERNAL int m0_reqh_service_allocate(struct m0_reqh_service **out, const struct m0_reqh_service_type *stype, struct m0_reqh_context *rctx)
static int ut_long_lock_service_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
M0_INTERNAL void m0_reqh_service_init(struct m0_reqh_service *service, struct m0_reqh *reqh, const struct m0_fid *fid)
int(* rsto_service_allocate)(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
static void rdwr_send_fop(struct m0_reqh **reqh, size_t reqh_nr)
const struct m0_reqh_service_type * rs_type
#define M0_ALLOC_PTR(ptr)
static void test_long_lock_n(void)
static void ut_long_lock_service_stop(struct m0_reqh_service *service)
M0_INTERNAL void m0_ut_rpc_mach_fini(struct m0_ut_rpc_mach_ctx *ctx)
static struct m0_ut_rpc_mach_ctx rmach_ctx[REQH_IN_UT_MAX]
static int test_long_lock_fini(void)
struct m0_reqh_service_type ut_long_lock_service_type
void m0_reqh_service_type_unregister(struct m0_reqh_service_type *rstype)
static struct m0_reqh_service * service[REQH_IN_UT_MAX]
static int ut_long_lock_service_start(struct m0_reqh_service *service)
const struct m0_reqh_service_ops * rs_ops
struct m0_ut_suite m0_fop_lock_ut