Home
last modified time | relevance | path

Searched refs:pages_list (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_dynamic_pool.c50 while (!list_empty(&dypool_info->pages_list)) { in get_pages_from_dynamic_pool()
51 hmm_page = list_entry(dypool_info->pages_list.next, in get_pages_from_dynamic_pool()
134 list_add_tail(&hmm_page->list, &dypool_info->pages_list); in free_pages_to_dynamic_pool()
160 INIT_LIST_HEAD(&dypool_info->pages_list); in hmm_dynamic_pool_init()
188 while (!list_empty(&dypool_info->pages_list)) { in hmm_dynamic_pool_exit()
189 hmm_page = list_entry(dypool_info->pages_list.next, in hmm_dynamic_pool_exit()
/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Drpc.c339 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
348 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc()
349 if (!pages_list) { in handle_rpc_func_cmd_shm_alloc()
354 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
363 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
369 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
438 if (call_ctx->pages_list) { in free_pages_list()
439 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
441 call_ctx->pages_list = NULL; in free_pages_list()
H A Dcall.c504 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
528 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
617 u64 *pages_list; in optee_shm_register() local
628 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
629 if (!pages_list) in optee_shm_register()
638 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
650 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
659 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
H A Doptee_private.h128 void *pages_list; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_page_alloc_dma.c848 list_move_tail(&d_page->page_list, &ttm_dma->pages_list); in ttm_dma_pool_get_pages()
903 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_populate()
1008 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate()
1038 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate()
1059 list_splice(&ttm_dma->pages_list, &pool->free_list); in ttm_dma_unpopulate()
1070 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_unpopulate()
H A Dttm_tt.c266 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_tt_init()
283 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_sg_tt_init()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_pool.h96 struct list_head pages_list; member
/OK3568_Linux_fs/kernel/include/drm/ttm/
H A Dttm_tt.h106 struct list_head pages_list; member
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_os_alloc.c156 LIST_HEAD(pages_list); in mali_mem_os_alloc_pages()
182 list_move(mali_mem_os_allocator.pool_pages.next, &pages_list); in mali_mem_os_alloc_pages()
191 list_for_each_entry_safe(m_page, m_tmp, &pages_list, list) { in mali_mem_os_alloc_pages()