Main Page | Modules | Data Structures | File List | Data Fields | Globals

src/io/trove/trove.c File Reference

Trove interface routines. More...

#include <stdlib.h>
#include "trove.h"
#include "trove-internal.h"

Functions

int trove_bstream_read_at (TROVE_coll_id coll_id, TROVE_handle handle, void *buffer, TROVE_size *inout_size_p, TROVE_offset offset, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_bstream_write_at (TROVE_coll_id coll_id, TROVE_handle handle, void *buffer, TROVE_size *inout_size_p, TROVE_offset offset, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_bstream_resize (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_size *inout_size_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_bstream_read_list (TROVE_coll_id coll_id, TROVE_handle handle, char **mem_offset_array, TROVE_size *mem_size_array, int mem_count, TROVE_offset *stream_offset_array, TROVE_size *stream_size_array, int stream_count, TROVE_size *out_size_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_bstream_write_list (TROVE_coll_id coll_id, TROVE_handle handle, char **mem_offset_array, TROVE_size *mem_size_array, int mem_count, TROVE_offset *stream_offset_array, TROVE_size *stream_size_array, int stream_count, TROVE_size *out_size_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_bstream_flush (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_read (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_p, TROVE_keyval_s *val_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_write (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_p, TROVE_keyval_s *val_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_remove (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_p, TROVE_keyval_s *val_p, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_read_list (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_array, TROVE_keyval_s *val_array, TROVE_ds_state *err_array, int count, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_write_list (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_array, TROVE_keyval_s *val_array, int count, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_remove_list (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_keyval_s *key_array, TROVE_keyval_s *val_array, int *error_array, int count, TROVE_ds_flags flags, TROVE_vtag_s *vtag, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_keyval_flush (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_create_list (TROVE_coll_id coll_id, TROVE_handle_extent_array *handle_extent_array, TROVE_handle *out_handle_array, int count, TROVE_ds_type type, TROVE_keyval_s *hint, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_create (TROVE_coll_id coll_id, TROVE_handle_extent_array *handle_extent_array, TROVE_handle *out_handle, TROVE_ds_type type, TROVE_keyval_s *hint, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_remove_list (TROVE_coll_id coll_id, TROVE_handle *handle_array, TROVE_ds_state *error_array, int count, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_remove (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_getattr (TROVE_coll_id coll_id, TROVE_handle handle, TROVE_ds_attributes_s *ds_attr_p, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_getattr_list (TROVE_coll_id coll_id, int nhandles, TROVE_handle *handle_array, TROVE_ds_attributes_s *ds_attr_p, TROVE_ds_state *error_array, TROVE_ds_flags flags, void *user_ptr, TROVE_context_id context_id, TROVE_op_id *out_op_id_p, PVFS_hint hints)
int trove_dspace_test (TROVE_coll_id coll_id, TROVE_op_id id, TROVE_context_id context_id, int *out_count_p, TROVE_vtag_s *vtag, void **returned_user_ptr_p, TROVE_ds_state *state_p, int max_idle_time_ms)
int trove_dspace_testsome (TROVE_coll_id coll_id, TROVE_context_id context_id, TROVE_op_id *ds_id_array, int *inout_count_p, int *out_index_array, TROVE_vtag_s *vtag_array, void **returned_user_ptr_array, TROVE_ds_state *state_array, int max_idle_time_ms)
int trove_dspace_testcontext (TROVE_coll_id coll_id, TROVE_op_id *ds_id_array, int *inout_count_p, TROVE_ds_state *state_array, void **user_ptr_array, int max_idle_time_ms, TROVE_context_id context_id)

Variables

PINT_perf_counterPINT_server_pc = NULL


Detailed Description

Trove interface routines.

This file holds the top-level routines for Trove. These routines are responsible for mapping Trove calls to specific underlying implementations.

Currently there is just one implementation, DBPF (database plus files), but there could be more.


Variable Documentation

struct PINT_perf_counter* PINT_server_pc = NULL
 

server-wide perf counter structure


Generated on Tue Feb 7 02:43:56 2012 for PVFS by doxygen 1.3.5