Searched refs:pages_list (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 245 struct list_head *pages_list, in iopt_alloc_area_pages() argument 253 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages() 267 elm = list_first_entry(pages_list, struct iopt_pages_list, in iopt_alloc_area_pages() 290 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages() 315 void iopt_free_pages_list(struct list_head *pages_list) in iopt_free_pages_list() argument 319 while ((elm = list_first_entry_or_null(pages_list, in iopt_free_pages_list() 330 static int iopt_fill_domains_pages(struct list_head *pages_list) in iopt_fill_domains_pages() argument 336 list_for_each_entry(elm, pages_list, next) { in iopt_fill_domains_pages() 344 list_for_each_entry(undo_elm, pages_list, next) { in iopt_fill_domains_pages() 352 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages() argument [all …]
|
H A D | ioas.c | 245 LIST_HEAD(pages_list); in iommufd_ioas_copy() 268 &pages_list); in iommufd_ioas_copy() 282 rc = iopt_map_pages(&dst_ioas->iopt, &pages_list, cmd->length, &iova, in iommufd_ioas_copy() 292 iopt_free_pages_list(&pages_list); in iommufd_ioas_copy()
|
H A D | iommufd_private.h | 57 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,
|
/openbmc/linux/drivers/tee/optee/ |
H A D | smc_abi.c | 409 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 …]
|
H A D | optee_private.h | 229 void *pages_list; member
|
/openbmc/u-boot/drivers/tee/optee/ |
H A D | core.c | 87 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_alloc_and_init_page_list() member 113 pages_data->pages_list[n] = virt_to_phys(buf_base); in optee_alloc_and_init_page_list()
|