bo_cache 196 drivers/gpu/drm/vc4/vc4_bo.c if (vc4->bo_cache.size_list_size <= page_index) { bo_cache 197 drivers/gpu/drm/vc4/vc4_bo.c uint32_t new_size = max(vc4->bo_cache.size_list_size * 2, bo_cache 210 drivers/gpu/drm/vc4/vc4_bo.c for (i = 0; i < vc4->bo_cache.size_list_size; i++) { bo_cache 212 drivers/gpu/drm/vc4/vc4_bo.c &vc4->bo_cache.size_list[i]; bo_cache 220 drivers/gpu/drm/vc4/vc4_bo.c for (i = vc4->bo_cache.size_list_size; i < new_size; i++) bo_cache 223 drivers/gpu/drm/vc4/vc4_bo.c kfree(vc4->bo_cache.size_list); bo_cache 224 drivers/gpu/drm/vc4/vc4_bo.c vc4->bo_cache.size_list = new_list; bo_cache 225 drivers/gpu/drm/vc4/vc4_bo.c vc4->bo_cache.size_list_size = new_size; bo_cache 228 drivers/gpu/drm/vc4/vc4_bo.c return &vc4->bo_cache.size_list[page_index]; bo_cache 236 drivers/gpu/drm/vc4/vc4_bo.c while (!list_empty(&vc4->bo_cache.time_list)) { bo_cache 237 drivers/gpu/drm/vc4/vc4_bo.c struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, bo_cache 359 drivers/gpu/drm/vc4/vc4_bo.c if (page_index >= vc4->bo_cache.size_list_size) bo_cache 362 drivers/gpu/drm/vc4/vc4_bo.c if (list_empty(&vc4->bo_cache.size_list[page_index])) bo_cache 365 drivers/gpu/drm/vc4/vc4_bo.c bo = list_first_entry(&vc4->bo_cache.size_list[page_index], bo_cache 505 drivers/gpu/drm/vc4/vc4_bo.c while (!list_empty(&vc4->bo_cache.time_list)) { bo_cache 506 drivers/gpu/drm/vc4/vc4_bo.c struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, bo_cache 509 drivers/gpu/drm/vc4/vc4_bo.c mod_timer(&vc4->bo_cache.time_timer, bo_cache 579 drivers/gpu/drm/vc4/vc4_bo.c list_add(&bo->unref_head, &vc4->bo_cache.time_list); bo_cache 592 drivers/gpu/drm/vc4/vc4_bo.c container_of(work, struct vc4_dev, bo_cache.time_work); bo_cache 653 drivers/gpu/drm/vc4/vc4_bo.c struct vc4_dev *vc4 = from_timer(vc4, t, bo_cache.time_timer); bo_cache 655 drivers/gpu/drm/vc4/vc4_bo.c schedule_work(&vc4->bo_cache.time_work); bo_cache 1031 drivers/gpu/drm/vc4/vc4_bo.c INIT_LIST_HEAD(&vc4->bo_cache.time_list); bo_cache 1033 drivers/gpu/drm/vc4/vc4_bo.c INIT_WORK(&vc4->bo_cache.time_work, vc4_bo_cache_time_work); bo_cache 1034 drivers/gpu/drm/vc4/vc4_bo.c timer_setup(&vc4->bo_cache.time_timer, vc4_bo_cache_time_timer, 0); bo_cache 1044 drivers/gpu/drm/vc4/vc4_bo.c del_timer(&vc4->bo_cache.time_timer); bo_cache 1045 drivers/gpu/drm/vc4/vc4_bo.c cancel_work_sync(&vc4->bo_cache.time_work); bo_cache 103 drivers/gpu/drm/vc4/vc4_drv.h } bo_cache;