Searched refs:util_dynarray_top_ptr (Results 1 – 3 of 3) sorted by relevance
175 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type)) macro176 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type)191 for (type *elem = util_dynarray_top_ptr(buf, type); \
319 return util_dynarray_top_ptr(copies, struct copy_entry); in copy_entry_create()
326 node = util_dynarray_top_ptr(vma_list, struct vma_bucket_node); in bucket_vma_alloc()