Motr  M0
api.c File Reference
#include "motr/client.h"
#include "motr/st/st.h"
#include "motr/st/st_misc.h"
#include "motr/st/st_assert.h"
Include dependency graph for api.c:

Go to the source code of this file.

Functions

void st_container_init (struct m0_container *con, struct m0_realm *parent, const struct m0_uint128 *id, struct m0_client *instance)
 
void st_obj_init (struct m0_obj *obj, struct m0_realm *parent, const struct m0_uint128 *id, uint64_t layout_id)
 
void st_obj_fini (struct m0_obj *obj)
 
void st_idx_init (struct m0_idx *idx, struct m0_realm *parent, const struct m0_uint128 *id)
 
void st_idx_fini (struct m0_idx *idx)
 
int st_entity_create (struct m0_fid *pool, struct m0_entity *entity, struct m0_op **op)
 
int st_entity_delete (struct m0_entity *entity, struct m0_op **op)
 
void st_entity_fini (struct m0_entity *entity)
 
void st_obj_op (struct m0_obj *obj, enum m0_obj_opcode opcode, struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr, uint64_t mask, uint32_t flags, struct m0_op **op)
 
int st_idx_op (struct m0_idx *idx, enum m0_idx_opcode opcode, struct m0_bufvec *keys, struct m0_bufvec *vals, int *rcs, int flag, struct m0_op **op)
 
void st_op_launch (struct m0_op **op, uint32_t nr)
 
int32_t st_op_wait (struct m0_op *op, uint64_t bits, m0_time_t to)
 
void st_op_fini (struct m0_op *op)
 
void st_op_free (struct m0_op *op)
 
void st_entity_open (struct m0_entity *entity)
 
void st_idx_open (struct m0_entity *entity)
 
int st_layout_op (struct m0_obj *obj, enum m0_entity_opcode opcode, struct m0_client_layout *layout, struct m0_op **op)