24 #include "rpc/it/ping_fop_xc.h" 47 static unsigned loc = 0;
struct m0_fom_ops m0_fom_ping_ops
static struct m0_addb2_mach * m
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
void * m0_fop_data(const struct m0_fop *fop)
#define container_of(ptr, type, member)
static struct m0_rpc_item * item
struct m0_fom_type ft_fom_type
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 m0_fop_ping_rep_fopt
struct m0_fop_type * f_type
void m0_fom_fini(struct m0_fom *fom)
static int ping_fop_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
const struct m0_fom_type_ops m0_fom_ping_type_ops
void * m0_alloc(size_t size)
void m0_rpc_reply_post(struct m0_rpc_item *request, struct m0_rpc_item *reply)
M0_INTERNAL int m0_fom_ping_state(struct m0_fom *fom)
M0_INTERNAL void m0_fop_ping_fom_fini(struct m0_fom *fom)
struct m0_fop * m0_fop_reply_alloc(struct m0_fop *req, struct m0_fop_type *rept)
M0_INTERNAL size_t m0_fom_ping_home_locality(const struct m0_fom *fom)
struct m0_rpc_item * m0_fop_to_rpc_item(const struct m0_fop *fop)
static struct m0_fop * fop
void(* fo_fini)(struct m0_fom *fom)
void m0_fom_phase_set(struct m0_fom *fom, int phase)
struct m0_rpc_item f_item