Motr  M0
reqhut_fom.c File Reference

Go to the source code of this file.

Functions

static int reqhut_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int reqhut_fom_tick (struct m0_fom *fom)
 
static void reqhut_fom_fini (struct m0_fom *fom)
 
static size_t reqhut_find_fom_home_locality (const struct m0_fom *fom)
 

Variables

static struct m0_semaphore sem
 
static const struct m0_fom_ops reqhut_fom_ops
 
static const struct m0_fom_type_ops reqhut_fom_type_ops
 

Function Documentation

◆ reqhut_find_fom_home_locality()

static size_t reqhut_find_fom_home_locality ( const struct m0_fom fom)
static

Definition at line 60 of file reqhut_fom.c.

Here is the call graph for this function:

◆ reqhut_fom_create()

static int reqhut_fom_create ( struct m0_fop fop,
struct m0_fom **  out,
struct m0_reqh reqh 
)
static

Definition at line 39 of file reqhut_fom.c.

Here is the call graph for this function:

◆ reqhut_fom_fini()

static void reqhut_fom_fini ( struct m0_fom fom)
static

Definition at line 73 of file reqhut_fom.c.

Here is the call graph for this function:

◆ reqhut_fom_tick()

static int reqhut_fom_tick ( struct m0_fom fom)
static

Definition at line 66 of file reqhut_fom.c.

Here is the call graph for this function:

Variable Documentation

◆ reqhut_fom_ops

const struct m0_fom_ops reqhut_fom_ops
static
Initial value:
= {
.fo_fini = reqhut_fom_fini,
.fo_tick = reqhut_fom_tick,
.fo_home_locality = reqhut_find_fom_home_locality
}
static int reqhut_fom_tick(struct m0_fom *fom)
Definition: reqhut_fom.c:66
static void reqhut_fom_fini(struct m0_fom *fom)
Definition: reqhut_fom.c:73
static size_t reqhut_find_fom_home_locality(const struct m0_fom *fom)
Definition: reqhut_fom.c:60

Definition at line 29 of file reqhut_fom.c.

◆ reqhut_fom_type_ops

const struct m0_fom_type_ops reqhut_fom_type_ops
static
Initial value:
= {
.fto_create = reqhut_fom_create,
}
static int reqhut_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
Definition: reqhut_fom.c:39

Definition at line 35 of file reqhut_fom.c.

◆ sem

struct m0_semaphore sem
static

Definition at line 21 of file reqhut_fom.c.