PatchworkOS
Loading...
Searching...
No Matches
free.c File Reference
#include <stdlib.h>
#include "common/heap.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void free (void *ptr)
 

Function Documentation

◆ free()

void free ( void *  ptr)

Definition at line 11 of file free.c.

References _heap_acquire(), _HEAP_ALLOCATED, _heap_free(), _HEAP_HEADER_MAGIC, _heap_release(), abort(), CONTAINER_OF, data, _heap_header_t::flags, _heap_header_t::magic, NULL, panic(), and printf().

Referenced by _file_deinit(), _file_free(), _file_init(), _thread_entry(), _thread_free(), _thread_new(), acpi_tables_push(), aml_convert_to_decimal_string(), aml_exception_register(), aml_exception_unregister(), aml_mutex_stack_pop(), aml_object_clear(), aml_object_free(), aml_package_set(), aml_patch_up_remove_unresolved(), aml_string_resize(), argv_deinit(), button_procedure(), client_free(), config_array_free(), config_close(), config_open(), dentry_free(), display_free(), display_new(), display_poll(), dwm_deinit(), element_free(), element_new_raw(), element_set_text(), fb_dir_cleanup(), fb_new(), file_free(), font_free(), font_new(), futex_ctx_deinit(), history_deinit(), history_push(), image_free(), init_free_loader_data(), inode_free(), kbd_dir_cleanup(), kbd_new(), key_claim(), key_share(), key_timer_handler(), local_conn_free(), local_conn_new(), local_listen_free(), local_listen_new(), local_socket_deinit(), main(), map_deinit(), map_resize(), mount_free(), mouse_dir_cleanup(), mouse_new(), pipe_close(), pipe_open(), pipe_open2(), pipeline_deinit(), pipeline_execute(), pipeline_init(), print_dir(), procedure(), process_free(), process_new(), ps2_mouse_init(), ramfs_dentry_deinit(), ramfs_inode_cleanup(), ramfs_truncate(), realloc(), ref_init(), screen_deinit(), shmem_object_allocate_pages(), shmem_object_free(), socket_family_register(), socket_family_unregister(), socket_free(), socket_new(), space_alloc_callback(), space_deinit(), space_pin_depth_dec(), space_pin_depth_inc(), start_menu_load_entries(), startmenu_procedure(), statistics_cpu_read(), statistics_mem_read(), superblock_free(), surface_free(), surface_new(), SYSCALL_DEFINE(), taskbar_entry_add(), taskbar_entry_remove(), taskbar_procedure(), terminal_procedure(), thrd_create(), thread_free(), thread_new(), wait_block_setup(), wait_remove_wait_entries(), wait_unblock(), window_deco_free(), window_deco_init(), window_free(), and window_new().