Motr  M0
active_record.h File Reference
#include "be/list.h"
#include "lib/buf.h"
#include "lib/chan.h"
#include "lib/mutex.h"
Include dependency graph for active_record.h:

Go to the source code of this file.

Data Structures

struct  m0_be_active_record
 
struct  m0_be_active_record_domain_subsystem
 
struct  m0_be_active_record_domain
 

Macros

#define __MOTR_BE_ACT_RECORD_H__
 
#define m0_be_active_record_domain_create(dom, tx, seg, ...)
 

Enumerations

enum  m0_be_active_record_type { ART_OPEN, ART_CLOSE, ART_NORM }
 
enum  m0_be_active_record_domain_op { RDO_CREATE, RDO_DESTROY }
 
enum  m0_be_active_record_op { ARO_CREATE, ARO_DESTROY, ARO_DEL, ARO_ADD }
 

Functions

M0_INTERNAL void m0_be_active_record_domain_init (struct m0_be_active_record_domain *dom, struct m0_be_seg *seg)
 
M0_INTERNAL void m0_be_active_record_domain_fini (struct m0_be_active_record_domain *dom)
 
M0_INTERNAL bool m0_be_active_record_domain__invariant (struct m0_be_active_record_domain *dom)
 
M0_INTERNAL int m0_be_active_record_domain__create (struct m0_be_active_record_domain **dom, struct m0_be_tx *tx, struct m0_be_seg *seg, const struct m0_buf *path)
 
M0_INTERNAL int m0_be_active_record_domain_destroy (struct m0_be_active_record_domain *dom, struct m0_be_tx *tx)
 
M0_INTERNAL void m0_be_active_record_domain_credit (struct m0_be_active_record_domain *dom, enum m0_be_active_record_domain_op op, uint8_t subsys_nr, struct m0_be_tx_credit *accum)
 
M0_INTERNAL void m0_be_active_record_init (struct m0_be_active_record *rec, struct m0_be_active_record_domain *ar_dom)
 
M0_INTERNAL void m0_be_active_record_fini (struct m0_be_active_record *rec)
 
M0_INTERNAL bool m0_be_active_record__invariant (struct m0_be_active_record *rec)
 
M0_INTERNAL int m0_be_active_record_create (struct m0_be_active_record **rec, struct m0_be_tx *tx, struct m0_be_active_record_domain *ar_dom)
 
M0_INTERNAL int m0_be_active_record_destroy (struct m0_be_active_record *rec, struct m0_be_tx *tx)
 
M0_INTERNAL void m0_be_active_record_credit (struct m0_be_active_record *rec, enum m0_be_active_record_op op, struct m0_be_tx_credit *accum)
 
M0_INTERNAL int m0_be_active_record_add (const char *subsys, struct m0_be_active_record *rec, struct m0_be_tx *tx)
 
M0_INTERNAL int m0_be_active_record_del (const char *subsys, struct m0_be_active_record *rec, struct m0_be_tx *tx)
 

Macro Definition Documentation

◆ __MOTR_BE_ACT_RECORD_H__

#define __MOTR_BE_ACT_RECORD_H__

Definition at line 26 of file active_record.h.