23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_ISCS 80 .rst_typecode = M0_CST_ISCS,
93 if (isc_htable ==
NULL)
179 #undef M0_TRACE_SUBSYSTEM
static uint64_t comp_hash_func(const struct m0_htable *htable, const void *k)
M0_INTERNAL void m0_iscs_unregister(void)
int(* rso_start)(struct m0_reqh_service *service)
#define m0_htable_for(name, var, htable)
M0_INTERNAL uint64_t m0_fid_hash(const struct m0_fid *fid)
M0_INTERNAL void m0_isc_mod_fini(void)
M0_INTERNAL struct m0 * m0_get(void)
static void iscs_stop(struct m0_reqh_service *service)
int m0_reqh_service_type_register(struct m0_reqh_service_type *rstype)
static bool comp_key_eq(const void *key1, const void *key2)
#define M0_ERR_INFO(rc, fmt,...)
return M0_ERR(-EOPNOTSUPP)
struct m0_reqh_service riscs_gen
M0_HT_DEFINE(m0_isc, M0_INTERNAL, struct m0_isc_comp, struct m0_fid)
#define M0_AMB(obj, ptr, field)
static const struct socktype stype[]
M0_INTERNAL int m0_iscservice_fop_init(void)
M0_INTERNAL int m0_isc_mod_init(void)
M0_INTERNAL void m0_isc_fom_type_init(void)
M0_INTERNAL void m0_iscservice_fop_fini(void)
static const struct m0_reqh_service_type_ops iscs_type_ops
M0_INTERNAL struct m0_htable * m0_isc_htable_get(void)
M0_INTERNAL void m0_isc_comp_unregister(const struct m0_fid *fid)
int m0_reqh_service_async_start_simple(struct m0_reqh_service_start_async_ctx *asc)
M0_INTERNAL bool m0_fid_eq(const struct m0_fid *fid0, const struct m0_fid *fid1)
int(* rsto_service_allocate)(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
struct m0_reqh_service_type m0_iscs_type
#define M0_ALLOC_PTR(ptr)
void * i_moddata[M0_MODULE_NR]
static int iscs_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
static const struct m0_reqh_service_ops iscs_ops
static void iscs_fini(struct m0_reqh_service *service)
void m0_reqh_service_type_unregister(struct m0_reqh_service_type *rstype)
static struct m0_reqh_service * service[REQH_IN_UT_MAX]
M0_HT_DESCR_DEFINE(m0_isc, "Hash table for compute functions", M0_INTERNAL, struct m0_isc_comp, ic_hlink, ic_magic, M0_ISC_COMP_MAGIC, M0_ISC_TLIST_HEAD_MAGIC, ic_fid, comp_hash_func, comp_key_eq)
const struct m0_reqh_service_ops * rs_ops
M0_INTERNAL int m0_iscs_register(void)
static int iscs_start(struct m0_reqh_service *service)