Motr
M0
|
Functions | |
static uint64_t | dix_cp_ag_local_cp_nr (const struct m0_cm_aggr_group *ag) |
static void | dix_cp_ag_fini (struct m0_cm_aggr_group *ag) |
static bool | dix_cp_ag_can_fini (const struct m0_cm_aggr_group *ag) |
static bool | dix_cm_ag_is_frozen_on (struct m0_cm_aggr_group *ag, struct m0_cm_proxy *pxy) |
M0_INTERNAL int | m0_dix_cm_ag_alloc (struct m0_cm *cm, const struct m0_cm_ag_id *id, bool has_incoming, struct m0_cm_aggr_group **out) |
Variables | |
static const struct m0_cm_aggr_group_ops | dix_cm_ag_ops |
|
static |
|
static |
|
static |
|
static |
M0_INTERNAL int m0_dix_cm_ag_alloc | ( | struct m0_cm * | cm, |
const struct m0_cm_ag_id * | id, | ||
bool | has_incoming, | ||
struct m0_cm_aggr_group ** | out | ||
) |
Allocates and initialises DIX CM aggregation group.
[in] | cm | Base copy machine. |
[in] | id | Aggregation group ID. |
[in] | has_incoming | Shows whether incoming copy packets for this aggregation group expected. |
[out] | out | Allocated an initialised aggregation group. |
0 on success or -ENOMEM.
Definition at line 88 of file ag.c.
|
static |