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

Go to the source code of this file.

Functions

static int arrow_fom_create (struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
 
static void arrow_fom_fini (struct m0_fom *fom)
 
static int arrow_fom_tick (struct m0_fom *fom)
 
static size_t arrow_fom_home_locality (const struct m0_fom *fom)
 
M0_INTERNAL void m0_rpc_test_fops_init (void)
 
M0_INTERNAL void m0_rpc_test_fops_fini (void)
 

Variables

struct m0_reqh_service_type m0_rpc_service_type
 
struct m0_fop_type m0_rpc_arrow_fopt
 
struct m0_semaphore arrow_hit
 
struct m0_semaphore arrow_destroyed
 
static const struct m0_fom_type_ops arrow_fom_type_ops
 
static const struct m0_fom_ops arrow_fom_ops
 

Function Documentation

◆ arrow_fom_create()

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

Definition at line 78 of file fops.c.

Here is the call graph for this function:

◆ arrow_fom_fini()

static void arrow_fom_fini ( struct m0_fom fom)
static

Definition at line 92 of file fops.c.

Here is the call graph for this function:

◆ arrow_fom_home_locality()

static size_t arrow_fom_home_locality ( const struct m0_fom fom)
static

Definition at line 106 of file fops.c.

◆ arrow_fom_tick()

static int arrow_fom_tick ( struct m0_fom fom)
static

Definition at line 99 of file fops.c.

Here is the call graph for this function:

◆ m0_rpc_test_fops_fini()

M0_INTERNAL void m0_rpc_test_fops_fini ( void  )

Definition at line 69 of file fops.c.

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

◆ m0_rpc_test_fops_init()

M0_INTERNAL void m0_rpc_test_fops_init ( void  )

Definition at line 54 of file fops.c.

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

Variable Documentation

◆ arrow_destroyed

struct m0_semaphore arrow_destroyed

Definition at line 42 of file fops.c.

◆ arrow_fom_ops

const struct m0_fom_ops arrow_fom_ops
static
Initial value:
= {
.fo_fini = arrow_fom_fini,
.fo_tick = arrow_fom_tick,
.fo_home_locality = arrow_fom_home_locality,
}
static size_t arrow_fom_home_locality(const struct m0_fom *fom)
Definition: fops.c:106
static int arrow_fom_tick(struct m0_fom *fom)
Definition: fops.c:99
static void arrow_fom_fini(struct m0_fom *fom)
Definition: fops.c:92

Definition at line 48 of file fops.c.

◆ arrow_fom_type_ops

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

Definition at line 44 of file fops.c.

◆ arrow_hit

struct m0_semaphore arrow_hit

Definition at line 41 of file fops.c.

◆ m0_rpc_arrow_fopt

struct m0_fop_type m0_rpc_arrow_fopt

Definition at line 39 of file fops.c.