Motr  M0
Driver Process FOP

Data Structures

struct  m0_ss_process_req
 
struct  m0_ss_process_rep
 
struct  m0_ss_process_svc_item
 
struct  m0_ss_process_svc_list_rep
 

Enumerations

enum  m0_ss_process_req_cmd {
  M0_PROCESS_STOP, M0_PROCESS_RECONFIG, M0_PROCESS_HEALTH, M0_PROCESS_COUNTER,
  M0_PROCESS_QUIESCE, M0_PROCESS_RUNNING_LIST, M0_PROCESS_LIB_LOAD, M0_PROCESS_NR
}
 

Functions

struct m0_ss_process_req M0_XCA_DOMAIN (rpc)
 
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)
 
M0_INTERNAL int m0_ss_process_fops_init (void)
 
M0_INTERNAL void m0_ss_process_fops_fini (void)
 
M0_INTERNAL void m0_ss_process_stop_fop_release (struct m0_ref *ref)
 

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_ss_process_svc_item M0_XCA_DOMAIN
 

Detailed Description

Enumeration Type Documentation

◆ m0_ss_process_req_cmd

Process command ID list except Reconfig command. Reconfig command is send separate FOP

Enumerator
M0_PROCESS_STOP 
M0_PROCESS_RECONFIG 
M0_PROCESS_HEALTH 
M0_PROCESS_COUNTER 
M0_PROCESS_QUIESCE 
M0_PROCESS_RUNNING_LIST 
M0_PROCESS_LIB_LOAD 
M0_PROCESS_NR 

Definition at line 48 of file process_fops.h.

Function Documentation

◆ m0_ss_fop_is_process_req()

M0_INTERNAL bool m0_ss_fop_is_process_req ( const struct m0_fop fop)

Definition at line 177 of file process_fops.c.

Here is the caller graph for this function:

◆ m0_ss_fop_process_rep()

M0_INTERNAL struct m0_ss_process_rep* m0_ss_fop_process_rep ( struct m0_fop fop)

Definition at line 191 of file process_fops.c.

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

◆ m0_ss_fop_process_req()

M0_INTERNAL struct m0_ss_process_req* m0_ss_fop_process_req ( struct m0_fop fop)

Definition at line 183 of file process_fops.c.

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

◆ m0_ss_fop_process_svc_list_rep()

M0_INTERNAL struct m0_ss_process_svc_list_rep* m0_ss_fop_process_svc_list_rep ( struct m0_fop fop)

Definition at line 200 of file process_fops.c.

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

◆ m0_ss_process_fop_create()

M0_INTERNAL struct m0_fop* m0_ss_process_fop_create ( struct m0_rpc_machine mach,
uint32_t  cmd,
const struct m0_fid fid 
)

Definition at line 156 of file process_fops.c.

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

◆ m0_ss_process_fops_fini()

M0_INTERNAL void m0_ss_process_fops_fini ( void  )

Definition at line 102 of file process_fops.c.

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

◆ m0_ss_process_fops_init()

M0_INTERNAL int m0_ss_process_fops_init ( void  )

Definition at line 56 of file process_fops.c.

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

◆ m0_ss_process_stop_fop_release()

M0_INTERNAL void m0_ss_process_stop_fop_release ( struct m0_ref ref)

Definition at line 137 of file process_fops.c.

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

◆ M0_XCA_DOMAIN()

struct m0_ss_process_req M0_XCA_DOMAIN ( rpc  )

Variable Documentation

◆ m0_fop_process_fopt

struct m0_fop_type m0_fop_process_fopt

Definition at line 42 of file process_fops.c.

◆ m0_fop_process_rep_fopt

struct m0_fop_type m0_fop_process_rep_fopt

Definition at line 43 of file process_fops.c.

◆ m0_fop_process_svc_list_rep_fopt

struct m0_fop_type m0_fop_process_svc_list_rep_fopt

Definition at line 44 of file process_fops.c.

◆ M0_XCA_DOMAIN

struct m0_ss_process_svc_item M0_XCA_DOMAIN