Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/hmm/
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()
/drivers/tee/optee/
Drpc.c340 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
349 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc()
350 if (!pages_list) { in handle_rpc_func_cmd_shm_alloc()
355 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
364 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
370 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
439 if (call_ctx->pages_list) { in free_pages_list()
440 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
442 call_ctx->pages_list = NULL; in free_pages_list()
Dcall.c507 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
531 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
620 u64 *pages_list; in optee_shm_register() local
631 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
632 if (!pages_list) in optee_shm_register()
641 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
653 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
662 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
Doptee_private.h128 void *pages_list; member
/drivers/staging/media/atomisp/include/hmm/
Dhmm_pool.h96 struct list_head pages_list; member