Home
last modified time | relevance | path

Searched refs:tdb_context (Results 1 – 5 of 5) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtdb.h134 typedef struct tdb_context TDB_CONTEXT;
136 typedef int (*tdb_traverse_func)(struct tdb_context *, TDB_DATA, TDB_DATA, void *);
137 typedef void (*tdb_log_func)(struct tdb_context *, enum tdb_debug_level, const char *, ...) PRINTF_…
145 struct tdb_context *tdb_open(const char *name, int hash_size, int tdb_flags,
147 struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
151 void tdb_set_max_dead(struct tdb_context *tdb, int max_dead);
153 int tdb_reopen(struct tdb_context *tdb);
155 void tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx);
156 enum TDB_ERROR tdb_error(struct tdb_context *tdb);
157 const char *tdb_errorstr(struct tdb_context *tdb);
[all …]
Dtdb.c214 int (*tdb_read)(struct tdb_context *, tdb_off_t , void *, tdb_len_t , int );
215 int (*tdb_write)(struct tdb_context *, tdb_off_t, const void *, tdb_len_t);
216 void (*next_hash_chain)(struct tdb_context *, u32 *);
217 int (*tdb_oob)(struct tdb_context *, tdb_off_t , int );
218 int (*tdb_expand_file)(struct tdb_context *, tdb_off_t , tdb_off_t );
219 int (*tdb_brlock)(struct tdb_context *, tdb_off_t , int, int, int, size_t);
222 struct tdb_context { struct
236 struct tdb_context *next; /* all tdbs to avoid multiple opens */ argument
254 static int tdb_munmap(struct tdb_context *tdb); argument
255 static void tdb_mmap(struct tdb_context *tdb);
[all …]
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-prototypes5 @@ -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 …]
Dstatic-functions9 -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)
Dext2tdb-rename64 typedef struct tdb_context TDB_CONTEXT;