Lines Matching defs:ralloc_header
56 ralloc_header
63 struct ralloc_header *parent;
66 struct ralloc_header *child;
69 struct ralloc_header *prev;
70 struct ralloc_header *next;
75 typedef struct ralloc_header ralloc_header;
77 static void unlink_block(ralloc_header *info);
78 static void unsafe_free(ralloc_header *info);
80 static ralloc_header *
83 ralloc_header *info = (ralloc_header *) (((char *) ptr) -
84 sizeof(ralloc_header));
89 #define PTR_FROM_HEADER(info) (((char *) info) + sizeof(ralloc_header))
92 add_child(ralloc_header *parent, ralloc_header *info)
120 void *block = malloc(align64(size + sizeof(ralloc_header),
121 alignof(ralloc_header)));
122 ralloc_header *info;
123 ralloc_header *parent;
128 info = (ralloc_header *) block;
165 ralloc_header *child, *old, *info;
168 info = realloc(old, align64(size + sizeof(ralloc_header),
169 alignof(ralloc_header)));
258 ralloc_header *info;
269 unlink_block(ralloc_header *info)
288 unsafe_free(ralloc_header *info)
291 ralloc_header *temp;
308 ralloc_header *info, *parent;
324 ralloc_header *new_info, *old_info, *child;
353 ralloc_header *info;
365 ralloc_header *info = get_header(ptr);
750 ralloc_header *new_ptr;