Lines Matching refs:entry
64 zend_gdbjit_code_entry *entry; in zend_gdb_register_code() local
66 entry = malloc(sizeof(zend_gdbjit_code_entry) + size); in zend_gdb_register_code()
67 if (entry == NULL) { in zend_gdb_register_code()
71 entry->symfile_addr = ((char*)entry) + sizeof(zend_gdbjit_code_entry); in zend_gdb_register_code()
72 entry->symfile_size = size; in zend_gdb_register_code()
74 memcpy((char *)entry->symfile_addr, object, size); in zend_gdb_register_code()
76 entry->prev_entry = NULL; in zend_gdb_register_code()
77 entry->next_entry = __jit_debug_descriptor.first_entry; in zend_gdb_register_code()
79 if (entry->next_entry) { in zend_gdb_register_code()
80 entry->next_entry->prev_entry = entry; in zend_gdb_register_code()
82 __jit_debug_descriptor.first_entry = entry; in zend_gdb_register_code()
85 __jit_debug_descriptor.relevant_entry = entry; in zend_gdb_register_code()
94 zend_gdbjit_code_entry *entry; in zend_gdb_unregister_all() local
97 while ((entry = __jit_debug_descriptor.first_entry)) { in zend_gdb_unregister_all()
98 __jit_debug_descriptor.first_entry = entry->next_entry; in zend_gdb_unregister_all()
99 if (entry->next_entry) { in zend_gdb_unregister_all()
100 entry->next_entry->prev_entry = NULL; in zend_gdb_unregister_all()
103 __jit_debug_descriptor.relevant_entry = entry; in zend_gdb_unregister_all()
106 free(entry); in zend_gdb_unregister_all()