Searched refs:linear_alloc_child (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.h | 554 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, linear_alloc_child) 568 void *linear_alloc_child(void *parent, unsigned size); 658 #define linear_alloc(parent, type) ((type *) linear_alloc_child(parent, sizeof(type)))
|
D | ralloc.c | 1028 linear_alloc_child(void *parent, unsigned size) in linear_alloc_child() function 1076 return linear_alloc_child((char*)node + in linear_alloc_parent() 1084 void *ptr = linear_alloc_child(parent, size); in linear_zalloc_child() 1152 new_ptr = linear_alloc_child(parent, new_size); in linear_realloc() 1179 ptr = linear_alloc_child(parent, n + 1); in linear_strdup() 1204 char *ptr = linear_alloc_child(parent, size); in linear_vasprintf() 1302 return linear_alloc_child(parent, size * count); in linear_alloc_child_array()
|