Motr  M0
index_op.c File Reference
#include "lib/assert.h"
#include "lib/memory.h"
#include "lib/time.h"
#include "lib/errno.h"
#include "lib/trace.h"
#include "index_op.h"
#include "motr/client.h"
#include "motr/idx.h"
#include "index.h"
#include "cas/cas.h"
#include "fid/fid.h"
Include dependency graph for index_op.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CLIENT
 

Functions

static int per_item_rcs_analyse (int32_t *rcs, int cnt)
 
static int index_op_tail (struct m0_entity *ce, struct m0_op *op, int rc, int *sm_rc)
 
int index_create (struct m0_realm *parent, struct m0_fid_arr *fids)
 
int index_drop (struct m0_realm *parent, struct m0_fid_arr *fids)
 
int index_list (struct m0_realm *parent, struct m0_fid *fid, int cnt, struct m0_bufvec *keys)
 
int index_lookup (struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *rets)
 
static int index_op (struct m0_realm *parent, struct m0_fid *fid, enum m0_idx_opcode opcode, struct m0_bufvec *keys, struct m0_bufvec *vals)
 
int index_put (struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *keys, struct m0_bufvec *vals)
 
int index_del (struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *keys)
 
int index_get (struct m0_realm *parent, struct m0_fid *fid, struct m0_bufvec *keys, struct m0_bufvec *vals)
 
int index_next (struct m0_realm *parent, struct m0_fid *fid, struct m0_bufvec *keys, int cnt, struct m0_bufvec *vals)