Motr  M0
rdwr_fom.c File Reference
#include "lib/errno.h"
#include "lib/memory.h"
#include "ut/ut.h"
#include "fop/fom_long_lock.h"
Include dependency graph for rdwr_fom.c:

Go to the source code of this file.

Data Structures

struct  fom_rdwr
 

Functions

static size_t fom_rdwr_home_locality (const struct m0_fom *fom)
 
static void fop_rdwr_fom_fini (struct m0_fom *fom)
 
static int fom_rdwr_tick (struct m0_fom *fom)
 
static int rdwr_fom_create (struct m0_fom **m, struct m0_reqh *reqh)
 

Variables

struct m0_reqh_service_type ut_long_lock_service_type
 
static const struct m0_fom_ops fom_rdwr_ops
 
const struct m0_fom_type_ops fom_rdwr_type_ops
 
struct m0_fom_type rdwr_fom_type
 

Function Documentation

◆ fom_rdwr_home_locality()

static size_t fom_rdwr_home_locality ( const struct m0_fom fom)
static

Definition at line 63 of file rdwr_fom.c.

Here is the call graph for this function:

◆ fom_rdwr_tick()

static int fom_rdwr_tick ( struct m0_fom fom)
static

◆ fop_rdwr_fom_fini()

static void fop_rdwr_fom_fini ( struct m0_fom fom)
static

Definition at line 89 of file rdwr_fom.c.

Here is the call graph for this function:

◆ rdwr_fom_create()

static int rdwr_fom_create ( struct m0_fom **  m,
struct m0_reqh reqh 
)
static

Definition at line 71 of file rdwr_fom.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ fom_rdwr_ops

const struct m0_fom_ops fom_rdwr_ops
static
Initial value:
= {
.fo_fini = fop_rdwr_fom_fini,
.fo_tick = fom_rdwr_tick,
.fo_home_locality = fom_rdwr_home_locality
}
static int fom_rdwr_tick(struct m0_fom *fom)
static void fop_rdwr_fom_fini(struct m0_fom *fom)
Definition: rdwr_fom.c:89
static size_t fom_rdwr_home_locality(const struct m0_fom *fom)
Definition: rdwr_fom.c:63

Generic ops object for rdwr

Definition at line 49 of file rdwr_fom.c.

◆ fom_rdwr_type_ops

const struct m0_fom_type_ops fom_rdwr_type_ops
Initial value:
= {
.fto_create = NULL
}
#define NULL
Definition: misc.h:38

FOM type specific functions for rdwr FOP.

Definition at line 56 of file rdwr_fom.c.

◆ rdwr_fom_type

struct m0_fom_type rdwr_fom_type

Rdwr specific FOM type operations vector.

Definition at line 61 of file rdwr_fom.c.

◆ ut_long_lock_service_type

struct m0_reqh_service_type ut_long_lock_service_type

Definition at line 108 of file long_lock_ut.c.