Home
last modified time | relevance | path

Searched refs:TDB_DATA (Results 1 – 8 of 8) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtdb.h62 typedef struct TDB_DATA { struct
65 } TDB_DATA; typedef
137 typedef int (*tdb_traverse_func)(struct tdb_context *, TDB_DATA, TDB_DATA, void *);
139 typedef unsigned int (*tdb_hash_func)(TDB_DATA *key);
159 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key);
160 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key,
161 int (*parser)(TDB_DATA key, TDB_DATA data,
164 int tdb_delete(struct tdb_context *tdb, TDB_DATA key);
165 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag);
166 int tdb_append(struct tdb_context *tdb, TDB_DATA key, TDB_DATA new_dbuf);
[all …]
Dtdbtool.c48 TDB_DATA iterate_kbuf;
107 static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
108 static int print_key(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
109 static int print_hexkey(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
209 TDB_DATA key, dbuf; in insert_tdb()
228 TDB_DATA key, dbuf; in store_tdb()
255 TDB_DATA key, dbuf; in show_tdb()
280 TDB_DATA key; in delete_tdb()
297 TDB_DATA key, dbuf; in move_rec()
338 static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) in print_rec()
[all …]
Dtdb.c111 static TDB_DATA tdb_null;
241 unsigned int (*hash_fn)(TDB_DATA *key);
279 static int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key,
281 int (*parser)(TDB_DATA key, TDB_DATA data,
284 static tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,
745 int tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock()
753 int tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_nonblock()
759 int tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_mark()
765 int tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_unmark()
770 int tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainunlock()
[all …]
Dicount.c437 TDB_DATA key, data; in set_inode_count()
474 TDB_DATA key, data; in get_inode_count()
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-prototypes32 -int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key,
56 +static int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key,
58 int (*parser)(TDB_DATA key, TDB_DATA data,
61 -tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,
62 +static tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,
Dext2tdb-rename5 @@ -76,6 +76,60 @@ typedef struct TDB_DATA {
/external/e2fsprogs/e2fsck/
Ddirinfo.c33 TDB_DATA tdb_iter;
219 TDB_DATA key, data; in e2fsck_get_dir_info()
293 TDB_DATA key, data; in e2fsck_put_dir_info()
389 TDB_DATA data, key; in e2fsck_dir_info_iter()
/external/ppp/pppd/
Dmain.c2164 TDB_DATA key; in lock_db()
2178 TDB_DATA key; in unlock_db()
2193 TDB_DATA key, dbuf; in update_db_entry()
2228 TDB_DATA key, dbuf;
2245 TDB_DATA key;
2258 TDB_DATA key; in cleanup_db()