Motr  M0
fops.c File Reference
#include "lib/memory.h"
#include "lib/ub.h"
#include "fop/fop.h"
#include "fop/fom.h"
#include "fop/fom_generic.h"
#include "rpc/rpc_opcodes.h"
#include "rpc/ub/fops.h"
#include "rpc/ub/fops_xc.h"
#include "ut/cs_service.h"
Include dependency graph for fops.c:

Go to the source code of this file.

Functions

static int ub_req_fom_create (struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
 
static void ub_req_fom_fini (struct m0_fom *fom)
 
static int ub_req_fom_tick (struct m0_fom *fom)
 
static size_t ub_req_fom_home_locality (const struct m0_fom *fom)
 
M0_INTERNAL void m0_rpc_ub_fops_init (void)
 
M0_INTERNAL void m0_rpc_ub_fops_fini (void)
 

Variables

struct m0_fop_type m0_rpc_ub_req_fopt
 
struct m0_fop_type m0_rpc_ub_resp_fopt
 
static const struct m0_fom_type_ops ub_req_fom_type_ops
 
static const struct m0_fom_ops ub_req_fom_ops
 

Function Documentation

◆ m0_rpc_ub_fops_fini()

M0_INTERNAL void m0_rpc_ub_fops_fini ( void  )

Definition at line 133 of file fops.c.

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

◆ m0_rpc_ub_fops_init()

M0_INTERNAL void m0_rpc_ub_fops_init ( void  )

Definition at line 114 of file fops.c.

Here is the caller graph for this function:

◆ ub_req_fom_create()

static int ub_req_fom_create ( struct m0_fop fop,
struct m0_fom **  m,
struct m0_reqh reqh 
)
static

Definition at line 61 of file fops.c.

Here is the call graph for this function:

◆ ub_req_fom_fini()

static void ub_req_fom_fini ( struct m0_fom fom)
static

Definition at line 74 of file fops.c.

Here is the call graph for this function:

◆ ub_req_fom_home_locality()

static size_t ub_req_fom_home_locality ( const struct m0_fom fom)
static

Definition at line 104 of file fops.c.

◆ ub_req_fom_tick()

static int ub_req_fom_tick ( struct m0_fom fom)
static

Definition at line 80 of file fops.c.

Here is the call graph for this function:

Variable Documentation

◆ m0_rpc_ub_req_fopt

struct m0_fop_type m0_rpc_ub_req_fopt

Definition at line 33 of file fops.c.

◆ m0_rpc_ub_resp_fopt

struct m0_fop_type m0_rpc_ub_resp_fopt

Definition at line 34 of file fops.c.

◆ ub_req_fom_ops

const struct m0_fom_ops ub_req_fom_ops
static
Initial value:
= {
.fo_fini = ub_req_fom_fini,
.fo_tick = ub_req_fom_tick,
.fo_home_locality = ub_req_fom_home_locality,
}
static size_t ub_req_fom_home_locality(const struct m0_fom *fom)
Definition: fops.c:104
static void ub_req_fom_fini(struct m0_fom *fom)
Definition: fops.c:74
static int ub_req_fom_tick(struct m0_fom *fom)
Definition: fops.c:80

Definition at line 50 of file fops.c.

◆ ub_req_fom_type_ops

const struct m0_fom_type_ops ub_req_fom_type_ops
static
Initial value:
= {
.fto_create = ub_req_fom_create
}
static int ub_req_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
Definition: fops.c:61

Definition at line 46 of file fops.c.