67#define DAOS_HDL_INVAL ((daos_handle_t){0})
68#define DAOS_TX_NONE DAOS_HDL_INVAL
70#define DAOS_PC_RO (1U << 0)
71#define DAOS_PC_RW (1U << 1)
72#define DAOS_PC_EX (1U << 2)
86#define DAOS_EQ_WAIT -1
88#define DAOS_EQ_NOWAIT 0
97 int64_t timeout,
unsigned int nevents,
daos_event_t **events);
150#define OID_FMT_INTR_BITS 32
151#define OID_FMT_VER_BITS 4
152#define OID_FMT_FEAT_BITS 16
153#define OID_FMT_CLASS_BITS (OID_FMT_INTR_BITS - OID_FMT_VER_BITS - \
156#define OID_FMT_VER_SHIFT (64 - OID_FMT_VER_BITS)
157#define OID_FMT_FEAT_SHIFT (OID_FMT_VER_SHIFT - OID_FMT_FEAT_BITS)
158#define OID_FMT_CLASS_SHIFT (OID_FMT_FEAT_SHIFT - OID_FMT_CLASS_BITS)
252#define DAOS_COO_RO (1U << 0)
253#define DAOS_COO_RW (1U << 1)
286#define DER_ERR_GURT_BASE 1000
287#define DER_INVAL (DER_ERR_GURT_BASE + 3)
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int daos_oclass_id2name(daos_oclass_id_t oc_id, char *name)
const char * d_errstr(int rc)
int daos_pool_disconnect(daos_handle_t poh, daos_event_t *ev)
int daos_oclass_name2id(const char *name)
int daos_obj_fetch(daos_handle_t oh, daos_handle_t th, uint64_t flags, daos_key_t *dkey, unsigned int nr, daos_iod_t *iods, d_sg_list_t *sgls, daos_iom_t *ioms, daos_event_t *ev)
static void d_iov_set(d_iov_t *iov, void *buf, size_t size)
int daos_obj_open(daos_handle_t coh, daos_obj_id_t oid, unsigned int mode, daos_handle_t *oh, daos_event_t *ev)
int daos_cont_create(daos_handle_t poh, const uuid_t uuid, daos_prop_t *cont_prop, daos_event_t *ev)
int daos_event_fini(daos_event_t *ev)
int daos_obj_update(daos_handle_t oh, daos_handle_t th, uint64_t flags, daos_key_t *dkey, unsigned int nr, daos_iod_t *iods, d_sg_list_t *sgls, daos_event_t *ev)
int daos_cont_close(daos_handle_t coh, daos_event_t *ev)
uint16_t daos_oclass_id_t
#define OID_FMT_INTR_BITS
int daos_event_init(daos_event_t *ev, daos_handle_t eqh, daos_event_t *parent)
static int daos_obj_generate_id(daos_obj_id_t *oid, daos_ofeat_t ofeats, daos_oclass_id_t cid, uint32_t args)
struct daos_event daos_event_t
Event and event queue.
int daos_eq_create(daos_handle_t *eqh)
int daos_cont_open(daos_handle_t poh, const uuid_t uuid, unsigned int flags, daos_handle_t *coh, daos_cont_info_t *info, daos_event_t *ev)
int daos_pool_connect(const uuid_t uuid, const char *grp, const d_rank_list_t *svc, unsigned int flags, daos_handle_t *poh, daos_pool_info_t *info, daos_event_t *ev)
d_rank_list_t * daos_rank_list_parse(const char *str, const char *sep)
@ DAOS_REC_ANY
Any record size, it is used by fetch.
int daos_obj_close(daos_handle_t oh, daos_event_t *ev)
daos_iod_type_t
Type of the value accessed in an IOD.
#define OID_FMT_VER_SHIFT
int daos_eq_destroy(daos_handle_t eqh, int flags)
int daos_eq_poll(daos_handle_t eqh, int wait_running, int64_t timeout, unsigned int nevents, daos_event_t **events)
#define OID_FMT_CLASS_SHIFT
#define OID_FMT_FEAT_SHIFT
@ OC_RESERVED
Class ID equal or higher than this is reserved.
@ OC_S1
Object classes with explicit layout.
@ OC_RP_XSF
Replicated object class which is extremely scalable for fetch.
Scatter/gather list for memory buffers.
struct daos_event::@190 ev_private
Generic handle for various DAOS components like container, object, etc.
daos properties, for pool or container