Go to the documentation of this file.
65 static uint32_t DefragTrackerHashRowTimeout(
80 if (DefragTrackerTimedOut(dt,
ts) == 1) {
82 if (dt->
hprev != NULL)
84 if (dt->
hnext != NULL)
109 }
while (dt != NULL);
134 if (hb->
tail == NULL) {
140 cnt += DefragTrackerHashRowTimeout(hb, hb->
tail,
ts);
struct DefragTracker_ * hnext
DefragTrackerHashRow * defragtracker_hash
void DefragTrackerClearMemory(DefragTracker *dt)
void DefragTrackerMoveToSpare(DefragTracker *h)
struct DefragTracker_ * hprev
DefragConfig defrag_config
#define SCMutexUnlock(mut)
#define DRLOCK_UNLOCK(fb)
uint32_t DefragTimeoutHash(SCTime_t ts)
time out tracker from the hash
#define DRLOCK_TRYLOCK(fb)
#define SCTIME_CMP_GT(a, b)
#define SC_ATOMIC_GET(name)
Get the value from the atomic variable.
#define SCMutexTrylock(mut)