Home
last modified time | relevance | path

Searched refs:n_roots (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/
Ddrm_buddy.c129 mm->n_roots = hweight64(size); in drm_buddy_init()
131 mm->roots = kmalloc_array(mm->n_roots, in drm_buddy_init()
191 for (i = 0; i < mm->n_roots; ++i) { in drm_buddy_fini()
344 for (i = 0; i < mm->n_roots; ++i) in alloc_range_bias()
576 for (i = 0; i < mm->n_roots; ++i) in __drm_buddy_alloc_range()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_buddy_test.c211 if (!mm->n_roots) { in check_mm()
216 if (mm->n_roots != hweight64(mm->size)) { in check_mm()
218 mm->n_roots, hweight64(mm->size)); in check_mm()
226 for (i = 0; i < mm->n_roots; ++i) { in check_mm()
/linux-6.6.21/include/drm/
Ddrm_buddy.h81 unsigned int n_roots; member