Detailed Function Specification for IO bulk client.
More...
|
| 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) |
|
Detailed Function Specification for IO bulk client.
◆ io_fop_invariant()
static bool io_fop_invariant |
( |
struct m0_io_fop * |
iofop | ) |
|
|
static |
◆ ioseg_get()
static void ioseg_get |
( |
const struct m0_0vec * |
zvec, |
|
|
uint32_t |
seg_index, |
|
|
struct ioseg * |
seg |
|
) |
| |
|
static |
◆ m0_fop_to_rpcbulk()
◆ m0_io_fop_fini()
M0_INTERNAL void m0_io_fop_fini |
( |
struct m0_io_fop * |
iofop | ) |
|
◆ m0_io_fop_init()
Initializes a m0_io_fop structure.
- Parameters
-
ftype | Type of fop to be initialized. |
gfid | Global file fid. |
- Precondition
- iofop != NULL.
- Postcondition
- io_fop_invariant(iofop)
Definition at line 865 of file io_fops.c.
◆ M0_TL_DEFINE()
M0_TL_DEFINE |
( |
iosegset |
, |
|
|
static |
, |
|
|
struct ioseg |
|
|
) |
| |
◆ M0_TL_DESCR_DEFINE()