|
Motr
M0
|
#include <unistd.h>#include "lib/memory.h"#include "rpc/conn.h"#include "rpc/session.h"#include "xcode/xcode.h"#include "conf/schema.h"#include "layout/layout.h"#include "layout/plan.h"#include "motr/client.h"#include "util.h"#include "common.h"#include "libdemo.h"#include "libdemo_xc.h"
Go to the source code of this file.
Enumerations | |
| enum | isc_comp_type { ICT_PING, ICT_MIN, ICT_MAX } |
| enum | elm_order { ELM_FIRST, ELM_LAST } |
Functions | |
| static int | op_type_parse (const char *op_name) |
| static int | minmax_input_prepare (struct m0_buf *out, struct m0_fid *comp_fid, struct m0_layout_io_plop *iop, uint32_t *reply_len, enum isc_comp_type type) |
| static int | ping_input_prepare (struct m0_buf *buf, struct m0_fid *comp_fid, uint32_t *reply_len, enum isc_comp_type type) |
| static int | input_prepare (struct m0_buf *buf, struct m0_fid *comp_fid, struct m0_layout_io_plop *iop, uint32_t *reply_len, enum isc_comp_type type) |
| static struct mm_result * | op_result (struct mm_result *x, struct mm_result *y, enum isc_comp_type op_type) |
| static void | set_idx (struct mm_result *res, enum elm_order e) |
| static void | check_edge_val (struct mm_result *res, enum elm_order e, enum isc_comp_type type) |
| static void | mm_result_free_xcode_bufs (struct mm_result *r) |
| static void * | minmax_output_prepare (struct m0_buf *result, bool last_unit, struct mm_result *prev, enum isc_comp_type type) |
| static void * | output_process (struct m0_buf *result, bool last, void *out, enum isc_comp_type type) |
| static void | usage () |
| int | read_id (const char *s, struct m0_uint128 *id) |
| int | launch_comp (struct m0_layout_plan *plan, int op_type, bool last) |
| static int | open_entity (struct m0_entity *entity) |
| int | main (int argc, char **argv) |
Variables | |
| char * | prog |
| const char * | help_str |
| enum isc_comp_type |
|
static |
|
static |
| int launch_comp | ( | struct m0_layout_plan * | plan, |
| int | op_type, | ||
| bool | last | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int read_id | ( | const char * | s, |
| struct m0_uint128 * | id | ||
| ) |
|
static |
| const char* help_str |