|
Motr
M0
|
#include <isc_service.h>

Data Fields | |
| struct m0_fid | ic_fid |
| char * | ic_name |
| struct m0_hlink | ic_hlink |
| uint64_t | ic_gen |
| int(* | ic_op )(struct m0_buf *args_in, struct m0_buf *result, struct m0_isc_comp_private *comp_data, int *rc) |
| enum m0_isc_comp_state | ic_reg_state |
| uint32_t | ic_ref_count |
| uint64_t | ic_magic |
Represents a computation abstraction. This structure resides with the hash table that's part of ISC service. A concurrent access to a computation is handled by concurrent hash table.
Definition at line 49 of file isc_service.h.
| struct m0_fid ic_fid |
A unique identifier for a computation.
Definition at line 51 of file isc_service.h.
| uint64_t ic_gen |
A generation count for cookie associated with this computation.
Definition at line 57 of file isc_service.h.
| struct m0_hlink ic_hlink |
A linkage in hash-table for storing computations.
Definition at line 55 of file isc_service.h.
| uint64_t ic_magic |
Definition at line 70 of file isc_service.h.
| char* ic_name |
Human readable name of the computation.
Definition at line 53 of file isc_service.h.
| int(* ic_op) (struct m0_buf *args_in, struct m0_buf *result, struct m0_isc_comp_private *comp_data, int *rc) |
A pointer to operation. The output of the function is populated in result and caller is expected to free it after usage.
Definition at line 62 of file isc_service.h.
| uint32_t ic_ref_count |
Count for ongoing instances of the operation.
Definition at line 69 of file isc_service.h.
| enum m0_isc_comp_state ic_reg_state |
Indicates one of the states from m0_isc_comp_state.
Definition at line 67 of file isc_service.h.