Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
libdaos_mock.cxx File Reference
#include <ROOT/RLogger.hxx>
#include <ROOT/RNTupleUtil.hxx>
#include <ROOT/RStringView.hxx>
#include <daos.h>
#include <array>
#include <algorithm>
#include <cstring>
#include <memory>
#include <mutex>
#include <string>
#include <type_traits>
#include <unordered_map>
Include dependency graph for libdaos_mock.cxx:

Typedefs

using Uuid_t = std::array< unsigned char, 16 >
 

Functions

const char * d_errstr (int rc)
 
void d_rank_list_free (d_rank_list_t *rank_list)
 
int daos_cont_close (daos_handle_t coh, 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_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_eq_create (daos_handle_t *eqh)
 
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_event_fini (daos_event_t *ev)
 
int daos_event_init (daos_event_t *ev, daos_handle_t eqh, daos_event_t *parent)
 
int daos_fini (void)
 
int daos_init (void)
 
int daos_obj_close (daos_handle_t oh, daos_event_t *ev)
 
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)
 
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_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_oclass_id2name (daos_oclass_id_t oc_id, char *name)
 
int daos_oclass_name2id (const char *name)
 
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)
 
int daos_pool_disconnect (daos_handle_t poh, daos_event_t *ev)
 
d_rank_list_tdaos_rank_list_parse (const char *str, const char *sep)
 
bool operator== (const daos_obj_id_t &lhs, const daos_obj_id_t &rhs)
 

Detailed Description

Author
Javier Lopez-Gomez j.lop.nosp@m.ez@c.nosp@m.ern.c.nosp@m.h
Date
2021-01-20
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition in file libdaos_mock.cxx.

Typedef Documentation

◆ Uuid_t

using Uuid_t = std::array<unsigned char, 16>

Definition at line 31 of file libdaos_mock.cxx.

Function Documentation

◆ d_errstr()

const char * d_errstr ( int  rc)

Definition at line 241 of file libdaos_mock.cxx.

◆ d_rank_list_free()

void d_rank_list_free ( d_rank_list_t rank_list)

Definition at line 236 of file libdaos_mock.cxx.

◆ daos_cont_close()

int daos_cont_close ( daos_handle_t  coh,
daos_event_t ev 
)

Definition at line 305 of file libdaos_mock.cxx.

◆ daos_cont_create()

int daos_cont_create ( daos_handle_t  poh,
const uuid_t  uuid,
daos_prop_t cont_prop,
daos_event_t ev 
)

Definition at line 270 of file libdaos_mock.cxx.

◆ daos_cont_open()

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 
)

Definition at line 285 of file libdaos_mock.cxx.

◆ daos_eq_create()

int daos_eq_create ( daos_handle_t eqh)

Definition at line 316 of file libdaos_mock.cxx.

◆ daos_eq_destroy()

int daos_eq_destroy ( daos_handle_t  eqh,
int  flags 
)

Definition at line 322 of file libdaos_mock.cxx.

◆ daos_eq_poll()

int daos_eq_poll ( daos_handle_t  eqh,
int  wait_running,
int64_t  timeout,
unsigned int  nevents,
daos_event_t **  events 
)

Definition at line 329 of file libdaos_mock.cxx.

◆ daos_event_fini()

int daos_event_fini ( daos_event_t ev)

Definition at line 347 of file libdaos_mock.cxx.

◆ daos_event_init()

int daos_event_init ( daos_event_t ev,
daos_handle_t  eqh,
daos_event_t parent 
)

Definition at line 339 of file libdaos_mock.cxx.

◆ daos_fini()

int daos_fini ( void  )

Definition at line 224 of file libdaos_mock.cxx.

◆ daos_init()

int daos_init ( void  )

Definition at line 218 of file libdaos_mock.cxx.

◆ daos_obj_close()

int daos_obj_close ( daos_handle_t  oh,
daos_event_t ev 
)

Definition at line 370 of file libdaos_mock.cxx.

◆ daos_obj_fetch()

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 
)

Definition at line 377 of file libdaos_mock.cxx.

◆ daos_obj_open()

int daos_obj_open ( daos_handle_t  coh,
daos_obj_id_t  oid,
unsigned int  mode,
daos_handle_t oh,
daos_event_t ev 
)

Definition at line 357 of file libdaos_mock.cxx.

◆ daos_obj_update()

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 
)

Definition at line 392 of file libdaos_mock.cxx.

◆ daos_oclass_id2name()

int daos_oclass_id2name ( daos_oclass_id_t  oc_id,
char *  name 
)

Definition at line 253 of file libdaos_mock.cxx.

◆ daos_oclass_name2id()

int daos_oclass_name2id ( const char *  name)

Definition at line 246 of file libdaos_mock.cxx.

◆ daos_pool_connect()

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 
)

Definition at line 410 of file libdaos_mock.cxx.

◆ daos_pool_disconnect()

int daos_pool_disconnect ( daos_handle_t  poh,
daos_event_t ev 
)

Definition at line 426 of file libdaos_mock.cxx.

◆ daos_rank_list_parse()

d_rank_list_t * daos_rank_list_parse ( const char *  str,
const char *  sep 
)

Definition at line 229 of file libdaos_mock.cxx.

◆ operator==()

bool operator== ( const daos_obj_id_t lhs,
const daos_obj_id_t rhs 
)
inline

Definition at line 51 of file libdaos_mock.cxx.