#include "motr/client.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
Go to the source code of this file.
|
static int | object_create (struct m0_container *container) |
|
static int | object_open (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 *data, struct m0_bufvec *attr, uint32_t block_count, uint32_t block_size, uint64_t *last_index, char c) |
|
static void | cleanup_vecs (struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr) |
|
static int | write_data_to_object (struct m0_obj *obj, struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr) |
|
static int | object_write (struct m0_container *container) |
|
static int | read_data_from_object (struct m0_obj *obj, struct m0_indexvec *ext, struct m0_bufvec *data, struct m0_bufvec *attr) |
|
static void | verify_show_data (struct m0_bufvec *data, char c) |
|
static int | object_read (struct m0_container *container) |
|
static int | object_delete (struct m0_container *container) |
|
int | main (int argc, char *argv[]) |
|
◆ alloc_vecs()
◆ cleanup_vecs()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ object_create()
◆ object_delete()
◆ object_open()
static int object_open |
( |
struct m0_obj * |
obj | ) |
|
|
static |
◆ object_read()
◆ object_write()
◆ prepare_ext_vecs()
static void prepare_ext_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, |
|
|
char |
c |
|
) |
| |
|
static |
◆ read_data_from_object()
◆ verify_show_data()
static void verify_show_data |
( |
struct m0_bufvec * |
data, |
|
|
char |
c |
|
) |
| |
|
static |
◆ write_data_to_object()
◆ m0_instance
◆ motr_conf
◆ motr_container
◆ motr_dix_conf
◆ obj_id