Home
last modified time | relevance | path

Searched refs:gc_state (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/security/keys/
H A Dgc.c189 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 Dgc.c189 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 Dobjects-visiting.cc19 return heap->gc_state() == Heap::MARK_COMPACT && in MustRecordSlots()
131 if (heap->gc_state() == Heap::MARK_COMPACT) { in VisitLiveObject()
H A Dlocal-heap-inl.h29 Heap::HeapState state = heap()->gc_state(); in AllocateRaw()
H A Dallocation-observer.cc165 DCHECK_EQ(heap->gc_state(), Heap::NOT_IN_GC); in PauseAllocationObserversScope()
H A Dconcurrent-allocator.cc35 if (heap->gc_state() == Heap::TEAR_DOWN) return; in RunInternal()
H A Dincremental-marking.cc117 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 Dheap-allocator-inl.h58 DCHECK_EQ(heap_->gc_state(), Heap::NOT_IN_GC); in AllocateRaw()
H A Dsafepoint.cc310 DCHECK_EQ(client->heap()->gc_state(), Heap::TEAR_DOWN); in RemoveClient()
H A Dheap-inl.h262 DCHECK_IMPLIES(heap->gc_state() == NOT_IN_GC, InToPage(heap_object)); in InYoungGeneration()
H A Dnew-spaces.cc591 if (FLAG_allocation_buffer_parking && heap()->gc_state() == Heap::NOT_IN_GC && in AddFreshPage()
H A Dheap.h647 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 Dheap.cc438 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 Dpaged-spaces.cc984 if (heap()->gc_state() != Heap::NOT_IN_GC && !heap()->force_oom()) { in RawRefillLabMain()
/third_party/node/deps/v8/src/profiler/
H A Dsampling-heap-profiler.h143 DCHECK(heap_->gc_state() == Heap::NOT_IN_GC);
/third_party/node/deps/v8/src/objects/
H A Dstring-table.cc755 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 Dglobal-handles.cc1541 DCHECK_EQ(Heap::NOT_IN_GC, isolate_->heap()->gc_state()); in PostGarbageCollectionProcessing()
/third_party/node/deps/v8/src/execution/
H A Dframes.cc1490 isolate()->heap()->gc_state() == Heap::NOT_IN_GC); in ComputeParametersCount()
H A Disolate.cc5161 if (heap_.gc_state() == Heap::NOT_IN_GC && !context().is_null()) { in ThrowInternal()
/third_party/node/deps/v8/src/api/
H A Dapi.cc8375 if (heap->gc_state() != i::Heap::NOT_IN_GC) return; in ReportExternalAllocationLimitReached()

Completed in 61 milliseconds