Searched refs:refCount (Results 1 – 10 of 10) sorted by relevance
39 uint64_t refCount; member122 pageInfoTable[i].refCount = 1; in PAlloc_AddRegion()125 pageInfoTable[i].refCount = 0; in PAlloc_AddRegion()128 pageInfoTable[i + (base / PGSIZE)].refCount = 1; in PAlloc_AddRegion()148 pageInfoTable[i].refCount = 0; in PAlloc_AddRegion()202 ASSERT(info->refCount == 0); in PAlloc_AllocPage()203 info->refCount++; in PAlloc_AllocPage()235 ASSERT(info->refCount == 0); in PAllocFreePage()253 ASSERT(info->refCount != 0); in PAlloc_Retain()254 info->refCount++; in PAlloc_Retain()[all …]
46 evt->refCount = 2; // One for the wheel and one for the callee in KTimer_Create()63 ASSERT(evt->refCount != 0); in KTimer_Retain()64 __sync_fetch_and_add(&evt->refCount, 1); in KTimer_Retain()70 ASSERT(evt->refCount != 0); in KTimer_Release()71 if (__sync_fetch_and_sub(&evt->refCount, 1) == 1) { in KTimer_Release()
61 proc->refCount = 1; in Process_Create()173 ASSERT(proc->refCount != 0); in Process_Retain()174 __sync_fetch_and_add(&proc->refCount, 1); in Process_Retain()187 ASSERT(proc->refCount != 0); in Process_Release()188 if (__sync_fetch_and_sub(&proc->refCount, 1) == 1) { in Process_Release()264 kprintf("refCount %d\n", proc->refCount); in Process_Dump()
106 e->refCount++; in BufCacheLookup()107 if (e->refCount == 1) { in BufCacheLookup()155 e->refCount = 1; in BufCacheAlloc()209 entry->refCount--; in BufCache_Release()210 if (entry->refCount == 0) { in BufCache_Release()
127 thr->refCount = 1; in Thread_Create()167 thr->refCount = 1; in Thread_UThreadCreate()255 ASSERT(thr->refCount != 0); in Thread_Retain()256 __sync_fetch_and_add(&thr->refCount, 1); in Thread_Retain()267 ASSERT(thr->refCount != 0); in Thread_Release()268 if (__sync_fetch_and_sub(&thr->refCount, 1) == 1) { in Thread_Release()342 kprintf("refCount %d\n", thr->refCount); in Thread_Dump()
15 uint64_t refCount; member28 uint64_t refCount; member
10 uint64_t refCount; member
37 uint64_t refCount; member73 uint64_t refCount; member
103 fs->refCount = 1; in O2FS_Mount()244 vn->refCount = 1; in O2FSLoadVNode()304 vn->refCount++; in O2FSRetainVNode()317 vn->refCount--; in O2FSReleaseVNode()318 if (vn->refCount == 0) { in O2FSReleaseVNode()361 fs->root->refCount++; in O2FS_GetRoot()389 vn->refCount = 1; in O2FS_GetRoot()