Motr
M0
|
#include <stdio.h>
#include <uuid/uuid.h>
#include "lib/assert.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/vec.h"
#include "lib/trace.h"
#include "index.h"
#include "index_parser.h"
#include "index_op.h"
#include "motr/client.h"
#include "motr/idx.h"
Go to the source code of this file.
Data Structures | |
struct | m0_instance |
struct | m0_ctx |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
Functions | |
struct m0_client * | m0_instance () |
static struct m0_fid | ifid (uint64_t x, uint64_t y) |
static int | instance_init (struct params *params) |
static void | instance_fini (void) |
static int | genf (char *filename, int cnt) |
static int | genv (char *filename, int cnt, int size) |
static void | log_hex_val (const char *tag, void *buf, int size) |
static void | log_keys_vals (struct m0_bufvec *keys, struct m0_bufvec *vals) |
static void | log_fids (struct m0_fid_arr *fids, struct m0_bufvec *vals) |
static int | cmd_exec (struct index_cmd *cmd) |
static void | ctx_init (struct index_ctx *ctx) |
static void | ctx_fini (struct index_ctx *ctx) |
int | index_execute (int argc, char **argv) |
int | index_init (struct params *params) |
void | index_fini (void) |
void | index_usage (void) |
Variables | |
static struct m0_ctx | cc_ctx |