Home
last modified time | relevance | path

Searched refs:TDB_HASH_TOP (Results 1 – 2 of 2) sorted by relevance

/external/ppp/pppd/
Dtdb.c76 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) macro
77 #define TDB_DATA_START(hash_size) (TDB_HASH_TOP(hash_size-1) + TDB_SPINLOCK_SIZE(hash_size))
532 top = TDB_HASH_TOP(i);
972 if (ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1)
1182 if (ofs_read(tdb, TDB_HASH_TOP(rec->full_hash), &i) == -1)
1190 last_ptr = TDB_HASH_TOP(rec->full_hash);
1213 if (ofs_read(tdb, TDB_HASH_TOP(tlock->hash),
1483 if (ofs_read(tdb, TDB_HASH_TOP(hash), &rec.next) == -1)
1494 || ofs_write(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) {
1606 if (ofs_read(tdb, TDB_HASH_TOP(hash), &rec.next) == -1)
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtdb.c139 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) macro
141 #define TDB_DATA_START(hash_size) TDB_HASH_TOP(hash_size-1)
951 if (0 != *(u32 *)(TDB_HASH_TOP(h) + (unsigned char *)tdb->map_ptr)) { in tdb_next_hash_chain()
958 if (tdb_ofs_read(tdb, TDB_HASH_TOP(h), &off) != 0 || off != 0) { in tdb_next_hash_chain()
2692 if (tdb_ofs_read(tdb, TDB_HASH_TOP(tlock->hash), in tdb_next_lock()
2985 top = TDB_HASH_TOP(i); in tdb_dump_chain()
3114 if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) in tdb_find()
3285 if (tdb_ofs_read(tdb, TDB_HASH_TOP(rec->full_hash), &i) == -1) in tdb_do_delete()
3293 last_ptr = TDB_HASH_TOP(rec->full_hash); in tdb_do_delete()
3310 if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) in tdb_count_dead()
[all …]