Motr  M0
ss_fops.h File Reference
#include "conf/onwire.h"
#include "lib/types_xc.h"
#include "lib/buf_xc.h"
#include "fid/fid.h"
#include "fid/fid_xc.h"
Include dependency graph for ss_fops.h:

Go to the source code of this file.

Data Structures

struct  m0_sss_req
 
struct  m0_sss_rep
 

Macros

#define __MOTR_SSS_SS_FOPS_H__
 

Enumerations

enum  m0_sss_req_cmd {
  M0_SERVICE_START, M0_SERVICE_STOP, M0_SERVICE_STATUS, M0_SERVICE_QUIESCE,
  M0_SERVICE_INIT, M0_SERVICE_HEALTH
}
 

Functions

struct m0_sss_req M0_XCA_DOMAIN (rpc)
 
M0_INTERNAL int m0_ss_fops_init (void)
 
M0_INTERNAL void m0_ss_fops_fini (void)
 
M0_INTERNAL void m0_ss_fop_release (struct m0_ref *ref)
 

Variables

struct m0_fop_type m0_fop_ss_fopt
 
struct m0_fop_type m0_fop_ss_rep_fopt
 
struct m0_fop_type m0_fop_ss_svc_list_fopt
 
struct m0_fop_type m0_fop_ss_svc_list_rep_fopt
 
enum m0_sss_req_cmd M0_XCA_DOMAIN
 
uint32_t ss_cmd
 
struct m0_buf ss_name
 
struct m0_fid ss_id
 
struct m0_buf ss_param
 
int32_t ssr_rc
 
uint32_t ssr_state
 

Macro Definition Documentation

◆ __MOTR_SSS_SS_FOPS_H__

#define __MOTR_SSS_SS_FOPS_H__

Definition at line 26 of file ss_fops.h.

Variable Documentation

◆ ss_cmd

uint32_t ss_cmd

Command to execute.

See also
enum m0_sss_req_cmd

Definition at line 101 of file ss_fops.h.

◆ ss_id

struct m0_fid ss_id

Identifier of the service being started. fid type should set to M0_CONF_SERVICE_TYPE.cot_ftype

Definition at line 111 of file ss_fops.h.

◆ ss_name

struct m0_buf ss_name

Name of service type. Mandatory only for M0_SERVICE_INIT command.

See also
m0_reqh_service_type::rst_name

Definition at line 106 of file ss_fops.h.

◆ ss_param

struct m0_buf ss_param

Opaque parameter.

Definition at line 113 of file ss_fops.h.

◆ ssr_rc

int32_t ssr_rc

Result of service operation

Definition at line 100 of file ss_fops.h.

◆ ssr_state

uint32_t ssr_state

Service status. Undefined if ssr_rc < 0.

See also
enum m0_reqh_service_state

Definition at line 105 of file ss_fops.h.