Motr  M0
process_fops.c File Reference
#include "lib/finject.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "lib/types.h"
#include "lib/refs.h"
#include "sm/sm.h"
#include "fop/fop.h"
#include "fop/fom.h"
#include "fop/fop_item_type.h"
#include "fop/fom_generic.h"
#include "rpc/rpc_opcodes.h"
#include "rpc/item.h"
#include "sss/process_fops.h"
#include "sss/process_fops_xc.h"
#include "sss/ss_svc.h"
#include <unistd.h>
Include dependency graph for process_fops.c:

Go to the source code of this file.

Functions

M0_INTERNAL int m0_ss_process_fops_init (void)
 
M0_INTERNAL void m0_ss_process_fops_fini (void)
 
static bool ss_fop_is_process_rep (const struct m0_fop *fop)
 
static bool ss_fop_is_process_svc_list_rep (const struct m0_fop *fop)
 
M0_INTERNAL void m0_ss_process_rep_fop_release (struct m0_ref *ref)
 
M0_INTERNAL void m0_ss_process_stop_fop_release (struct m0_ref *ref)
 
M0_INTERNAL struct m0_fopm0_ss_process_fop_create (struct m0_rpc_machine *mach, uint32_t cmd, const struct m0_fid *fid)
 
M0_INTERNAL bool m0_ss_fop_is_process_req (const struct m0_fop *fop)
 
M0_INTERNAL struct m0_ss_process_reqm0_ss_fop_process_req (struct m0_fop *fop)
 
M0_INTERNAL struct m0_ss_process_repm0_ss_fop_process_rep (struct m0_fop *fop)
 
M0_INTERNAL struct m0_ss_process_svc_list_repm0_ss_fop_process_svc_list_rep (struct m0_fop *fop)
 

Variables

struct m0_fop_type m0_fop_process_fopt
 
struct m0_fop_type m0_fop_process_rep_fopt
 
struct m0_fop_type m0_fop_process_svc_list_rep_fopt
 
struct m0_sm_state_descr ss_process_fom_phases []
 
struct m0_sm_conf ss_process_fom_conf
 
const struct m0_fom_type_ops ss_process_fom_type_ops
 
const struct m0_fop_type_ops ss_process_fop_type_ops
 
const struct m0_fop_type_ops ss_process_svc_list_fop_type_ops
 
static const struct m0_rpc_item_type_ops ss_process_item_type_ops
 

Function Documentation

◆ m0_ss_process_rep_fop_release()

M0_INTERNAL void m0_ss_process_rep_fop_release ( struct m0_ref ref)

Definition at line 121 of file process_fops.c.

Here is the call graph for this function:

◆ ss_fop_is_process_rep()

static bool ss_fop_is_process_rep ( const struct m0_fop fop)
static

Definition at line 109 of file process_fops.c.

Here is the caller graph for this function:

◆ ss_fop_is_process_svc_list_rep()

static bool ss_fop_is_process_svc_list_rep ( const struct m0_fop fop)
static

Definition at line 115 of file process_fops.c.

Here is the caller graph for this function:

Variable Documentation

◆ ss_process_fom_conf

struct m0_sm_conf ss_process_fom_conf

Definition at line 143 of file process_foms.c.

◆ ss_process_fom_phases

Definition at line 91 of file process_foms.c.

◆ ss_process_fom_type_ops

const struct m0_fom_type_ops ss_process_fom_type_ops

Definition at line 87 of file process_foms.c.

◆ ss_process_fop_type_ops

const struct m0_fop_type_ops ss_process_fop_type_ops

Definition at line 49 of file process_fops.c.

◆ ss_process_item_type_ops

const struct m0_rpc_item_type_ops ss_process_item_type_ops
static
Initial value:
= {
}
#define M0_FOP_DEFAULT_ITEM_TYPE_OPS
Definition: fop.h:184

Definition at line 52 of file process_fops.c.

◆ ss_process_svc_list_fop_type_ops

const struct m0_fop_type_ops ss_process_svc_list_fop_type_ops

Definition at line 50 of file process_fops.c.