• Home
  • Raw
  • Download

Lines Matching refs:TDB_DATA

110 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()
773 int tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) in tdb_chainlock_read()
778 int tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) in tdb_chainunlock_read()
1158 int tdb_parse_data(struct tdb_context *tdb, TDB_DATA key, in tdb_parse_data()
1160 int (*parser)(TDB_DATA key, TDB_DATA data, in tdb_parse_data()
1164 TDB_DATA data; in tdb_parse_data()
2569 TDB_DATA key, data; in seen_insert()
2754 TDB_DATA key, dbuf; in tdb_traverse_internal()
2862 TDB_DATA tdb_firstkey(struct tdb_context *tdb) in tdb_firstkey()
2864 TDB_DATA key; in tdb_firstkey()
2887 TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA oldkey) in tdb_nextkey()
2890 TDB_DATA key = tdb_null; in tdb_nextkey()
3097 static int tdb_key_compare(TDB_DATA key, TDB_DATA data, void *private_data) in tdb_key_compare()
3104 static tdb_off_t tdb_find(struct tdb_context *tdb, TDB_DATA key, u32 hash, in tdb_find()
3131 tdb_off_t tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, in tdb_find_lock_hash()
3148 static int tdb_update_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, TDB_DATA dbuf) in tdb_update_hash()
3182 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key) in tdb_fetch()
3186 TDB_DATA ret; in tdb_fetch()
3217 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key, in tdb_parse_record()
3218 int (*parser)(TDB_DATA key, TDB_DATA data, in tdb_parse_record()
3248 static int tdb_exists_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash) in tdb_exists_hash()
3258 int tdb_exists(struct tdb_context *tdb, TDB_DATA key) in tdb_exists()
3360 static int tdb_delete_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash) in tdb_delete_hash()
3412 int tdb_delete(struct tdb_context *tdb, TDB_DATA key) in tdb_delete()
3452 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag) in tdb_store()
3591 int tdb_append(struct tdb_context *tdb, TDB_DATA key, TDB_DATA new_dbuf) in tdb_append()
3594 TDB_DATA dbuf; in tdb_append()
3710 static unsigned int default_tdb_hash(TDB_DATA *key) in default_tdb_hash()