Motr  M0
m0_stob_domain_ops Struct Reference

#include <domain.h>

Collaboration diagram for m0_stob_domain_ops:
Collaboration graph

Data Fields

void(* sdo_fini )(struct m0_stob_domain *dom)
 
struct m0_stob *(* sdo_stob_alloc )(struct m0_stob_domain *dom, const struct m0_fid *stob_fid)
 
void(* sdo_stob_free )(struct m0_stob_domain *dom, struct m0_stob *stob)
 
int(* sdo_stob_cfg_parse )(const char *str_cfg_create, void **cfg_create)
 
void(* sdo_stob_cfg_free )(void *cfg_create)
 
int(* sdo_stob_init )(struct m0_stob *stob, struct m0_stob_domain *dom, const struct m0_fid *stob_fid)
 
void(* sdo_stob_create_credit )(struct m0_stob_domain *dom, struct m0_be_tx_credit *accum)
 
int(* sdo_stob_create )(struct m0_stob *stob, struct m0_stob_domain *dom, struct m0_dtx *dtx, const struct m0_fid *stob_fid, void *cfg)
 
void(* sdo_stob_write_credit )(const struct m0_stob_domain *dom, const struct m0_stob_io *io, struct m0_be_tx_credit *accum)
 

Detailed Description

Stob domain operations vector.

Definition at line 109 of file domain.h.

Field Documentation

◆ sdo_fini

void(* sdo_fini) (struct m0_stob_domain *dom)
See also
m0_stob_domain_fini(), m0_stob_domain_destroy()

Definition at line 111 of file domain.h.

◆ sdo_stob_alloc

struct m0_stob*(* sdo_stob_alloc) (struct m0_stob_domain *dom, const struct m0_fid *stob_fid)

Allocates memory for m0_stob structure.

See also
m0_stob_find_by_key()

Definition at line 116 of file domain.h.

◆ sdo_stob_cfg_free

void(* sdo_stob_cfg_free) (void *cfg_create)

Frees configuration allocated by successful m0_stob_domain_ops::sdo_stob_cfg_parse()

Definition at line 132 of file domain.h.

◆ sdo_stob_cfg_parse

int(* sdo_stob_cfg_parse) (const char *str_cfg_create, void **cfg_create)

Parses configuration for m0_stob_create()

Definition at line 126 of file domain.h.

◆ sdo_stob_create

int(* sdo_stob_create) (struct m0_stob *stob, struct m0_stob_domain *dom, struct m0_dtx *dtx, const struct m0_fid *stob_fid, void *cfg)
See also
m0_stob_create()

Definition at line 141 of file domain.h.

◆ sdo_stob_create_credit

void(* sdo_stob_create_credit) (struct m0_stob_domain *dom, struct m0_be_tx_credit *accum)
See also
m0_stob_create_credit()

Definition at line 138 of file domain.h.

◆ sdo_stob_free

void(* sdo_stob_free) (struct m0_stob_domain *dom, struct m0_stob *stob)

Frees memory for m0_stob structure allocated by m0_stob_domain_ops::sdo_stob_alloc().

See also
m0_stob_find_by_key(), m0_stob_put().

Definition at line 123 of file domain.h.

◆ sdo_stob_init

int(* sdo_stob_init) (struct m0_stob *stob, struct m0_stob_domain *dom, const struct m0_fid *stob_fid)

m0_stob_locate() type-specific implementation

Definition at line 134 of file domain.h.

◆ sdo_stob_write_credit

void(* sdo_stob_write_credit) (const struct m0_stob_domain *dom, const struct m0_stob_io *io, struct m0_be_tx_credit *accum)
See also
m0_stob_io_credit()

Definition at line 147 of file domain.h.


The documentation for this struct was generated from the following file: