Searched refs:BUCKET (Results 1 - 8 of 8) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/ |
H A D | bufferqueue.h | 55 #define BUCKET(i) queue->queue[(queue->head + (i)) % FF_BUFQUEUE_SIZE] macro 76 av_frame_free(&BUCKET(--queue->available)); 78 BUCKET(queue->available++) = buf; 90 return index < queue->available ? BUCKET(index) : NULL; 119 #undef BUCKET macro
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/tdb/common/ |
H A D | tdb.c | 98 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) 101 tdb_unlock(tdb, BUCKET(hash), locktype); 159 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 199 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 216 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); 335 if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) 347 tdb_unlock(tdb, BUCKET(hash), F_WRLCK); 369 if (tdb_unlock(tdb, BUCKET(rec.full_hash), F_WRLCK) != 0) 429 if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) 547 tdb_unlock(tdb, BUCKET(has [all...] |
H A D | lock.c | 351 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 356 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 361 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); 366 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
|
H A D | tdb_private.h | 63 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) 86 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro
|
H A D | traverse.c | 315 tdb->travlocks.hash = BUCKET(rec.full_hash); 334 if (tdb_unlock(tdb, BUCKET(oldhash), tdb->travlocks.lock_rw) != 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/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...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/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-R7000-V1.0.7.12_1.2.5/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 143 milliseconds