Motr  M0
fop_item_type.c File Reference
#include "lib/errno.h"
#include "lib/memory.h"
#include "fop/fop.h"
#include "fop/fop_item_type.h"
#include "rpc/rpc_helpers.h"
#include "lib/trace.h"
Include dependency graph for fop_item_type.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FOP
 

Functions

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)
 
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)
 
M0_INTERNAL int m0_fop_item_encdec (struct m0_rpc_item *item, struct m0_bufvec_cursor *cur, enum m0_xcode_what what)
 
void m0_fop_item_get (struct m0_rpc_item *item)
 
void m0_fop_item_put (struct m0_rpc_item *item)
 

Variables

const struct m0_rpc_item_type_ops m0_fop_default_item_type_ops
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FOP

Definition at line 29 of file fop_item_type.c.