Lines Matching refs:TDB_DATA
111 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()
775 int tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_read()
780 int tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) in tdb_chainunlock_read()
1163 int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key, in tdb_parse_data()
1165 int (*parser)(TDB_DATA key, TDB_DATA data, in tdb_parse_data()
1169 TDB_DATA data; in tdb_parse_data()
2574 TDB_DATA key, data; in seen_insert()
2759 TDB_DATA key, dbuf; in tdb_traverse_internal()
2867 TDB_DATA tdb_firstkey(struct tdb_context *tdb) in tdb_firstkey()
2869 TDB_DATA key; in tdb_firstkey()
2892 TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA oldkey) in tdb_nextkey()
2895 TDB_DATA key = tdb_null; in tdb_nextkey()
3102 static int tdb_key_compare(TDB_DATA key, TDB_DATA data, void *private_data) in tdb_key_compare()
3109 static tdb_off_t tdb_find(struct tdb_context *tdb, TDB_DATA key, u32 hash, in tdb_find()
3136 tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, in tdb_find_lock_hash()
3153 static int tdb_update_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, TDB_DATA dbuf) in tdb_update_hash()
3187 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key) in tdb_fetch()
3191 TDB_DATA ret; in tdb_fetch()
3222 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key, in tdb_parse_record()
3223 int (*parser)(TDB_DATA key, TDB_DATA data, in tdb_parse_record()
3253 static int tdb_exists_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash) in tdb_exists_hash()
3263 int tdb_exists(struct tdb_context *tdb, TDB_DATA key) in tdb_exists()
3365 static int tdb_delete_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash) in tdb_delete_hash()
3417 int tdb_delete(struct tdb_context *tdb, TDB_DATA key) in tdb_delete()
3457 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag) in tdb_store()
3596 int tdb_append(struct tdb_context *tdb, TDB_DATA key, TDB_DATA new_dbuf) in tdb_append()
3599 TDB_DATA dbuf; in tdb_append()
3715 static unsigned int default_tdb_hash(TDB_DATA *key) in default_tdb_hash()