Lines Matching refs:root

188 #define GC_LINK_UNUSED(root) \  argument
189 gc_link_unused(root)
329 gc_root_buffer *root = GC_IDX2PTR(idx); in gc_decompress() local
331 if (EXPECTED(GC_GET_PTR(root->ref) == ref)) { in gc_decompress()
332 return root; in gc_decompress()
338 root = GC_IDX2PTR(idx); in gc_decompress()
339 if (GC_GET_PTR(root->ref) == ref) { in gc_decompress()
340 return root; in gc_decompress()
348 gc_root_buffer *root; in gc_fetch_unused() local
352 root = GC_IDX2PTR(idx); in gc_fetch_unused()
353 ZEND_ASSERT(GC_IS_UNUSED(root->ref)); in gc_fetch_unused()
354 GC_G(unused) = GC_LIST2IDX(root->ref); in gc_fetch_unused()
358 static zend_always_inline void gc_link_unused(gc_root_buffer *root) in gc_link_unused() argument
360 root->ref = GC_IDX2LIST(GC_G(unused)); in gc_link_unused()
361 GC_G(unused) = GC_PTR2IDX(root); in gc_link_unused()
406 static zend_always_inline void gc_remove_from_roots(gc_root_buffer *root) in gc_remove_from_roots() argument
408 GC_LINK_UNUSED(root); in gc_remove_from_roots()
656 gc_root_buffer *root = gc_decompress(ref, idx); in gc_remove_compressed() local
657 gc_remove_from_roots(root); in gc_remove_compressed()
662 gc_root_buffer *root; in gc_remove_from_buffer() local
679 root = GC_IDX2PTR(idx); in gc_remove_from_buffer()
680 gc_remove_from_roots(root); in gc_remove_from_buffer()
1346 static void gc_remove_nested_data_from_buffer(zend_refcounted *ref, gc_root_buffer *root) in gc_remove_nested_data_from_buffer() argument
1354 if (root) { in gc_remove_nested_data_from_buffer()
1356 gc_remove_from_roots(root); in gc_remove_nested_data_from_buffer()
1358 root = NULL; in gc_remove_nested_data_from_buffer()