Searched refs:util_idalloc_sparse (Results 1 – 4 of 4) sorted by relevance
119 struct util_idalloc_sparse { struct130 util_idalloc_sparse_init(struct util_idalloc_sparse *buf); argument133 util_idalloc_sparse_fini(struct util_idalloc_sparse *buf);136 util_idalloc_sparse_alloc(struct util_idalloc_sparse *buf);139 util_idalloc_sparse_alloc_range(struct util_idalloc_sparse *buf, unsigned num);142 util_idalloc_sparse_free(struct util_idalloc_sparse *buf, unsigned id);145 util_idalloc_sparse_reserve(struct util_idalloc_sparse *buf, unsigned id);
241 util_idalloc_sparse_init(struct util_idalloc_sparse *buf) in util_idalloc_sparse_init()251 util_idalloc_sparse_fini(struct util_idalloc_sparse *buf) in util_idalloc_sparse_fini()258 util_idalloc_sparse_alloc(struct util_idalloc_sparse *buf) in util_idalloc_sparse_alloc()275 util_idalloc_sparse_alloc_range(struct util_idalloc_sparse *buf, unsigned num) in util_idalloc_sparse_alloc_range()301 util_idalloc_sparse_free(struct util_idalloc_sparse *buf, unsigned id) in util_idalloc_sparse_free()308 util_idalloc_sparse_reserve(struct util_idalloc_sparse *buf, unsigned id) in util_idalloc_sparse_reserve()
53 struct util_idalloc_sparse id_alloc;
3279 - util: add util_idalloc_sparse, solving the excessive virtual memory usage3280 - mesa: switch ID allocation to util_idalloc_sparse to reduce virtual memory usage