Motr  M0
service.c File Reference
#include "lib/trace.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/locality.h"
#include "motr/magic.h"
#include "motr/setup.h"
#include "rpc/rpclib.h"
#include "reqh/reqh_service.h"
#include "reqh/reqh.h"
#include "layout/layout.h"
#include "layout/linear_enum.h"
#include "layout/pdclust.h"
#include "conf/confc.h"
#include "fdmi/fops.h"
#include "fdmi/service.h"
Include dependency graph for service.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI
 

Functions

static int fdms_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
 
static void fdms_fini (struct m0_reqh_service *service)
 
static int fdms_start (struct m0_reqh_service *service)
 
static void fdms_prepare_to_stop (struct m0_reqh_service *service)
 
static void fdms_stop (struct m0_reqh_service *service)
 
M0_INTERNAL int m0_fdms_register (void)
 
M0_INTERNAL void m0_fdms_unregister (void)
 

Variables

static const struct m0_reqh_service_type_ops fdms_type_ops
 
static const struct m0_reqh_service_ops fdms_ops
 
M0_INTERNAL struct m0_reqh_service_type m0_fdmi_service_type