/kernel/linux/linux-5.10/security/keys/ |
H A D | gc.c | 189 static u8 gc_state; /* Internal persistent state */ in key_garbage_collector() local 201 kenter("[%lx,%x]", key_gc_flags, gc_state); in key_garbage_collector() 206 gc_state &= KEY_GC_REAPING_DEAD_1 | KEY_GC_REAPING_DEAD_2; in key_garbage_collector() 207 gc_state <<= 1; in key_garbage_collector() 209 gc_state |= KEY_GC_REAPING_LINKS; in key_garbage_collector() 212 gc_state |= KEY_GC_REAPING_DEAD_1; in key_garbage_collector() 213 kdebug("new pass %x", gc_state); in key_garbage_collector() 232 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_1)) { in key_garbage_collector() 234 gc_state |= KEY_GC_FOUND_DEAD_KEY; in key_garbage_collector() 255 if (unlikely(gc_state in key_garbage_collector() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A D | gc.c | 189 static u8 gc_state; /* Internal persistent state */ in key_garbage_collector() local 201 kenter("[%lx,%x]", key_gc_flags, gc_state); in key_garbage_collector() 206 gc_state &= KEY_GC_REAPING_DEAD_1 | KEY_GC_REAPING_DEAD_2; in key_garbage_collector() 207 gc_state <<= 1; in key_garbage_collector() 209 gc_state |= KEY_GC_REAPING_LINKS; in key_garbage_collector() 212 gc_state |= KEY_GC_REAPING_DEAD_1; in key_garbage_collector() 213 kdebug("new pass %x", gc_state); in key_garbage_collector() 232 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_1)) { in key_garbage_collector() 234 gc_state |= KEY_GC_FOUND_DEAD_KEY; in key_garbage_collector() 255 if (unlikely(gc_state in key_garbage_collector() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | objects-visiting.cc | 19 return heap->gc_state() == Heap::MARK_COMPACT && in MustRecordSlots() 131 if (heap->gc_state() == Heap::MARK_COMPACT) { in VisitLiveObject()
|
H A D | local-heap-inl.h | 29 Heap::HeapState state = heap()->gc_state(); in AllocateRaw()
|
H A D | allocation-observer.cc | 165 DCHECK_EQ(heap->gc_state(), Heap::NOT_IN_GC); in PauseAllocationObserversScope()
|
H A D | concurrent-allocator.cc | 35 if (heap->gc_state() == Heap::TEAR_DOWN) return; in RunInternal()
|
H A D | incremental-marking.cc | 117 return FLAG_incremental_marking && heap_->gc_state() == Heap::NOT_IN_GC && in CanBeActivated() 152 DCHECK(heap_->gc_state() == Heap::NOT_IN_GC); in Start() 868 if (heap_->gc_state() != Heap::NOT_IN_GC || !FLAG_incremental_marking || in AdvanceOnAllocation()
|
H A D | heap-allocator-inl.h | 58 DCHECK_EQ(heap_->gc_state(), Heap::NOT_IN_GC); in AllocateRaw()
|
H A D | safepoint.cc | 310 DCHECK_EQ(client->heap()->gc_state(), Heap::TEAR_DOWN); in RemoveClient()
|
H A D | heap-inl.h | 262 DCHECK_IMPLIES(heap->gc_state() == NOT_IN_GC, InToPage(heap_object)); in InYoungGeneration()
|
H A D | new-spaces.cc | 591 if (FLAG_allocation_buffer_parking && heap()->gc_state() == Heap::NOT_IN_GC && in AddFreshPage()
|
H A D | heap.h | 647 inline HeapState gc_state() const { in gc_state() function in v8::internal::Heap 651 bool IsTearingDown() const { return gc_state() == TEAR_DOWN; } in IsTearingDown()
|
H A D | heap.cc | 438 return gc_state() == TEAR_DOWN || IsMainThreadParked(local_heap) || in CanExpandOldGenerationBackground() 1053 DCHECK_EQ(gc_state(), NOT_IN_GC); in GarbageCollectionPrologue() 3616 DCHECK_EQ(gc_state(), MARK_COMPACT); in RightTrimWeakFixedArray() 5462 if (gc_state() == TEAR_DOWN) return true; in ShouldExpandOldGenerationOnSlowAllocation() 5995 DCHECK_EQ(gc_state(), HeapState::NOT_IN_GC); in SetEmbedderHeapTracer() 6092 DCHECK_EQ(gc_state(), TEAR_DOWN); in TearDown()
|
H A D | paged-spaces.cc | 984 if (heap()->gc_state() != Heap::NOT_IN_GC && !heap()->force_oom()) { in RawRefillLabMain()
|
/third_party/node/deps/v8/src/profiler/ |
H A D | sampling-heap-profiler.h | 143 DCHECK(heap_->gc_state() == Heap::NOT_IN_GC);
|
/third_party/node/deps/v8/src/objects/ |
H A D | string-table.cc | 755 DCHECK_NE(isolate_->heap()->gc_state(), Heap::NOT_IN_GC); in DropOldData() 763 DCHECK_NE(isolate_->heap()->gc_state(), Heap::NOT_IN_GC); in NotifyElementsRemoved()
|
/third_party/node/deps/v8/src/handles/ |
H A D | global-handles.cc | 1541 DCHECK_EQ(Heap::NOT_IN_GC, isolate_->heap()->gc_state()); in PostGarbageCollectionProcessing()
|
/third_party/node/deps/v8/src/execution/ |
H A D | frames.cc | 1490 isolate()->heap()->gc_state() == Heap::NOT_IN_GC); in ComputeParametersCount()
|
H A D | isolate.cc | 5161 if (heap_.gc_state() == Heap::NOT_IN_GC && !context().is_null()) { in ThrowInternal()
|
/third_party/node/deps/v8/src/api/ |
H A D | api.cc | 8375 if (heap->gc_state() != i::Heap::NOT_IN_GC) return; in ReportExternalAllocationLimitReached()
|