Motr
M0
|
Enumerations | |
enum | { NODE_WAIT_CMD_GRANULARITY_MS = 20 } |
Functions | |
static struct m0_net_test_service_ops * | service_ops_get (struct m0_net_test_cmd *cmd) |
static int | node_cmd_get (struct m0_net_test_cmd_ctx *cmd_ctx, struct m0_net_test_cmd *cmd, m0_time_t deadline) |
static int | node_cmd_wait (struct m0_net_test_node_ctx *ctx, struct m0_net_test_cmd *cmd, enum m0_net_test_cmd_type type) |
static void | node_thread (struct m0_net_test_node_ctx *ctx) |
static int | node_init_fini (struct m0_net_test_node_ctx *ctx, struct m0_net_test_node_cfg *cfg) |
int | m0_net_test_node_init (struct m0_net_test_node_ctx *ctx, struct m0_net_test_node_cfg *cfg) |
void | m0_net_test_node_fini (struct m0_net_test_node_ctx *ctx) |
int | m0_net_test_node_start (struct m0_net_test_node_ctx *ctx) |
void | m0_net_test_node_stop (struct m0_net_test_node_ctx *ctx) |
int | m0_net_test_node_module_initfini (struct m0_net_test_node_cfg *cfg) |
Variables | |
static struct m0_net_test_node_ctx * | m0_net_test_node_module_ctx = NULL |
void m0_net_test_node_fini | ( | struct m0_net_test_node_ctx * | ctx | ) |
Finalize node data structures.
Definition at line 915 of file node.c.
int m0_net_test_node_init | ( | struct m0_net_test_node_ctx * | ctx, |
struct m0_net_test_node_cfg * | cfg | ||
) |
Initialize node data structures.
ctx | node context. |
cfg | node configuration. |
Definition at line 909 of file node.c.
int m0_net_test_node_module_initfini | ( | struct m0_net_test_node_cfg * | cfg | ) |
int m0_net_test_node_start | ( | struct m0_net_test_node_ctx * | ctx | ) |
Start test node.
Definition at line 921 of file node.c.
void m0_net_test_node_stop | ( | struct m0_net_test_node_ctx * | ctx | ) |
Stop test node.
Definition at line 932 of file node.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |