Lines Matching refs:gc_root_buffer

207 } gc_root_buffer;  typedef
210 gc_root_buffer *buf; /* preallocated arrays of buffers */
334 static zend_always_inline gc_root_buffer* gc_decompress(zend_refcounted *ref, uint32_t idx) in gc_decompress()
336 gc_root_buffer *root = GC_IDX2PTR(idx); in gc_decompress()
355 gc_root_buffer *root; in gc_fetch_unused()
365 static zend_always_inline void gc_link_unused(gc_root_buffer *root) in gc_link_unused()
414 static zend_always_inline void gc_remove_from_roots(gc_root_buffer *root) in gc_remove_from_roots()
501 GC_G(buf) = (gc_root_buffer*) pemalloc(sizeof(gc_root_buffer) * GC_DEFAULT_BUF_SIZE, 1); in gc_enable()
548 GC_G(buf) = perealloc(GC_G(buf), sizeof(gc_root_buffer) * new_size, 1); in gc_grow_root_buffer()
585 gc_root_buffer *newRoot; in gc_possible_root_when_full()
629 gc_root_buffer *newRoot; in gc_possible_root()
664 gc_root_buffer *root = gc_decompress(ref, idx); in gc_remove_compressed()
670 gc_root_buffer *root; in gc_remove_from_buffer()
933 gc_root_buffer *free = GC_IDX2PTR(GC_FIRST_ROOT); in gc_compact()
934 gc_root_buffer *scan = GC_IDX2PTR(GC_G(first_unused) - 1); in gc_compact()
935 gc_root_buffer *end = GC_IDX2PTR(GC_G(num_roots)); in gc_compact()
967 gc_root_buffer *current, *last; in gc_mark_roots()
1115 gc_root_buffer *current = GC_IDX2PTR(GC_FIRST_ROOT); in gc_scan_roots()
1116 gc_root_buffer *last = GC_IDX2PTR(GC_G(first_unused)); in gc_scan_roots()
1132 gc_root_buffer *buf; in gc_add_garbage()
1292 gc_root_buffer *current = GC_IDX2PTR(GC_FIRST_ROOT); in gc_collect_roots()
1293 gc_root_buffer *last = GC_IDX2PTR(GC_G(first_unused)); in gc_collect_roots()
1327 static int gc_remove_nested_data_from_buffer(zend_refcounted *ref, gc_root_buffer *root) in gc_remove_nested_data_from_buffer()
1434 gc_root_buffer *current, *last; in zend_gc_collect_cycles()