Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tee/optee/
Drpc.c253 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
262 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc()
263 if (!pages_list) { in handle_rpc_func_cmd_shm_alloc()
268 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
277 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
283 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
352 if (call_ctx->pages_list) { in free_pages_list()
353 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
355 call_ctx->pages_list = NULL; in free_pages_list()
Dcall.c474 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
498 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
579 u64 *pages_list; in optee_shm_register() local
590 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
591 if (!pages_list) in optee_shm_register()
600 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
612 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
621 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
Doptee_private.h127 void *pages_list; member
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c851 list_move_tail(&d_page->page_list, &ttm_dma->pages_list); in ttm_dma_pool_get_pages()
906 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_populate()
1011 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate()
1041 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate()
1062 list_splice(&ttm_dma->pages_list, &pool->free_list); in ttm_dma_unpopulate()
1073 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_unpopulate()
Dttm_tt.c266 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_tt_init()
284 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_sg_tt_init()
/Linux-v4.19/include/drm/ttm/
Dttm_tt.h135 struct list_head pages_list; member