Motr
M0
|
#include "lib/trace.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/bob.h"
#include "fid/fid.h"
#include "motr/magic.h"
#include "reqh/reqh_service.h"
#include "reqh/reqh.h"
#include "rm/rm.h"
#include "rm/rm_service.h"
#include "rm/rm_internal.h"
#include "rm/rm_fops.h"
#include "rm/rm_rwlock.h"
#include "file/file.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_RM |
Functions | |
static int | rms_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
static void | rms_fini (struct m0_reqh_service *service) |
static int | rms_start (struct m0_reqh_service *service) |
static void | rms_stop (struct m0_reqh_service *service) |
M0_BOB_DEFINE (M0_INTERNAL, &rms_bob, m0_reqh_rm_service) | |
M0_INTERNAL int | m0_rms_register (void) |
M0_INTERNAL void | m0_rms_unregister (void) |
static void | rms_resources_free (struct m0_rm_resource_type *rtype) |
static struct m0_rm_owner * | rmsvc_owner (const struct m0_rm_resource *res) |
M0_INTERNAL int | m0_rm_svc_owner_create (struct m0_reqh_service *service, struct m0_rm_owner **out, struct m0_buf *resbuf) |
M0_INTERNAL struct m0_rm_domain * | m0_rm_svc_domain_get (const struct m0_reqh_service *svc) |
Variables | |
static const struct m0_reqh_service_type_ops | rms_type_ops |
static const struct m0_reqh_service_ops | rms_ops |
struct m0_reqh_service_type | m0_rms_type |
static const struct m0_bob_type | rms_bob |
static const struct m0_fid_type | owner_fid_type |