Motr  M0
fop.h File Reference
#include "fop/fop.h"
#include "fop/fom.h"
#include "xcode/xcode_attr.h"
#include "dtm0/tx_desc.h"
#include "dtm0/tx_desc_xc.h"
Include dependency graph for fop.h:

Go to the source code of this file.

Data Structures

struct  dtm0_req_fop
 
struct  dtm0_rep_fop
 

Macros

#define __MOTR_DTM0_FOP_H__
 

Enumerations

enum  m0_dtm0s_msg {
  DTM_TEST, DTM_EXECUTE, DTM_EXECUTED, DTM_PERSISTENT,
  DTM_REDO
}
 

Functions

M0_INTERNAL int m0_dtm0_fop_init (void)
 
M0_INTERNAL void m0_dtm0_fop_fini (void)
 
struct dtm0_req_fop M0_XCA_DOMAIN (rpc)
 
uint32_t dtr_msg M0_XCA_FENUM (m0_dtm0s_msg)
 
M0_INTERNAL int m0_dtm0_on_committed (struct m0_fom *fom, const struct m0_dtm0_tid *id)
 
M0_INTERNAL int m0_dtm0_logrec_update (struct m0_be_dtm0_log *log, struct m0_be_tx *tx, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload)
 

Variables

struct m0_fop_type dtm0_req_fop_fopt
 
struct m0_fop_type dtm0_rep_fop_fopt
 
struct m0_fop_type dtm0_redo_fop_fopt
 
enum m0_dtm0s_msg M0_XCA_ENUM
 
struct m0_dtm0_tx_desc dtr_txr
 
struct m0_buf dtr_payload
 
int32_t dr_rc
 
struct m0_dtm0_tx_desc dr_txr
 

Macro Definition Documentation

◆ __MOTR_DTM0_FOP_H__

#define __MOTR_DTM0_FOP_H__

Definition at line 26 of file fop.h.

Enumeration Type Documentation

◆ m0_dtm0s_msg

Enumerator
DTM_TEST 
DTM_EXECUTE 
DTM_EXECUTED 
DTM_PERSISTENT 
DTM_REDO 

Definition at line 45 of file fop.h.

Function Documentation

◆ m0_dtm0_fop_fini()

M0_INTERNAL void m0_dtm0_fop_fini ( void  )

Definition at line 100 of file fop.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_fop_init()

M0_INTERNAL int m0_dtm0_fop_init ( void  )

Definition at line 166 of file fop.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_logrec_update()

M0_INTERNAL int m0_dtm0_logrec_update ( struct m0_be_dtm0_log log,
struct m0_be_tx tx,
struct m0_dtm0_tx_desc txd,
struct m0_buf payload 
)

Definition at line 284 of file fop.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_on_committed()

M0_INTERNAL int m0_dtm0_on_committed ( struct m0_fom fom,
const struct m0_dtm0_tid id 
)

Definition at line 300 of file fop.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ M0_XCA_DOMAIN()

struct dtm0_req_fop M0_XCA_DOMAIN ( rpc  )

◆ M0_XCA_FENUM()

uint32_t dtr_msg M0_XCA_DOMAIN::M0_XCA_FENUM ( m0_dtm0s_msg  )

Variable Documentation

◆ dr_rc

int32_t dr_rc

Status code of dtm operation.

Definition at line 45 of file fop.h.

◆ dr_txr

struct m0_dtm0_tx_desc dr_txr

operation results.

Definition at line 47 of file fop.h.

◆ dtm0_redo_fop_fopt

struct m0_fop_type dtm0_redo_fop_fopt

Definition at line 44 of file fop.c.

◆ dtm0_rep_fop_fopt

struct m0_fop_type dtm0_rep_fop_fopt

Definition at line 43 of file fop.c.

◆ dtm0_req_fop_fopt

struct m0_fop_type dtm0_req_fop_fopt

Definition at line 42 of file fop.c.

◆ dtr_payload

struct m0_buf dtr_payload

Definition at line 46 of file fop.h.

◆ dtr_txr

struct m0_dtm0_tx_desc dtr_txr

Definition at line 45 of file fop.h.

◆ M0_XCA_ENUM

enum m0_dtm0s_msg M0_XCA_ENUM