Searched refs:tdb (Results 1 – 7 of 7) sorted by relevance
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | tdb.c | 118 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap() 134 tdb->map_ptr = mmap(NULL, tdb->map_size, in tdb_mmap() 690 tdb_oob(tdb, tdb->map_size + 1, 1); 707 if (expand_file(tdb, tdb->map_size, size) != 0) 915 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 1336 if (unlock_record(tdb, tdb->travlocks.off) != 0) 1338 tdb->travlocks.off = tdb->travlocks.hash = 0; 1360 if (tdb_lock(tdb,tdb->travlocks.hash,F_WRLCK)) 1610 if (read(tdb->fd, &tdb->header, sizeof(tdb->header)) != sizeof(tdb->header) 1629 convert(&tdb->header, sizeof(tdb->header)); [all …]
|
A D | tdb.h | 48 #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret) 106 …void (*log_fn)(struct tdb_context *tdb, int level, const char *, ...) PRINTF_ATTRIBUTE(3,4); /* lo… 120 enum TDB_ERROR tdb_error(TDB_CONTEXT *tdb); 121 const char *tdb_errorstr(TDB_CONTEXT *tdb); 122 TDB_DATA tdb_fetch(TDB_CONTEXT *tdb, TDB_DATA key); 123 int tdb_delete(TDB_CONTEXT *tdb, TDB_DATA key); 124 int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag); 125 int tdb_close(TDB_CONTEXT *tdb); 126 TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb); 127 TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key); [all …]
|
A D | xs_tdb_dump.c | 29 static void tdb_logger(TDB_CONTEXT *tdb, int level, const char * fmt, ...) in tdb_logger() argument 41 TDB_CONTEXT *tdb; in main() local 46 tdb = tdb_open_ex(talloc_strdup(NULL, argv[1]), 0, 0, O_RDONLY, 0, in main() 48 if (!tdb) in main() 51 key = tdb_firstkey(tdb); in main() 56 data = tdb_fetch(tdb, key); in main() 82 key = tdb_nextkey(tdb, key); in main()
|
A D | Makefile | 29 XENSTORED_OBJS += xs_lib.o talloc.o utils.o tdb.o hashtable.o 94 xs_tdb_dump: xs_tdb_dump.o utils.o tdb.o talloc.o
|
A D | xenstored_core.c | 1522 static void tdb_logger(TDB_CONTEXT *tdb, int level, const char * fmt, ...) in tdb_logger() argument 1712 static int clean_store_(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA val, in clean_store_() argument 1732 tdb_delete(tdb, key); in clean_store_()
|
/xen-4.10.0-shim-comet/tools/hotplug/FreeBSD/rc.d/ |
A D | xencommons.in | 48 rm -f ${XENSTORED_ROOTDIR}/tdb* >/dev/null 2>&1
|
/xen-4.10.0-shim-comet/tools/hotplug/NetBSD/rc.d/ |
A D | xencommons.in | 46 rm -f ${XENSTORED_ROOTDIR}/tdb* >/dev/null 2>&1
|
Completed in 25 milliseconds