Searched refs:BUCKET (Results 1 - 4 of 4) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/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...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/tdb/ |
H A D | tdb.c | 81 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) 105 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 1028 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 1031 tdb_unlock(tdb, BUCKET(hash), locktype); 1117 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1133 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1358 if (tdb_unlock(tdb, BUCKET(tdb->travlocks.hash), F_WRLCK) != 0) 1395 tdb->travlocks.hash = BUCKET(rec.full_hash); 1414 if (tdb_unlock(tdb, BUCKET(oldhash), F_WRLCK) != 0) 1429 if (tdb_unlock(tdb, BUCKET(re [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/tdb/ |
H A D | tdb.c | 108 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) 134 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 1040 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 1043 tdb_unlock(tdb, BUCKET(hash), locktype); 1131 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1147 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1382 if (tdb_unlock(tdb, BUCKET(tdb->travlocks.hash), F_WRLCK) != 0) 1419 tdb->travlocks.hash = BUCKET(rec.full_hash); 1438 if (tdb_unlock(tdb, BUCKET(oldhash), F_WRLCK) != 0) 1453 if (tdb_unlock(tdb, BUCKET(re [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/ |
H A D | tdb.c | 76 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) 102 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 1005 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 1008 tdb_unlock(tdb, BUCKET(hash), locktype); 1096 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1112 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 1340 if (tdb_unlock(tdb, BUCKET(tdb->travlocks.hash), F_WRLCK) != 0) 1377 tdb->travlocks.hash = BUCKET(rec.full_hash); 1396 if (tdb_unlock(tdb, BUCKET(oldhash), F_WRLCK) != 0) 1411 if (tdb_unlock(tdb, BUCKET(re [all...] |
Completed in 186 milliseconds