Motr  M0
update.h File Reference
#include "dtm/nucleus.h"
#include "lib/cookie.h"
#include "lib/types_xc.h"
#include "lib/cookie_xc.h"
#include "xcode/xcode.h"
Include dependency graph for update.h:

Go to the source code of this file.

Data Structures

struct  m0_dtm_update_comm
 
struct  m0_dtm_update
 
struct  m0_dtm_update_ops
 
struct  m0_dtm_update_type
 
struct  m0_dtm_update_data
 
struct  m0_dtm_history_id
 
struct  m0_dtm_update_descr
 

Macros

#define __MOTR_DTM_UPDATE_H__
 
#define M0_DTM_UPDATE_DATA(label, rule, ver, orig_ver)
 

Enumerations

enum  m0_dtm_update_comm_state { M0_DUX_NEW, M0_DUX_INFLIGHT, M0_DUX_REPLIED }
 
enum  m0_dtm_update_comm_flags { M0_DUCF_REPLIED_CALLED = (1 << 0) }
 
enum  { M0_DTM_USER_UPDATE_BASE = 0x100000 }
 

Functions

M0_INTERNAL bool m0_dtm_update_invariant (const struct m0_dtm_update *update)
 
struct m0_dtm_oper_updates M0_XCA_DOMAIN (rpc)
 
M0_INTERNAL void m0_dtm_update_init (struct m0_dtm_update *update, struct m0_dtm_history *history, struct m0_dtm_oper *oper, const struct m0_dtm_update_data *data)
 
M0_INTERNAL bool m0_dtm_update_is_user (const struct m0_dtm_update *update)
 
M0_INTERNAL void m0_dtm_update_pack (const struct m0_dtm_update *update, struct m0_dtm_update_descr *updd)
 
M0_INTERNAL void m0_dtm_update_unpack (struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd)
 
M0_INTERNAL int m0_dtm_update_build (struct m0_dtm_update *update, struct m0_dtm_oper *oper, const struct m0_dtm_update_descr *updd)
 
M0_INTERNAL void m0_dtm_update_reint (struct m0_dtm_update *update)
 
M0_INTERNAL void m0_dtm_comm_set (struct m0_dtm_update *update, struct m0_fop *fop)
 
M0_INTERNAL bool m0_dtm_update_matches_descr (const struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd)
 
M0_INTERNAL bool m0_dtm_descr_matches_update (const struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd)
 
M0_INTERNAL void m0_dtm_update_list_init (struct m0_tl *list)
 
M0_INTERNAL void m0_dtm_update_list_fini (struct m0_tl *list)
 
M0_INTERNAL void m0_dtm_update_link (struct m0_tl *list, struct m0_dtm_update *update, uint32_t nr)
 

Variables

uint64_t da_ver
 
uint64_t da_orig_ver
 
uint32_t da_label
 
uint8_t da_rule
 
struct m0_uint128 hid_id
 
struct m0_cookie hid_sender
 
struct m0_cookie hid_receiver
 
uint8_t hid_htype
 
struct m0_dtm_update_data udd_data
 
struct m0_dtm_history_id udd_id
 
uint8_t udd_utype
 

Macro Definition Documentation

◆ __MOTR_DTM_UPDATE_H__

#define __MOTR_DTM_UPDATE_H__

Definition at line 27 of file update.h.

Variable Documentation

◆ da_label

uint32_t da_label

Definition at line 80 of file update.h.

◆ da_orig_ver

uint64_t da_orig_ver

Definition at line 79 of file update.h.

◆ da_rule

uint8_t da_rule

Definition at line 81 of file update.h.

◆ da_ver

uint64_t da_ver

Definition at line 78 of file update.h.

◆ hid_htype

uint8_t hid_htype

Definition at line 81 of file update.h.

◆ hid_id

struct m0_uint128 hid_id

Definition at line 78 of file update.h.

◆ hid_receiver

struct m0_cookie hid_receiver

Definition at line 80 of file update.h.

◆ hid_sender

struct m0_cookie hid_sender

Definition at line 79 of file update.h.

◆ udd_data

struct m0_dtm_update_data udd_data

Definition at line 78 of file update.h.

◆ udd_id

struct m0_dtm_history_id udd_id

Definition at line 79 of file update.h.

◆ udd_utype

uint8_t udd_utype

Definition at line 80 of file update.h.