|
Motr
M0
|
#include "lib/trace.h"#include "lib/assert.h"#include "lib/chan.h"#include "lib/mutex.h"#include "lib/memory.h"#include "lib/errno.h"#include "lib/misc.h"#include "reqh/reqh_service.h"#include "reqh/reqh.h"#include "fop/fom.h"#include "fop/fop.h"#include "addb2/addb2.h"#include "addb2/addb2_xc.h"#include "addb2/internal.h"#include "addb2/consumer.h"#include "addb2/sys.h"#include "addb2/service.h"
Go to the source code of this file.
Data Structures | |
| struct | addb2_service |
| struct | addb2_fom |
Macros | |
| #define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_ADDB |
Enumerations | |
| enum | { ADDB2_CONSUME = M0_FOM_PHASE_INIT, ADDB2_DONE = M0_FOM_PHASE_FINISH, ADDB2_SUBMIT } |
Functions | |
| static int | addb2_service_start (struct m0_reqh_service *service) |
| static void | addb2_service_stop (struct m0_reqh_service *service) |
| static void | addb2_service_fini (struct m0_reqh_service *service) |
| static void | addb2_done (struct m0_addb2_trace_obj *obj) |
| static size_t | addb2_fom_home_locality (const struct m0_fom *fom) |
| static int | addb2_service_type_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
| M0_INTERNAL int | m0_addb2_service_module_init (void) |
| M0_INTERNAL void | m0_addb2_service_module_fini (void) |
| static int | addb2_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) |
| static int | addb2_fom_tick (struct m0_fom *fom0) |
| static void | addb2_fom_fini (struct m0_fom *fom0) |
Variables | |
| static const struct m0_reqh_service_ops | addb2_service_ops |
| static const struct m0_reqh_service_type_ops | addb2_service_type_ops |
| static const struct m0_fom_ops | addb2_fom_ops |
| M0_INTERNAL const struct m0_fom_type_ops | m0_addb2__fom_type_ops |
| static struct m0_sm_state_descr | addb2_fom_phases [] |
| M0_INTERNAL const struct m0_sm_conf | m0_addb2__sm_conf |
| M0_INTERNAL struct m0_reqh_service_type | m0_addb2_service_type |