Lines Matching refs:CacheGroup
322 mDNSexport CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name)
324 CacheGroup *cg;
331 mDNSlocal CacheGroup *CacheGroupForRecord(const mDNS *const m, const mDNSu32 slot, const ResourceRecord *const rr)
2580 const CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
2651 CacheGroup *cg;
2672 CacheGroup *const cg = CacheGroupForName(m, HashSlot(name), namehash, name);
2680 CacheGroup *const cg = CacheGroupForName(m, HashSlot(&q->qname), q->qnamehash, &q->qname);
2819 const CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
2852 CacheGroup *cg;
3415 CacheGroup *cg;
3491 CacheGroup *cg = CacheGroupForName(m, slot, namehash, name);
3686 mDNSlocal void ReleaseCacheGroup(mDNS *const m, CacheGroup **cp)
3689 //LogMsg("ReleaseCacheGroup: Releasing CacheGroup for %p, %##s", (*cp)->name->c, (*cp)->name->c);
3711 mDNSlocal void CheckCacheExpiration(mDNS *const m, const mDNSu32 slot, CacheGroup *const cg)
3778 if (cg->rrcache_tail != rp) verbosedebugf("CheckCacheExpiration: Updating CacheGroup tail from %p to %p", cg->rrcache_tail, rp);
3788 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
4033 mDNSlocal CacheEntity *GetCacheEntity(mDNS *const m, const CacheGroup *const PreserveCG)
4071 CacheGroup **cp = &m->rrcache_hash[slot];
4118 mDNSlocal CacheRecord *GetCacheRecord(mDNS *const m, CacheGroup *cg, mDNSu16 RDLength)
4134 mDNSlocal CacheGroup *GetCacheGroup(mDNS *const m, const mDNSu32 slot, const ResourceRecord *const rr)
4137 CacheGroup *cg = (CacheGroup*)GetCacheEntity(m, mDNSNULL);
4155 if (CacheGroupForRecord(m, slot, rr)) LogMsg("GetCacheGroup: Already have CacheGroup for %##s", rr->name->c);
4157 if (CacheGroupForRecord(m, slot, rr) != cg) LogMsg("GetCacheGroup: Not finding CacheGroup for %##s", rr->name->c);
4324 CacheGroup **cp = &m->rrcache_hash[slot];
5182 CacheGroup *cg;
5652 CacheGroup *cg = CacheGroupForRecord(m, slot, pktrr);
5872 CacheGroup *cg = CacheGroupForName(m, slot, pktq.qnamehash, &pktq.qname);
6356 mDNSexport CacheRecord *CreateNewCacheEntry(mDNS *const m, const mDNSu32 slot, CacheGroup *cg, mDNSs32 delay)
6366 if (!cg) cg = GetCacheGroup(m, slot, &m->rec.r.resrec); // If we don't have a CacheGroup for this name, make one now
6374 rr->resrec.name = cg->name; // And set rr->resrec.name to point into our CacheGroup header
6411 CacheGroup *cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
6551 CacheGroup *cg = CacheGroupForName(m, slot, q.qnamehash, &q.qname);
6814 CacheGroup *cg = CacheGroupForRecord(m, slot, &m->rec.r.resrec);
6947 const CacheGroup *cg = CacheGroupForRecord(m, slot, &r1->resrec);
7058 CacheGroup *cg = CacheGroupForName(m, slot, q.qnamehash, &q.qname);
8099 CacheGroup *cg;
8542 CacheGroup *cg = CacheGroupForName(m, slot, question->qnamehash, &question->qname);
8705 CacheGroup *const cg = CacheGroupForName(m, slot, question->qnamehash, &question->qname);
9617 CacheGroup *cg;
9679 CacheGroup *cg;
10849 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
10865 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname);
11030 CacheGroup *cg;
11446 CacheGroup *cg = m->rrcache_hash[slot];