Go to the source code of this file.
|
static int | iscs_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
|
static void | iscs_fini (struct m0_reqh_service *service) |
|
static int | iscs_start (struct m0_reqh_service *service) |
|
static void | iscs_stop (struct m0_reqh_service *service) |
|
static bool | comp_key_eq (const void *key1, const void *key2) |
|
static uint64_t | comp_hash_func (const struct m0_htable *htable, const void *k) |
|
| 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) |
|
| M0_HT_DEFINE (m0_isc, M0_INTERNAL, struct m0_isc_comp, struct m0_fid) |
|
M0_INTERNAL struct m0_htable * | m0_isc_htable_get (void) |
|
M0_INTERNAL int | m0_isc_mod_init (void) |
|
M0_INTERNAL void | m0_isc_mod_fini (void) |
|
M0_INTERNAL int | m0_iscs_register (void) |
|
M0_INTERNAL void | m0_iscs_unregister (void) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_ISCS |
◆ anonymous enum
◆ comp_hash_func()
static uint64_t comp_hash_func |
( |
const struct m0_htable * |
htable, |
|
|
const void * |
k |
|
) |
| |
|
static |
◆ comp_key_eq()
static bool comp_key_eq |
( |
const void * |
key1, |
|
|
const void * |
key2 |
|
) |
| |
|
static |
◆ iscs_allocate()
◆ iscs_fini()
◆ iscs_start()
◆ iscs_stop()
◆ M0_HT_DEFINE()
◆ M0_HT_DESCR_DEFINE()
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 |
|
|
) |
| |
◆ m0_isc_htable_get()
M0_INTERNAL struct m0_htable* m0_isc_htable_get |
( |
void |
| ) |
|
Returns the hash-table of computations stored with m0 instance.
Definition at line 83 of file isc_service.c.
◆ m0_isc_mod_fini()
M0_INTERNAL void m0_isc_mod_fini |
( |
void |
| ) |
|
◆ m0_isc_mod_init()
M0_INTERNAL int m0_isc_mod_init |
( |
void |
| ) |
|
Creates the hash-table of computations in m0 instance.
Definition at line 88 of file isc_service.c.
◆ m0_iscs_register()
M0_INTERNAL int m0_iscs_register |
( |
void |
| ) |
|
◆ m0_iscs_unregister()
M0_INTERNAL void m0_iscs_unregister |
( |
void |
| ) |
|
◆ iscs_ops
Initial value:= {
}
static void iscs_stop(struct m0_reqh_service *service)
int m0_reqh_service_async_start_simple(struct m0_reqh_service_start_async_ctx *asc)
static void iscs_fini(struct m0_reqh_service *service)
static int iscs_start(struct m0_reqh_service *service)
Definition at line 69 of file isc_service.c.
◆ iscs_type_ops
Initial value:= {
}
static int iscs_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
Definition at line 65 of file isc_service.c.
◆ m0_iscs_type
Initial value:= {
.rst_name = "M0_CST_ISCS",
.rst_typecode = M0_CST_ISCS,
}
static const struct m0_reqh_service_type_ops iscs_type_ops
Definition at line 76 of file isc_service.c.
◆ M0_XCA_DOMAIN
enum { ... } M0_XCA_DOMAIN |