|
static int | noop_lock_init (struct m0_obj *obj) |
|
static void | noop_lock_fini (struct m0_obj *obj) |
|
static int | noop_lock_get (struct m0_obj *obj, struct m0_rm_lock_req *req, struct m0_clink *clink) |
|
static int | noop_lock_get_sync (struct m0_obj *obj, struct m0_rm_lock_req *req) |
|
static void | noop_lock_put (struct m0_rm_lock_req *req) |
|
static uint32_t | entity_sm_state (struct m0_obj *obj) |
|
static int | alloc_vecs (struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr, uint32_t block_count, uint32_t block_size) |
|
static void | prepare_ext_vecs (struct m0_indexvec *ext, struct m0_bufvec *attr, uint32_t block_count, uint32_t block_size, uint64_t *last_index) |
|
static int | alloc_prepare_vecs (struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr, uint32_t block_count, uint32_t block_size, uint64_t *last_index) |
|
static void | cleanup_vecs (struct m0_bufvec *data, struct m0_bufvec *attr, struct m0_indexvec *ext) |
|
int | client_init (struct m0_config *config, struct m0_container *container, struct m0_client **instance) |
|
void | client_fini (struct m0_client *instance) |
|
int | m0_obj_id_sscanf (char *idstr, struct m0_uint128 *obj_id) |
|
static int | open_entity (struct m0_entity *entity) |
|
static int | create_object (struct m0_entity *entity) |
|
static int | read_data_from_file (FILE *fp, struct m0_bufvec *data) |
|
static int | write_data_to_object (struct m0_obj *obj, struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr) |
|
int | touch (struct m0_container *container, struct m0_uint128 id, bool take_locks) |
|
int | m0_write (struct m0_container *container, char *src, struct m0_uint128 id, uint32_t block_size, uint32_t block_count, uint64_t update_offset, int blks_per_io, bool take_locks, bool update_mode) |
|
static int | read_data_from_object (struct m0_obj *obj, struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr, uint32_t flags) |
|
int | m0_read (struct m0_container *container, struct m0_uint128 id, char *dest, uint32_t block_size, uint32_t block_count, uint64_t offset, int blks_per_io, bool take_locks, uint32_t flags, struct m0_fid *read_pver) |
|
static int | punch_data_from_object (struct m0_obj *obj, struct m0_indexvec *ext) |
|
int | m0_truncate (struct m0_container *container, struct m0_uint128 id, uint32_t block_size, uint32_t trunc_count, uint32_t trunc_len, int blks_per_io, bool take_locks) |
|
int | m0_unlink (struct m0_container *container, struct m0_uint128 id, bool take_locks) |
|
int | m0_write_cc (struct m0_container *container, char **src, struct m0_uint128 id, int *index, uint32_t block_size, uint32_t block_count) |
|
int | m0_read_cc (struct m0_container *container, struct m0_uint128 id, char **dest, int *index, uint32_t block_size, uint32_t block_count) |
|
static bool | bsize_valid (uint64_t blk_size) |
|
int | m0_utility_args_init (int argc, char **argv, struct m0_utility_param *params, struct m0_idx_dix_config *dix_conf, struct m0_config *conf, void(*utility_usage)(FILE *, char *)) |
|