Files | |
| file | bmi-types.h |
| file | bmi.c |
| file | bmi.h |
Data Structures | |
| struct | bmi_optimistic_buffer_info |
| used to describe a memory region in passing down a registration hint from IO routines. More... | |
| struct | BMI_unexpected_info |
| used to describe unexpected message arrivals. More... | |
Typedefs | |
| typedef int64_t | bmi_size_t |
| typedef int32_t | bmi_msg_tag_t |
| typedef int64_t | bmi_context_id |
| typedef int64_t | bmi_op_id_t |
| typedef int32_t | bmi_error_code_t |
Enumerations | |
| enum | { BMI_INIT_SERVER = 1, BMI_TCP_BIND_SPECIFIC = 2, BMI_AUTO_REF_COUNT = 4 } |
| enum | bmi_buffer_type |
| enum | { BMI_DROP_ADDR = 1, BMI_CHECK_INIT = 2, BMI_CHECK_MAXSIZE = 3, BMI_GET_METH_ADDR = 4, BMI_INC_ADDR_REF = 5, BMI_DEC_ADDR_REF = 6, BMI_DROP_ADDR_QUERY = 7, BMI_FORCEFUL_CANCEL_MODE = 8, BMI_GET_UNEXP_SIZE = 10 } |
Functions | |
| int | bmi_errno_to_pvfs (int error) |
| int | BMI_initialize (const char *method_list, const char *listen_addr, int flags) |
| int | BMI_finalize (void) |
| int | BMI_open_context (bmi_context_id *context_id) |
| void | BMI_close_context (bmi_context_id context_id) |
| int | BMI_post_send (bmi_op_id_t *id, BMI_addr_t dest, const void *buffer, bmi_size_t size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_post_sendunexpected (bmi_op_id_t *id, BMI_addr_t dest, const void *buffer, bmi_size_t size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_post_recv (bmi_op_id_t *id, BMI_addr_t src, void *buffer, bmi_size_t expected_size, bmi_size_t *actual_size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_test (bmi_op_id_t id, int *outcount, bmi_error_code_t *error_code, bmi_size_t *actual_size, void **user_ptr, int max_idle_time_ms, bmi_context_id context_id) |
| int | BMI_testsome (int incount, bmi_op_id_t *id_array, int *outcount, int *index_array, bmi_error_code_t *error_code_array, bmi_size_t *actual_size_array, void **user_ptr_array, int max_idle_time_ms, bmi_context_id context_id) |
| int | BMI_testunexpected (int incount, int *outcount, struct BMI_unexpected_info *info_array, int max_idle_time_ms) |
| int | BMI_testcontext (int incount, bmi_op_id_t *out_id_array, int *outcount, bmi_error_code_t *error_code_array, bmi_size_t *actual_size_array, void **user_ptr_array, int max_idle_time_ms, bmi_context_id context_id) |
| void * | BMI_memalloc (BMI_addr_t addr, bmi_size_t size, enum bmi_op_type send_recv) |
| int | BMI_memfree (BMI_addr_t addr, void *buffer, bmi_size_t size, enum bmi_op_type send_recv) |
| int | BMI_unexpected_free (BMI_addr_t addr, void *buffer) |
| int | BMI_set_info (BMI_addr_t addr, int option, void *inout_parameter) |
| int | BMI_get_info (BMI_addr_t addr, int option, void *inout_parameter) |
| int | BMI_addr_lookup (BMI_addr_t *new_addr, const char *id_string) |
| const char * | BMI_addr_rev_lookup (BMI_addr_t addr) |
| const char * | BMI_addr_rev_lookup_unexpected (BMI_addr_t addr) |
| int | BMI_query_addr_range (BMI_addr_t addr, const char *id_string, int netmask) |
| int | BMI_post_send_list (bmi_op_id_t *id, BMI_addr_t dest, const void *const *buffer_list, const bmi_size_t *size_list, int list_count, bmi_size_t total_size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_post_recv_list (bmi_op_id_t *id, BMI_addr_t src, void *const *buffer_list, const bmi_size_t *size_list, int list_count, bmi_size_t total_expected_size, bmi_size_t *total_actual_size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_post_sendunexpected_list (bmi_op_id_t *id, BMI_addr_t dest, const void *const *buffer_list, const bmi_size_t *size_list, int list_count, bmi_size_t total_size, enum bmi_buffer_type buffer_type, bmi_msg_tag_t tag, void *user_ptr, bmi_context_id context_id, bmi_hint hints) |
| int | BMI_cancel (bmi_op_id_t id, bmi_context_id context_id) |
Both clients and servers use this interface, and the default flow protocol also builds on BMI.
|
|
Context identifier.
|
|
|
error code information
|
|
|
User-specified message tag.
|
|
|
Reference to ongoing network op.
|
|
|
Data region size.
|
|
|
BMI method initialization flags.
|
|
|
|
BMI memory buffer flags.
|
|
||||||||||||
|
Resolves the string representation of a host address into a BMI address handle.
|
Here is the call graph for this function:

|
|
Performs a reverse lookup, returning the string (URL style) address for a given opaque address. NOTE: caller must not free or modify returned string
|
|
|
Performs a reverse lookup, returning a string address for a given opaque address. Works on any address, even those generated unexpectedly, but only gives hostname instead of full BMI URL style address NOTE: caller must not free or modify returned string
|
|
||||||||||||
|
Attempts to cancel a pending operation that has not yet completed. Caller must still test to gather error code after calling this function even if it returns 0.
|
Here is the call graph for this function:

|
|
Destroys a context previous generated with BMI_open_context().
|
|
|
default bmi error translation function
|
|
|
Shuts down the BMI layer.
|
|
||||||||||||||||
|
Query for optional parameters.
|
Here is the call graph for this function:

|
||||||||||||||||
|
Initializes the BMI layer. Must be called before any other BMI functions.
|
Here is the call graph for this function:

|
||||||||||||||||
|
Allocates memory that can be used in native mode by the BMI layer.
|
|
||||||||||||||||||||
|
Frees memory that was allocated with BMI_memalloc().
|
Here is the call graph for this function:

|
|
Creates a new context to be used for communication. This can be used, for example, to distinguish between operations posted by different threads.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||||||
|
Submits receive operations for subsequent service.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to BMI_post_recv(), except that the dest buffer is replaced by a list of (possibly non contiguous) buffers.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||
|
Submits send operations for subsequent service.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to BMI_post_send(), except that the source buffer is replaced by a list of (possibly non contiguous) buffers.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||
|
Submits unexpected send operations for subsequent service.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar to BMI_post_sendunexpected(), except that the source buffer is replaced by a list of (possibly non contiguous) buffers.
|
Here is the call graph for this function:

|
||||||||||||||||
|
Given a string representation of a host/network address and a BMI address handle, return whether the BMI address handle is part of the wildcard address range specified by the string.
|
Here is the call graph for this function:

|
||||||||||||||||
|
Pass in optional parameters.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||
|
Checks to see if a particular message has completed.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||
|
Checks to see if any messages from the specified context have completed.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||
|
Checks to see if any messages from the specified list have completed.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Checks to see if any unexpected messages have completed.
|
Here is the call graph for this function:

|
||||||||||||
|
Acknowledge that an unexpected message has been serviced that was returned from BMI_test_unexpected().
|
Here is the call graph for this function:

1.3.5