69#define DAOS_HDL_INVAL ((daos_handle_t){0})
70#define DAOS_TX_NONE DAOS_HDL_INVAL
72#define DAOS_PC_RO (1U << 0)
73#define DAOS_PC_RW (1U << 1)
74#define DAOS_PC_EX (1U << 2)
88#define DAOS_EQ_WAIT -1
90#define DAOS_EQ_NOWAIT 0
150#define DAOS_OBJ_NIL ((daos_obj_id_t){0})
152#define OID_FMT_INTR_BITS 32
153#define OID_FMT_TYPE_BITS 8
154#define OID_FMT_CLASS_BITS 8
155#define OID_FMT_META_BITS 16
157#define OID_FMT_TYPE_SHIFT (64 - OID_FMT_TYPE_BITS)
158#define OID_FMT_CLASS_SHIFT (OID_FMT_TYPE_SHIFT - OID_FMT_CLASS_BITS)
159#define OID_FMT_META_SHIFT (OID_FMT_CLASS_SHIFT - OID_FMT_META_BITS)
243#define DAOS_PROP_LABEL_MAX_LEN (127)
244#define DAOS_PROP_MAX_LABEL_BUF_LEN (DAOS_PROP_LABEL_MAX_LEN + 1)
245#define DAOS_UUID_STR_SIZE (37)
255#define DAOS_COO_RO (1U << 0)
256#define DAOS_COO_RW (1U << 1)
283#define DER_ERR_GURT_BASE 1000
284#define DER_INVAL (DER_ERR_GURT_BASE + 3)
285#define DER_EXIST (DER_ERR_GURT_BASE + 4)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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)
daos_otype_t
DAOS object type.
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)
uint16_t daos_oclass_hints_t
int daos_pool_connect(const char *pool, const char *grp, unsigned int flags, daos_handle_t *poh, daos_pool_info_t *info, daos_event_t *ev)
int daos_event_fini(daos_event_t *ev)
@ DAOS_REC_ANY
Any record size, it is used by fetch.
int daos_obj_generate_oid(daos_handle_t coh, daos_obj_id_t *oid, enum daos_otype_t type, daos_oclass_id_t cid, daos_oclass_hints_t hints, uint32_t args)
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)
static bool daos_label_is_valid(const char *)
uint16_t daos_oclass_id_t
int daos_event_init(daos_event_t *ev, daos_handle_t eqh, daos_event_t *parent)
int daos_event_test(daos_event_t *ev, int64_t timeout, bool *flag)
struct daos_event daos_event_t
Event and event queue.
static bool daos_otype_t_is_valid(enum daos_otype_t type)
int daos_eq_create(daos_handle_t *eqh)
int daos_obj_close(daos_handle_t oh, daos_event_t *ev)
daos_iod_type_t
Type of the value accessed in an IOD.
int daos_cont_create_with_label(daos_handle_t poh, const char *label, daos_prop_t *cont_prop, uuid_t *uuid, daos_event_t *ev)
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)
int daos_cont_open(daos_handle_t poh, const char *uuid, unsigned int flags, daos_handle_t *coh, daos_cont_info_t *info, daos_event_t *ev)
@ 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.
int daos_event_parent_barrier(daos_event_t *ev)
Scatter/gather list for memory buffers.
struct daos_event::@175 ev_private
Generic handle for various DAOS components like container, object, etc.
daos properties, for pool or container