Lines Matching refs:OldRef
3833 purposes, each OldRef also contains a generation number,
3836 The important part of an OldRef is, however, its accs[] array.
3846 approximate LRU discarding. For each discarded OldRef we must
3852 have a dynamically sized OldRef.accs[] array, so no entries ever
3862 for OldRef structures. And that's important for performance. So
4070 /// A SparseWA guest-addr -> OldRef, that refers to (1)
4100 OldRef;
4103 //////////// BEGIN OldRef pool allocator
4106 static OldRef* alloc_OldRef ( void ) {
4110 static void free_OldRef ( OldRef* r ) {
4114 //////////// END OldRef pool allocator
4117 static SparseWA* oldrefTree = NULL; /* SparseWA* OldRef* */
4147 OldRef* ref;
4182 ref = (OldRef*)valW;
4287 OldRef* ref;
4324 ref = (OldRef*)valW;
4416 /* Oldref pool allocator */
4418 sizeof(OldRef),
4421 "libhb.event_map_init.3 (OldRef pools)",
4425 /* Oldref tree */
4429 "libhb.event_map_init.4 (oldref tree)",
4442 OldRef* oldref;
4470 oldref = (OldRef*)valW;
4471 tl_assert(oldref->magic == OldRef_MAGIC);
4473 ThrID aThrID = oldref->accs[i].thrid;
4474 RCEC* aRef = oldref->accs[i].rcec;
4496 OldRef* oldref;
4541 oldref = (OldRef*)valW;
4542 key = oldref->gen;
4663 oldref = (OldRef*)valW;
4664 tl_assert(oldref->magic == OldRef_MAGIC);
4665 if (oldref->gen <= maxGen) {
4687 oldref = (OldRef*)valW;
4688 tl_assert(oldref->magic == OldRef_MAGIC);
4714 oldref = (OldRef*)valW;
4716 ThrID aThrID = oldref->accs[j].thrid;
4717 RCEC* aRef = oldref->accs[j].rcec;
4727 free_OldRef( oldref );