Lines Matching refs:gc_root_buffer
208 } gc_root_buffer; typedef
211 gc_root_buffer *buf; /* preallocated arrays of buffers */
335 static zend_always_inline gc_root_buffer* gc_decompress(zend_refcounted *ref, uint32_t idx) in gc_decompress()
337 gc_root_buffer *root = GC_IDX2PTR(idx); in gc_decompress()
356 gc_root_buffer *root; in gc_fetch_unused()
366 static zend_always_inline void gc_link_unused(gc_root_buffer *root) in gc_link_unused()
415 static zend_always_inline void gc_remove_from_roots(gc_root_buffer *root) in gc_remove_from_roots()
502 GC_G(buf) = (gc_root_buffer*) pemalloc(sizeof(gc_root_buffer) * GC_DEFAULT_BUF_SIZE, 1); in gc_enable()
549 GC_G(buf) = perealloc(GC_G(buf), sizeof(gc_root_buffer) * new_size, 1); in gc_grow_root_buffer()
586 gc_root_buffer *newRoot; in gc_possible_root_when_full()
630 gc_root_buffer *newRoot; in gc_possible_root()
665 gc_root_buffer *root = gc_decompress(ref, idx); in gc_remove_compressed()
671 gc_root_buffer *root; in gc_remove_from_buffer()
942 gc_root_buffer *free = GC_IDX2PTR(GC_FIRST_ROOT); in gc_compact()
943 gc_root_buffer *scan = GC_IDX2PTR(GC_G(first_unused) - 1); in gc_compact()
944 gc_root_buffer *end = GC_IDX2PTR(GC_G(num_roots)); in gc_compact()
976 gc_root_buffer *current, *last; in gc_mark_roots()
1130 gc_root_buffer *current = GC_IDX2PTR(GC_FIRST_ROOT); in gc_scan_roots()
1131 gc_root_buffer *last = GC_IDX2PTR(GC_G(first_unused)); in gc_scan_roots()
1147 gc_root_buffer *buf; in gc_add_garbage()
1317 gc_root_buffer *current = GC_IDX2PTR(GC_FIRST_ROOT); in gc_collect_roots()
1318 gc_root_buffer *last = GC_IDX2PTR(GC_G(first_unused)); in gc_collect_roots()
1352 static int gc_remove_nested_data_from_buffer(zend_refcounted *ref, gc_root_buffer *root, gc_stack *… in gc_remove_nested_data_from_buffer()
1484 gc_root_buffer *current, *last; in zend_gc_collect_cycles()