30 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT 85 for(
i = 0;
rc == 0 &&
i <
fids->af_count; ++
i) {
105 for(
i = 0;
rc == 0 &&
i <
fids->af_count; ++
i) {
133 if (
rc != 0 || rcs ==
NULL) {
160 for(
i = 0;
rc == 0 &&
i <
fids->af_count; ++
i) {
220 for (
i = 0;
i <
fids->af_count &&
rc == 0;
i++)
237 for (
i = 0;
i <
fids->af_count &&
rc == 0;
i++)
286 if (startkey ==
NULL)
294 keys->
ov_buf[0] = startkey;
310 #undef M0_TRACE_SUBSYSTEM int index_drop(struct m0_realm *parent, struct m0_fid_arr *fids)
#define M0_ALLOC_ARR(arr, nr)
void m0_entity_fini(struct m0_entity *entity)
int index_del(struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *keys)
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)
static int index_op_tail(struct m0_entity *ce, struct m0_op *op, int rc, int *sm_rc)
const m0_time_t M0_TIME_NEVER
void m0_op_fini(struct m0_op *op)
void m0_console_printf(const char *fmt,...)
int index_next(struct m0_realm *parent, struct m0_fid *fid, struct m0_bufvec *keys, int cnt, struct m0_bufvec *vals)
int index_create(struct m0_realm *parent, struct m0_fid_arr *fids)
#define m0_exists(var, nr,...)
int index_get(struct m0_realm *parent, struct m0_fid *fid, struct m0_bufvec *keys, struct m0_bufvec *vals)
M0_INTERNAL int m0_bufvec_alloc(struct m0_bufvec *bufvec, uint32_t num_segs, m0_bcount_t seg_size)
int32_t m0_op_wait(struct m0_op *op, uint64_t bits, m0_time_t to)
int m0_idx_op(struct m0_idx *idx, enum m0_idx_opcode opcode, struct m0_bufvec *keys, struct m0_bufvec *vals, int32_t *rcs, uint32_t flags, struct m0_op **op)
M0_INTERNAL void m0_bufvec_free(struct m0_bufvec *bufvec)
struct m0_entity in_entity
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL const struct m0_fid_type m0_dix_fid_type
void m0_op_launch(struct m0_op **op, uint32_t nr)
void * m0_alloc(size_t size)
static int per_item_rcs_analyse(int32_t *rcs, int cnt)
int index_put(struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *keys, struct m0_bufvec *vals)
static const struct m0_fid fids[]
int index_lookup(struct m0_realm *parent, struct m0_fid_arr *fids, struct m0_bufvec *rets)
int m0_entity_create(struct m0_fid *pool, struct m0_entity *entity, struct m0_op **op)
static uint8_t fail[DATA_UNIT_COUNT_MAX+PARITY_UNIT_COUNT_MAX]
int index_list(struct m0_realm *parent, struct m0_fid *fid, int cnt, struct m0_bufvec *keys)
int m0_entity_delete(struct m0_entity *entity, struct m0_op **op)
void m0_op_free(struct m0_op *op)
int m0_entity_open(struct m0_entity *entity, struct m0_op **op)
void m0_idx_init(struct m0_idx *idx, struct m0_realm *parent, const struct m0_uint128 *id)
M0_INTERNAL int m0_bufvec_empty_alloc(struct m0_bufvec *bufvec, uint32_t num_segs)
M0_INTERNAL void m0_fid_tassume(struct m0_fid *fid, const struct m0_fid_type *ft)