Lines Matching refs:ralloc_header
62 ralloc_header
69 struct ralloc_header *parent;
72 struct ralloc_header *child;
75 struct ralloc_header *prev;
76 struct ralloc_header *next;
81 typedef struct ralloc_header ralloc_header;
83 static void unlink_block(ralloc_header *info);
84 static void unsafe_free(ralloc_header *info);
86 static ralloc_header *
89 ralloc_header *info = (ralloc_header *) (((char *) ptr) -
90 sizeof(ralloc_header));
95 #define PTR_FROM_HEADER(info) (((char *) info) + sizeof(ralloc_header))
98 add_child(ralloc_header *parent, ralloc_header *info)
119 void *block = malloc(size + sizeof(ralloc_header));
120 ralloc_header *info;
121 ralloc_header *parent;
126 info = (ralloc_header *) block;
163 ralloc_header *child, *old, *info;
166 info = realloc(old, size + sizeof(ralloc_header));
230 ralloc_header *info;
241 unlink_block(ralloc_header *info)
260 unsafe_free(ralloc_header *info)
263 ralloc_header *temp;
280 ralloc_header *info, *parent;
296 ralloc_header *new_info, *old_info, *child;
325 ralloc_header *info;
337 ralloc_header *info = get_header(ptr);
751 ralloc_header *new_ptr;