Lines Matching refs:pages_list
389 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
413 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
439 u64 *pages_list; in optee_shm_register() local
450 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
451 if (!pages_list) in optee_shm_register()
473 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
487 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
496 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
708 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
717 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc()
718 if (!pages_list) { in handle_rpc_func_cmd_shm_alloc()
723 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
732 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
738 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
755 if (call_ctx->pages_list) { in free_pages_list()
756 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
758 call_ctx->pages_list = NULL; in free_pages_list()