21 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT 43 .rhia_mdstore = (
void *)1,
79 "null_computation",
fid);
static int null_computation(struct m0_buf *in, struct m0_buf *out, struct m0_isc_comp_private *comp_data, int *rc)
M0_INTERNAL void cc_block_launch(struct cnc_cntrl_block *cc_block, void(*t_op)(void *))
M0_INTERNAL int m0_reqh_service_start(struct m0_reqh_service *service)
M0_INTERNAL void m0_reqh_service_stop(struct m0_reqh_service *service)
static void test_init_fini(void)
static struct m0_rpc_machine rpc_machine
#define M0_REQH_INIT(reqh,...)
M0_INTERNAL void m0_reqh_service_prepare_to_stop(struct m0_reqh_service *service)
static void fid_set(void *fid, int tid)
struct m0_semaphore * ta_barrier
struct m0_ut_suite isc_api_ut
M0_INTERNAL void m0_fid_set(struct m0_fid *fid, uint64_t container, uint64_t key)
struct m0_reqh_service_type m0_iscs_type
M0_INTERNAL int m0_isc_comp_state_probe(const struct m0_fid *fid)
M0_INTERNAL void m0_reqh_service_fini(struct m0_reqh_service *service)
struct m0_tl rh_rpc_machines
static struct m0_reqh_service * isc
M0_INTERNAL int m0_reqh_service_allocate(struct m0_reqh_service **out, const struct m0_reqh_service_type *stype, struct m0_reqh_context *rctx)
M0_INTERNAL void m0_reqh_service_init(struct m0_reqh_service *service, struct m0_reqh *reqh, const struct m0_fid *fid)
M0_INTERNAL void m0_isc_comp_unregister(const struct m0_fid *fid)
M0_INTERNAL void m0_reqh_start(struct m0_reqh *reqh)
#define M0_ALLOC_PTR(ptr)
M0_INTERNAL void m0_reqh_idle_wait_for(struct m0_reqh *reqh, struct m0_reqh_service *service)
static struct m0_reqh reqh
void comp_register(void *args)
M0_INTERNAL void m0_semaphore_up(struct m0_semaphore *semaphore)
M0_INTERNAL int m0_isc_comp_register(int(*ftn)(struct m0_buf *arg_in, struct m0_buf *args_out, struct m0_isc_comp_private *comp_data, int *rc), const char *f_name, const struct m0_fid *ftn_fid)
static void test_register(void)
struct m0_fid g_process_fid
M0_INTERNAL void cc_block_init(struct cnc_cntrl_block *cc_block, size_t size, void(*t_data_init)(void *, int))