Home | History | Annotate | Download | only in talloc

Lines Matching full:hieralloc_header_t

25 } hieralloc_header_t;
28 #define END_MAGIC(header) ((unsigned)((const hieralloc_header_t *)header + 1) % 0x10000 | 0x13370000)
30 static hieralloc_header_t hieralloc_global_header = {BEGIN_MAGIC(), 0, 0, 0, 0, "hieralloc_hieralloc_global_header", 0, 0 ,1, 0, 0x13370000};
41 static inline int check_header(const hieralloc_header_t * header)
59 static inline hieralloc_header_t * get_header(const void *ptr)
61 hieralloc_header_t * header = (hieralloc_header_t *)(ptr) - 1;
66 static void check_children(hieralloc_header_t * header)
70 hieralloc_header_t * child = header->child;
82 static void add_to_parent(hieralloc_header_t * parent, hieralloc_header_t * header)
90 // hieralloc_header_t * child = parent->child;
111 static void remove_from_parent(hieralloc_header_t * header)
113 hieralloc_header_t * parent = header->parent;
114 hieralloc_header_t * sibling = header->prevSibling;
147 hieralloc_header_t * ptr = (hieralloc_header_t *)malloc(size + sizeof(hieralloc_header_t));
159 hieralloc_header_t * parent = NULL;
183 hieralloc_header_t * header = get_header(ptr);
184 hieralloc_header_t * parent = header->parent;
193 header = (hieralloc_header_t *)realloc(header, size + sizeof(hieralloc_header_t));
209 hieralloc_header_t * child = header->child;
230 hieralloc_header_t * header = get_header(ptr);
243 hieralloc_header_t * child = header->child;
246 hieralloc_header_t * current = child;
296 hieralloc_header_t * header = get_header(ptr);
323 const hieralloc_header_t * header = get_header(ptr);
366 hieralloc_header_t * header = get_header(str);
471 static void _hieralloc_report(const hieralloc_header_t * header, FILE * file, unsigned tab)
479 const hieralloc_header_t * child = header->child;
497 static void _hieralloc_report_brief(const hieralloc_header_t * header, FILE * file, unsigned * data)
504 const hieralloc_header_t * child = header->child;
524 const hieralloc_header_t * header = get_header(ptr);
546 const hieralloc_header_t * start = get_header(top);
547 const hieralloc_header_t * child = start->child;