36 #include "sss/device_fops_xc.h" 66 .
xt = m0_sss_device_fop_xc,
73 .
name =
"Device-reply-fop",
75 .
xt = m0_sss_device_fop_rep_xc,
struct m0_fop_type m0_sss_fop_device_rep_fopt
M0_INTERNAL struct m0_fop * m0_sss_device_fop_create(struct m0_rpc_machine *mach, uint32_t cmd, const struct m0_fid *fid)
M0_INTERNAL void m0_sss_device_fops_fini(void)
#define M0_FOP_TYPE_INIT(ft,...)
static struct io_request req
const struct m0_conf_obj_type * m0_conf_fid_type(const struct m0_fid *fid)
struct m0_fop_type m0_sss_fop_device_fopt
void * m0_fop_data(const struct m0_fop *fop)
void m0_fop_type_fini(struct m0_fop_type *fopt)
M0_INTERNAL void m0_sm_conf_extend(const struct m0_sm_state_descr *base, struct m0_sm_state_descr *sub, uint32_t nr)
static struct m0_addb2_mach * mach
static struct m0_xcode_type ** xt[]
const struct m0_sm_conf m0_generic_conf
M0_INTERNAL struct m0_sss_device_fop * m0_sss_fop_to_dev_req(struct m0_fop *fop)
M0_INTERNAL bool m0_sss_fop_is_dev_req(const struct m0_fop *fop)
struct m0_fop_type * f_type
const struct m0_sm_conf sss_device_fom_conf
struct m0_sm_state_descr sss_device_fom_phases_desc[]
const struct m0_fom_type_ops sss_device_fom_type_ops
struct m0_reqh_service_type m0_ss_svc_type
const struct m0_conf_obj_type M0_CONF_DRIVE_TYPE
M0_INTERNAL struct m0_sss_device_fop_rep * m0_sss_fop_to_dev_rep(struct m0_fop *fop)
M0_INTERNAL int m0_sss_device_fops_init(void)
struct m0_sm_state_descr * scf_state
static struct m0_fop * fop
M0_INTERNAL bool m0_sss_fop_is_dev_rep(const struct m0_fop *fop)
struct m0_fop * m0_fop_alloc(struct m0_fop_type *fopt, void *data, struct m0_rpc_machine *mach)