29 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FOP 123 #undef M0_TRACE_SUBSYSTEM
const struct m0_rpc_item_type_ops m0_fop_default_item_type_ops
static struct buffer * cur(struct m0_addb2_mach *mach, m0_bcount_t space)
M0_INTERNAL void m0_fop_init(struct m0_fop *fop, struct m0_fop_type *fopt, void *data, void(*fop_release)(struct m0_ref *))
static struct m0_rpc_item * item
struct m0_fop_type * f_type
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL m0_bcount_t m0_fop_payload_size(const struct m0_rpc_item *item)
M0_INTERNAL int m0_fop_item_type_default_encode(const struct m0_rpc_item_type *item_type, struct m0_rpc_item *item, struct m0_bufvec_cursor *cur)
struct m0_rpc_item_header2 ri_header
struct m0_fop * m0_fop_get(struct m0_fop *fop)
M0_INTERNAL struct m0_fop_type * m0_item_type_to_fop_type(const struct m0_rpc_item_type *item_type)
M0_INTERNAL int m0_fop_item_type_default_decode(const struct m0_rpc_item_type *item_type, struct m0_rpc_item **item_out, struct m0_bufvec_cursor *cur)
void m0_fop_item_put(struct m0_rpc_item *item)
M0_INTERNAL int m0_xcode_data_size(struct m0_xcode_ctx *ctx, const struct m0_xcode_obj *obj)
M0_INTERNAL int m0_fop_item_encdec(struct m0_rpc_item *item, struct m0_bufvec_cursor *cur, enum m0_xcode_what what)
M0_INTERNAL void m0_fop_release(struct m0_ref *ref)
#define M0_ALLOC_PTR(ptr)
struct m0_rpc_item * m0_fop_to_rpc_item(const struct m0_fop *fop)
M0_INTERNAL int m0_rpc_item_header2_encdec(struct m0_rpc_item_header2 *ioh, struct m0_bufvec_cursor *cur, enum m0_xcode_what what)
static struct m0_fop * fop
M0_INTERNAL int m0_fop_encdec(struct m0_fop *fop, struct m0_bufvec_cursor *cur, enum m0_xcode_what what)
struct m0_fop * m0_rpc_item_to_fop(const struct m0_rpc_item *item)
void m0_fop_item_get(struct m0_rpc_item *item)
#define M0_FOP_XCODE_OBJ(f)
void m0_fop_put(struct m0_fop *fop)
#define M0_FOP_DEFAULT_ITEM_TYPE_OPS