Searched refs:FREELIST_TOP (Results 1 – 1 of 1) sorted by relevance
/third_party/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 139 #define FREELIST_TOP (sizeof(struct tdb_header)) macro 144 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) 467 tdb->methods->tdb_brlock(tdb,FREELIST_TOP+4*list, ltype, op, in _tdb_lock() 559 ret = tdb->methods->tdb_brlock(tdb, FREELIST_TOP+4*list, F_UNLCK, in tdb_unlock() 652 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, ltype, op, in _tdb_lockall() 691 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, in _tdb_unlockall() 1420 if (len == sizeof(tdb_off_t) && off >= FREELIST_TOP && in transaction_write() 1421 off < FREELIST_TOP+TDB_HASHTABLE_SIZE(tdb)) { in transaction_write() 1422 u32 chain = (off-FREELIST_TOP) / sizeof(tdb_off_t); in transaction_write() 1651 if (tdb_brlock(tdb, FREELIST_TOP, F_RDLCK, F_SETLKW, 0, 0) == -1) { in tdb_transaction_start() [all …]
|