Motr  M0
operation.c File Reference
#include "lib/trace.h"
#include "lib/misc.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "dtm/dtm_internal.h"
#include "dtm/history.h"
#include "dtm/update.h"
#include "dtm/remote.h"
#include "dtm/operation.h"
#include "dtm/dtm.h"
Include dependency graph for operation.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM
 

Functions

M0_INTERNAL void m0_dtm_oper_init (struct m0_dtm_oper *oper, struct m0_dtm *dtm, struct m0_tl *uu)
 
M0_INTERNAL void m0_dtm_oper_fini (struct m0_dtm_oper *oper)
 
M0_INTERNAL bool m0_dtm_oper_invariant (const struct m0_dtm_oper *oper)
 
M0_INTERNAL void m0_dtm_oper_close (struct m0_dtm_oper *oper)
 
M0_INTERNAL void m0_dtm_oper_prepared (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem)
 
M0_INTERNAL void m0_dtm_oper_done (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem)
 
M0_INTERNAL void m0_dtm_oper_pack (struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem, struct m0_dtm_oper_descr *ode)
 
M0_INTERNAL int m0_dtm_oper_build (struct m0_dtm_oper *oper, struct m0_tl *uu, const struct m0_dtm_oper_descr *ode)
 
M0_INTERNAL void m0_dtm_reply_pack (const struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *request, struct m0_dtm_oper_descr *reply)
 
M0_INTERNAL void m0_dtm_reply_unpack (struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *reply)
 
M0_INTERNAL struct m0_dtm_updatem0_dtm_oper_get (const struct m0_dtm_oper *oper, uint32_t label)
 
M0_INTERNAL bool oper_update_unique (const struct m0_dtm_oper *oper, const struct m0_dtm_update *update)
 
M0_INTERNAL void oper_lock (const struct m0_dtm_oper *oper)
 
M0_INTERNAL void oper_unlock (const struct m0_dtm_oper *oper)
 
M0_INTERNAL void oper_print (const struct m0_dtm_oper *oper)