Lines Matching refs:CheckCacheExpiration
2897 // Calling CheckCacheExpiration() is an expensive operation because it has to look at the entire cache,
4246 // CacheRecordRmv is only called from CheckCacheExpiration, which is called from mDNS_Execute.
4421 mDNSlocal void CheckCacheExpiration(mDNS *const m, const mDNSu32 slot, CacheGroup *const cg)
4425 if (m->lock_rrcache) { LogMsg("CheckCacheExpiration ERROR! Cache already locked!"); return; }
4436 verbosedebugf("CheckCacheExpiration: Deleting%7d %7d %p %s",
4482 verbosedebugf("CheckCacheExpiration:%6d %5d %s",
4489 if (cg->rrcache_tail != rp) verbosedebugf("CheckCacheExpiration: Updating CacheGroup tail from %p to %p", cg->rrcache_tail, rp);
4611 if (cg) CheckCacheExpiration(m, slot, cg);
4612 if (m->NewQuestions != q) { LogInfo("AnswerNewQuestion: Question deleted while doing CheckCacheExpiration"); goto exit; }
4614 // Advance NewQuestions to the next *after* calling CheckCacheExpiration, because if we advance it first
4615 // then CheckCacheExpiration may give this question add/remove callbacks, and it's not yet ready for that.
4617 // Also, CheckCacheExpiration() calls CacheRecordDeferredAdd() and CacheRecordRmv(), which invoke
4620 // value of m->NewQuestions in 'q' before calling CheckCacheExpiration(), and then verify afterwards
5123 CheckCacheExpiration(m, slot, *cp);