Searched refs:tdb_context (Results 1 – 5 of 5) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.h | 135 typedef struct tdb_context TDB_CONTEXT; 137 typedef int (*tdb_traverse_func)(struct tdb_context *, TDB_DATA, TDB_DATA, void *); 138 typedef void (*tdb_log_func)(struct tdb_context *, enum tdb_debug_level, const char *, ...) PRINTF_… 146 struct tdb_context *tdb_open(const char *name, int hash_size, int tdb_flags, 148 struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags, 152 void tdb_set_max_dead(struct tdb_context *tdb, int max_dead); 154 int tdb_reopen(struct tdb_context *tdb); 156 void tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx); 157 enum TDB_ERROR tdb_error(struct tdb_context *tdb); 158 const char *tdb_errorstr(struct tdb_context *tdb); [all …]
|
D | tdb.c | 215 int (*tdb_read)(struct tdb_context *, tdb_off_t , void *, tdb_len_t , int ); 216 int (*tdb_write)(struct tdb_context *, tdb_off_t, const void *, tdb_len_t); 217 void (*next_hash_chain)(struct tdb_context *, u32 *); 218 int (*tdb_oob)(struct tdb_context *, tdb_off_t , int ); 219 int (*tdb_expand_file)(struct tdb_context *, tdb_off_t , tdb_off_t ); 220 int (*tdb_brlock)(struct tdb_context *, tdb_off_t , int, int, int, size_t); 223 struct tdb_context { struct 237 struct tdb_context *next; /* all tdbs to avoid multiple opens */ argument 256 static int tdb_munmap(struct tdb_context *tdb); argument 257 static void tdb_mmap(struct tdb_context *tdb); [all …]
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 5 @@ -251,39 +251,39 @@ struct tdb_context { 9 -int tdb_munmap(struct tdb_context *tdb); 10 -void tdb_mmap(struct tdb_context *tdb); 11 -int tdb_lock(struct tdb_context *tdb, int list, int ltype); 12 -int tdb_unlock(struct tdb_context *tdb, int list, int ltype); 13 -int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, si… 14 -int tdb_transaction_lock(struct tdb_context *tdb, int ltype); 15 -int tdb_transaction_unlock(struct tdb_context *tdb); 16 -int tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len); 17 -int tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off); [all …]
|
D | static-functions | 9 -int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) 10 +static int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec)
|
D | ext2tdb-rename | 64 typedef struct tdb_context TDB_CONTEXT;
|