Searched refs:bo_cache (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_bo.c | 196 if (vc4->bo_cache.size_list_size <= page_index) { in vc4_get_cache_list_for_size() 197 uint32_t new_size = max(vc4->bo_cache.size_list_size * 2, in vc4_get_cache_list_for_size() 210 for (i = 0; i < vc4->bo_cache.size_list_size; i++) { in vc4_get_cache_list_for_size() 212 &vc4->bo_cache.size_list[i]; in vc4_get_cache_list_for_size() 220 for (i = vc4->bo_cache.size_list_size; i < new_size; i++) in vc4_get_cache_list_for_size() 223 kfree(vc4->bo_cache.size_list); in vc4_get_cache_list_for_size() 224 vc4->bo_cache.size_list = new_list; in vc4_get_cache_list_for_size() 225 vc4->bo_cache.size_list_size = new_size; in vc4_get_cache_list_for_size() 228 return &vc4->bo_cache.size_list[page_index]; in vc4_get_cache_list_for_size() 236 while (!list_empty(&vc4->bo_cache in vc4_bo_cache_purge() [all...] |
H A D | vc4_drv.h | 104 } bo_cache; member 113 /* Protects bo_cache and bo_labels. */ 257 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list 261 /* Time in jiffies when the BO was put in vc4->bo_cache. */ 264 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_bo.c | 201 if (vc4->bo_cache.size_list_size <= page_index) { in vc4_get_cache_list_for_size() 202 uint32_t new_size = max(vc4->bo_cache.size_list_size * 2, in vc4_get_cache_list_for_size() 215 for (i = 0; i < vc4->bo_cache.size_list_size; i++) { in vc4_get_cache_list_for_size() 217 &vc4->bo_cache.size_list[i]; in vc4_get_cache_list_for_size() 225 for (i = vc4->bo_cache.size_list_size; i < new_size; i++) in vc4_get_cache_list_for_size() 228 kfree(vc4->bo_cache.size_list); in vc4_get_cache_list_for_size() 229 vc4->bo_cache.size_list = new_list; in vc4_get_cache_list_for_size() 230 vc4->bo_cache.size_list_size = new_size; in vc4_get_cache_list_for_size() 233 return &vc4->bo_cache.size_list[page_index]; in vc4_get_cache_list_for_size() 241 while (!list_empty(&vc4->bo_cache in vc4_bo_cache_purge() [all...] |
H A D | vc4_drv.h | 114 } bo_cache; member 123 /* Protects bo_cache and bo_labels. */ 254 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list 258 /* Time in jiffies when the BO was put in vc4->bo_cache. */ 261 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 244 new_bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in __bo_break_up() 252 kmem_cache_free(bdev->bo_cache, new_bo); in __bo_break_up() 323 kmem_cache_free(bo->bdev->bo_cache, bo); in __bo_merge() 361 bdev->bo_cache = kmem_cache_create("bo_cache", in hmm_bo_device_init() 363 if (!bdev->bo_cache) { in hmm_bo_device_init() 369 bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in hmm_bo_device_init() 379 kmem_cache_free(bdev->bo_cache, bo); in hmm_bo_device_init() 529 kmem_cache_free(bdev->bo_cache, bo); in hmm_bo_device_exit() 534 kmem_cache_destroy(bdev->bo_cache); in hmm_bo_device_exit() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 255 new_bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in __bo_break_up() 263 kmem_cache_free(bdev->bo_cache, new_bo); in __bo_break_up() 334 kmem_cache_free(bo->bdev->bo_cache, bo); in __bo_merge() 372 bdev->bo_cache = kmem_cache_create("bo_cache", in hmm_bo_device_init() 374 if (!bdev->bo_cache) { in hmm_bo_device_init() 380 bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in hmm_bo_device_init() 390 kmem_cache_free(bdev->bo_cache, bo); in hmm_bo_device_init() 540 kmem_cache_free(bdev->bo_cache, bo); in hmm_bo_device_exit() 545 kmem_cache_destroy(bdev->bo_cache); in hmm_bo_device_exit() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/include/hmm/ |
H A D | hmm_bo.h | 109 struct kmem_cache *bo_cache; member
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/ |
H A D | hmm_bo.h | 121 struct kmem_cache *bo_cache; member
|
Completed in 9 milliseconds