Searched refs:pages_list (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/tee/optee/ |
| D | rpc.c | 244 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local 253 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc() 254 if (!pages_list) { in handle_rpc_func_cmd_shm_alloc() 259 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc() 268 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc() 274 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc() 343 if (call_ctx->pages_list) { in free_pages_list() 344 optee_free_pages_list(call_ctx->pages_list, in free_pages_list() 346 call_ctx->pages_list = NULL; in free_pages_list()
|
| D | call.c | 466 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member 490 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list() 571 u64 *pages_list; in optee_shm_register() local 582 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register() 583 if (!pages_list) in optee_shm_register() 592 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register() 604 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register() 613 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
|
| D | optee_private.h | 119 void *pages_list; member
|
| /Linux-v5.4/drivers/gpu/drm/ttm/ |
| D | ttm_page_alloc_dma.c | 849 list_move_tail(&d_page->page_list, &ttm_dma->pages_list); in ttm_dma_pool_get_pages() 904 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_populate() 1009 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate() 1039 list_for_each_entry_safe(d_page, next, &ttm_dma->pages_list, in ttm_dma_unpopulate() 1060 list_splice(&ttm_dma->pages_list, &pool->free_list); in ttm_dma_unpopulate() 1071 INIT_LIST_HEAD(&ttm_dma->pages_list); in ttm_dma_unpopulate()
|
| D | ttm_tt.c | 266 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-v5.4/include/drm/ttm/ |
| D | ttm_tt.h | 135 struct list_head pages_list; member
|