Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dtdb.h62 typedef struct TDB_DATA { struct
65 } TDB_DATA; argument
136 typedef int (*tdb_traverse_func)(struct tdb_context *, TDB_DATA, TDB_DATA, void *);
138 typedef unsigned int (*tdb_hash_func)(TDB_DATA *key);
158 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key);
159 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key,
160 int (*parser)(TDB_DATA key, TDB_DATA data,
163 int tdb_delete(struct tdb_context *tdb, TDB_DATA key);
164 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag);
165 int tdb_append(struct tdb_context *tdb, TDB_DATA key, TDB_DATA new_dbuf);
[all …]
Dtdbtool.c47 TDB_DATA iterate_kbuf;
106 static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
107 static int print_key(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
108 static int print_hexkey(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
208 TDB_DATA key, dbuf; in insert_tdb()
227 TDB_DATA key, dbuf; in store_tdb()
254 TDB_DATA key, dbuf; in show_tdb()
279 TDB_DATA key; in delete_tdb()
296 TDB_DATA key, dbuf; in move_rec()
337 static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) in print_rec()
[all …]
Dtdb.c110 static TDB_DATA tdb_null;
240 unsigned int (*hash_fn)(TDB_DATA *key);
277 static int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key,
279 int (*parser)(TDB_DATA key, TDB_DATA data,
282 static tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype,
743 int tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock()
751 int tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_nonblock()
757 int tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_mark()
763 int tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_unmark()
768 int tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) in tdb_chainunlock()
[all …]
Dundo_io.c141 TDB_DATA tdb_key, tdb_data; in write_file_system_identity()
185 TDB_DATA tdb_key, tdb_data; in write_block_size()
209 TDB_DATA tdb_key, tdb_data; in undo_write_tdb()
Dicount.c400 TDB_DATA key, data; in set_inode_count()
431 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/misc/
De2undo.c44 TDB_DATA tdb_key, tdb_data; in check_filesystem()
99 TDB_DATA tdb_key, tdb_data; in set_blk_size()
124 TDB_DATA key, data; in main()
/external/e2fsprogs/e2fsck/
Ddirinfo.c28 TDB_DATA tdb_iter;
198 TDB_DATA key, data; in e2fsck_get_dir_info()
268 TDB_DATA key, data; in e2fsck_put_dir_info()
348 TDB_DATA data, key; in e2fsck_dir_info_iter()
/external/ppp/pppd/
Dmain.c2190 TDB_DATA key; in lock_db()
2204 TDB_DATA key; in unlock_db()
2219 TDB_DATA key, dbuf; in update_db_entry()
2254 TDB_DATA key, dbuf;
2271 TDB_DATA key;
2284 TDB_DATA key; in cleanup_db()