Motr  M0
m0_stob_ops Struct Reference

#include <stob.h>

Collaboration diagram for m0_stob_ops:
Collaboration graph

Data Fields

void(* sop_fini )(struct m0_stob *stob)
 
void(* sop_destroy_credit )(struct m0_stob *stob, struct m0_be_tx_credit *accum)
 
int(* sop_destroy )(struct m0_stob *stob, struct m0_dtx *dtx)
 
int(* sop_punch_credit )(struct m0_stob *stob, struct m0_indexvec *want, struct m0_indexvec *got, struct m0_be_tx_credit *accum)
 
int(* sop_punch )(struct m0_stob *stob, struct m0_indexvec *range, struct m0_dtx *dtx)
 
int(* sop_io_init )(struct m0_stob *stob, struct m0_stob_io *io)
 
uint32_t(* sop_block_shift )(struct m0_stob *stob)
 
int(* sop_fd )(struct m0_stob *stob)
 

Detailed Description

Stob operations vector.

Definition at line 179 of file stob.h.

Field Documentation

◆ sop_block_shift

uint32_t(* sop_block_shift) (struct m0_stob *stob)
See also
m0_stob_block_shift()

Definition at line 204 of file stob.h.

◆ sop_destroy

int(* sop_destroy) (struct m0_stob *stob, struct m0_dtx *dtx)
See also
m0_stob_destroy()

Definition at line 192 of file stob.h.

◆ sop_destroy_credit

void(* sop_destroy_credit) (struct m0_stob *stob, struct m0_be_tx_credit *accum)
See also
m0_stob_destroy_credit()

Definition at line 189 of file stob.h.

◆ sop_fd

int(* sop_fd) (struct m0_stob *stob)
See also
m0_stob_fd()

Definition at line 206 of file stob.h.

◆ sop_fini

void(* sop_fini) (struct m0_stob *stob)

Called when the last reference on the object is released or stob is evicted from the cache.

XXX This method is called under exclusive mode stob cache lock.

See also
m0_stob_put()

Definition at line 187 of file stob.h.

◆ sop_io_init

int(* sop_io_init) (struct m0_stob *stob, struct m0_stob_io *io)
See also
m0_stob_io_init()

Definition at line 202 of file stob.h.

◆ sop_punch

int(* sop_punch) (struct m0_stob *stob, struct m0_indexvec *range, struct m0_dtx *dtx)
See also
m0_stob_punch()

Definition at line 199 of file stob.h.

◆ sop_punch_credit

int(* sop_punch_credit) (struct m0_stob *stob, struct m0_indexvec *want, struct m0_indexvec *got, struct m0_be_tx_credit *accum)
See also
m0_stob_punch_credit()

Definition at line 194 of file stob.h.


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