29 #include "console/console_fop_xc.h" 32 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONSOLE 117 rfop =
fom->fo_rep_fop;
135 reply_item = &rfop->
f_item;
172 #undef M0_TRACE_SUBSYSTEM static size_t console_fom_home_locality(const struct m0_fom *fom)
uint32_t m0_fop_opcode(const struct m0_fop *fop)
static struct m0_addb2_mach * m
int(* fo_tick)(struct m0_fom *fom)
struct m0_fop_type m0_cons_fop_reply_fopt
struct m0_fop_type m0_cons_fop_test_fopt
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
struct m0_fop_type m0_cons_fop_device_fopt
void * m0_fop_data(const struct m0_fop *fop)
static void console_fom_fini(struct m0_fom *fom)
struct m0_fom_type ft_fom_type
const struct m0_fom_type_ops m0_console_fom_type_device_ops
void m0_fom_init(struct m0_fom *fom, const struct m0_fom_type *fom_type, const struct m0_fom_ops *ops, struct m0_fop *fop, struct m0_fop *reply, struct m0_reqh *reqh)
struct m0_fop_type * f_type
return M0_ERR(-EOPNOTSUPP)
const struct m0_fom_type_ops m0_console_fom_type_test_ops
void m0_fom_fini(struct m0_fom *fom)
static struct m0_fop reply_fop
static int console_test_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
const struct m0_rpc_item_type * ri_type
struct m0_fom_ops m0_console_fom_test_ops
void m0_rpc_reply_post(struct m0_rpc_item *request, struct m0_rpc_item *reply)
static int console_fom_tick(struct m0_fom *fom)
struct m0_fop * m0_fop_reply_alloc(struct m0_fop *req, struct m0_fop_type *rept)
#define M0_ALLOC_PTR(ptr)
const struct m0_fom_ops m0_console_fom_device_ops
static struct m0_fop * fop
void(* fo_fini)(struct m0_fom *fom)
void m0_fom_phase_set(struct m0_fom *fom, int phase)
static int console_device_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
struct m0_rpc_item f_item
static int console_fom_create(struct m0_fop *fop, struct m0_reqh *reqh, const struct m0_fom_ops *fom_ops, struct m0_fom **m)