|
| M0_TL_DESCR_DECLARE (rpcbulk, M0_EXTERN) |
|
| M0_TL_DESCR_DECLARE (rpcitem, M0_EXTERN) |
|
| M0_TL_DECLARE (rpcbulk, M0_INTERNAL, struct m0_rpc_bulk_buf) |
|
| M0_TL_DECLARE (rpcitem, M0_INTERNAL, struct m0_rpc_item) |
|
static struct m0_fid * | io_fop_fid_get (struct m0_fop *fop) |
|
static void | io_item_replied (struct m0_rpc_item *item) |
|
static void | io_fop_replied (struct m0_fop *fop, struct m0_fop *bkpfop) |
|
static void | io_fop_desc_get (struct m0_fop *fop, struct m0_net_buf_desc_data **desc) |
|
static int | io_fop_coalesce (struct m0_fop *res_fop, uint64_t size) |
|
static void | item_io_coalesce (struct m0_rpc_item *head, struct m0_list *list, uint64_t size) |
|
static int | io_fol_frag_undo_redo_op (struct m0_fop_fol_frag *frag, struct m0_fol *fol) |
|
M0_INTERNAL void | m0_dump_cob_attr (const struct m0_cob_attr *attr) |
|
| M0_BASSERT (M0_IOSERVICE_COB_DELETE_OPCODE==M0_IOSERVICE_COB_CREATE_OPCODE+1) |
|
| M0_BASSERT (sizeof(struct m0_fop_cob_create)==sizeof(struct m0_fop_cob_delete)) |
|
static int | io_fol_cd_rec_frag_op (struct m0_fop_fol_frag *frag, struct m0_fol *fol, bool undo) |
|
static int | io_fol_cd_rec_frag_undo (struct m0_fop_fol_frag *frag, struct m0_fol *fol) |
|
static int | io_fol_cd_rec_frag_redo (struct m0_fop_fol_frag *frag, struct m0_fol *fol) |
|
M0_INTERNAL void | m0_ioservice_fop_fini (void) |
|
M0_INTERNAL int | m0_ioservice_fop_init (void) |
|
| M0_TL_DESCR_DEFINE (iosegset, "list of coalesced io segments", static, struct ioseg, is_linkage, is_magic, M0_IOS_IO_SEGMENT_MAGIC, M0_IOS_IO_SEGMENT_SET_MAGIC) |
|
| M0_TL_DEFINE (iosegset, static, struct ioseg) |
|
static void | ioseg_get (const struct m0_0vec *zvec, uint32_t seg_index, struct ioseg *seg) |
|
static bool | io_fop_invariant (struct m0_io_fop *iofop) |
|
M0_INTERNAL int | m0_io_fop_init (struct m0_io_fop *iofop, const struct m0_fid *gfid, struct m0_fop_type *ftype, void(*fop_release)(struct m0_ref *)) |
|
M0_INTERNAL void | m0_io_fop_fini (struct m0_io_fop *iofop) |
|
M0_INTERNAL struct m0_rpc_bulk * | m0_fop_to_rpcbulk (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_read_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_write_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_io_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_read_rep (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_write_rep (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_io_fop_rep (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_create_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_delete_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_truncate_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_getattr_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_setattr_fop (const struct m0_fop *fop) |
|
M0_INTERNAL bool | m0_is_cob_create_delete_fop (const struct m0_fop *fop) |
|
M0_INTERNAL struct m0_fop_cob_common * | m0_cobfop_common_get (struct m0_fop *fop) |
|
M0_INTERNAL uint32_t | m0_io_fop_segs_nr (struct m0_fop *fop, uint32_t index) |
|
M0_INTERNAL struct m0_fop_cob_rw * | io_rw_get (struct m0_fop *fop) |
|
M0_INTERNAL struct m0_fop_cob_rw_reply * | io_rw_rep_get (struct m0_fop *fop) |
|
static struct m0_0vec * | io_0vec_get (struct m0_rpc_bulk_buf *rbuf) |
|
static void | ioseg_unlink_free (struct ioseg *ioseg) |
|
| __attribute__ ((unused)) |
|
static int | io_fop_seg_init (struct ioseg **ns, const struct ioseg *cseg) |
|
static int | io_fop_seg_add_cond (struct ioseg *cseg, const struct ioseg *nseg) |
|
static void | io_fop_seg_coalesce (const struct ioseg *seg, struct io_seg_set *aggr_set) |
|
static void | io_fop_segments_coalesce (const struct m0_0vec *iovec, struct io_seg_set *aggr_set) |
|
static int | io_netbufs_prepare (struct m0_fop *coalesced_fop, struct io_seg_set *seg_set) |
|
M0_INTERNAL void | io_fop_ivec_dealloc (struct m0_fop *fop) |
|
static uint32_t | iosegs_nr (struct m0_rpc_bulk *rbulk) |
|
static void | iosegs_squeeze (struct m0_rpc_bulk *rbulk, struct m0_io_indexvec *ivec) |
|
static int | io_fop_ivec_prepare (struct m0_fop *res_fop, struct m0_rpc_bulk *rbulk) |
|
static int | io_fop_di_prepare (struct m0_fop *fop) |
|
static void | io_fop_bulkbuf_move (struct m0_fop *src, struct m0_fop *dest) |
|
static int | io_fop_desc_alloc (struct m0_fop *fop, struct m0_rpc_bulk *rbulk) |
|
static void | io_fop_desc_dealloc (struct m0_fop *fop) |
|
M0_INTERNAL int | m0_io_fop_prepare (struct m0_fop *fop) |
|
static int | io_fop_desc_ivec_prepare (struct m0_fop *fop, struct io_seg_set *aggr_set) |
|
M0_INTERNAL void | m0_io_fop_destroy (struct m0_fop *fop) |
|
M0_INTERNAL size_t | m0_io_fop_size_get (struct m0_fop *fop) |
|
M0_INTERNAL m0_bcount_t | m0_io_fop_byte_count (struct m0_io_fop *iofop) |
|
M0_INTERNAL void | m0_io_fop_release (struct m0_ref *ref) |
|