Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/iommufd/
Dio_pagetable.c225 struct list_head *pages_list, in iopt_alloc_area_pages() argument
233 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
247 elm = list_first_entry(pages_list, struct iopt_pages_list, in iopt_alloc_area_pages()
270 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
295 void iopt_free_pages_list(struct list_head *pages_list) in iopt_free_pages_list() argument
299 while ((elm = list_first_entry_or_null(pages_list, in iopt_free_pages_list()
310 static int iopt_fill_domains_pages(struct list_head *pages_list) in iopt_fill_domains_pages() argument
316 list_for_each_entry(elm, pages_list, next) { in iopt_fill_domains_pages()
324 list_for_each_entry(undo_elm, pages_list, next) { in iopt_fill_domains_pages()
332 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages() argument
[all …]
Dioas.c241 LIST_HEAD(pages_list); in iommufd_ioas_copy()
260 &pages_list); in iommufd_ioas_copy()
274 rc = iopt_map_pages(&dst_ioas->iopt, &pages_list, cmd->length, &iova, in iommufd_ioas_copy()
284 iopt_free_pages_list(&pages_list); in iommufd_ioas_copy()
Diommufd_private.h57 unsigned long length, struct list_head *pages_list);
58 void iopt_free_pages_list(struct list_head *pages_list);
66 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list,
/Linux-v6.6/drivers/tee/optee/
Dsmc_abi.c409 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
433 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
459 u64 *pages_list; in optee_shm_register() local
470 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
471 if (!pages_list) in optee_shm_register()
493 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
507 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
516 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
728 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
737 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc()
[all …]
Doptee_private.h229 void *pages_list; member