Motr  M0
cm.c File Reference
#include "lib/memory.h"
#include "lib/assert.h"
#include "lib/errno.h"
#include "lib/trace.h"
#include "lib/chan.h"
#include "conf/helpers.h"
#include "fop/fom.h"
#include "reqh/reqh.h"
#include "rpc/rpc_machine.h"
#include "pool/pool.h"
#include "cm/proxy.h"
#include "dix/fid_convert.h"
#include "dix/cm/cp.h"
#include "dix/cm/cm.h"
#include "dix/cm/iter.h"
Include dependency graph for cm.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DIXCM
 

Functions

M0_INTERNAL struct m0_dix_cmcm2dix (struct m0_cm *cm)
 
M0_INTERNAL int m0_dix_cm_type_register (void)
 
M0_INTERNAL void m0_dix_cm_type_deregister (void)
 
M0_INTERNAL int m0_dix_cm_setup (struct m0_cm *cm)
 
M0_INTERNAL int m0_dix_cm_prepare (struct m0_cm *cm)
 
static bool dix_cm_proxies_completed_cb (struct m0_clink *cl)
 
M0_INTERNAL int m0_dix_cm_start (struct m0_cm *cm)
 
static void dix_cm_tstats_calc (int loc_idx, void *loc_stats, void *total_stats)
 
M0_INTERNAL void m0_dix_cm_stop (struct m0_cm *cm)
 
M0_INTERNAL void m0_dix_cm_fini (struct m0_cm *cm)
 
M0_INTERNAL int m0_dix_get_space_for (struct m0_cm *cm, const struct m0_cm_ag_id *id, size_t *count)
 
M0_INTERNAL int m0_dix_cm_ag_next (struct m0_cm *cm, const struct m0_cm_ag_id *id_curr, struct m0_cm_ag_id *id_next)
 
M0_INTERNAL struct m0_reqhm0_dix_cm2reqh (const struct m0_dix_cm *dcm)
 
static struct m0_cm_proxydix_cm_sdev2proxy (struct m0_dix_cm *dcm, uint32_t sdev_id)
 
static int dix_cm_ag_setup (struct m0_cm *cm, struct m0_cm_cp *cp, struct m0_fid *cctg_fid, uint64_t recs_nr)
 
M0_INTERNAL int m0_dix_cm_data_next (struct m0_cm *cm, struct m0_cm_cp *cp)
 
M0_INTERNAL bool m0_dix_is_peer (struct m0_cm *cm, struct m0_reqh_service_ctx *ctx)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DIXCM

Definition at line 23 of file cm.c.