Searched refs:BUCKET (Results 1 - 5 of 5) sorted by relevance
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | tdb.c | 49 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 181 hash = BUCKET(hash); 630 tdb_lock(tdb, BUCKET(hash)); 652 tdb_unlock(tdb, BUCKET(hash)); 674 tdb_lock(tdb, BUCKET(hash)); 684 tdb_unlock(tdb, BUCKET(hash)); 710 tdb_lock(tdb, BUCKET(hash)); 712 tdb_unlock(tdb, BUCKET(hash)); 740 tdb_lock(tdb, BUCKET(h)); 770 tdb_unlock(tdb, BUCKET( [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | tdb.c | 49 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 181 hash = BUCKET(hash); 636 tdb_lock(tdb, BUCKET(hash)); 658 tdb_unlock(tdb, BUCKET(hash)); 680 tdb_lock(tdb, BUCKET(hash)); 690 tdb_unlock(tdb, BUCKET(hash)); 716 tdb_lock(tdb, BUCKET(hash)); 718 tdb_unlock(tdb, BUCKET(hash)); 746 tdb_lock(tdb, BUCKET(h)); 776 tdb_unlock(tdb, BUCKET( [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | tdb.c | 49 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 181 hash = BUCKET(hash); 636 tdb_lock(tdb, BUCKET(hash)); 658 tdb_unlock(tdb, BUCKET(hash)); 680 tdb_lock(tdb, BUCKET(hash)); 690 tdb_unlock(tdb, BUCKET(hash)); 716 tdb_lock(tdb, BUCKET(hash)); 718 tdb_unlock(tdb, BUCKET(hash)); 746 tdb_lock(tdb, BUCKET(h)); 776 tdb_unlock(tdb, BUCKET( [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/ |
H A D | tdb.c | 79 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) 105 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 1034 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 1037 tdb_unlock(tdb, BUCKET(hash), locktype); 1125 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1141 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1373 if (tdb_unlock(tdb, BUCKET(tdb->travlocks.hash), F_WRLCK) != 0) 1410 tdb->travlocks.hash = BUCKET(rec.full_hash); 1429 if (tdb_unlock(tdb, BUCKET(oldhash), F_WRLCK) != 0) 1444 if (tdb_unlock(tdb, BUCKET(re [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | tdb.c | 139 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) 162 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 747 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 755 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 761 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 767 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 772 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 777 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); 782 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); 2924 tdb->travlocks.hash = BUCKET(re [all...] |
Completed in 101 milliseconds