Home
last modified time | relevance | path

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

/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c257 struct list_head *pages_list, in iopt_alloc_area_pages() argument
266 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
280 elm = list_first_entry(pages_list, struct iopt_pages_list, in iopt_alloc_area_pages()
312 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
337 void iopt_free_pages_list(struct list_head *pages_list) in iopt_free_pages_list() argument
341 while ((elm = list_first_entry_or_null(pages_list, in iopt_free_pages_list()
352 static int iopt_fill_domains_pages(struct list_head *pages_list) in iopt_fill_domains_pages() argument
358 list_for_each_entry(elm, pages_list, next) { in iopt_fill_domains_pages()
366 list_for_each_entry(undo_elm, pages_list, next) { in iopt_fill_domains_pages()
374 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages() argument
[all …]
H A Dioas.c289 LIST_HEAD(pages_list); in iommufd_ioas_copy()
312 &pages_list); in iommufd_ioas_copy()
326 rc = iopt_map_pages(&dst_ioas->iopt, &pages_list, cmd->length, &iova, in iommufd_ioas_copy()
336 iopt_free_pages_list(&pages_list); in iommufd_ioas_copy()
H A Diommufd_private.h102 unsigned long length, struct list_head *pages_list);
103 void iopt_free_pages_list(struct list_head *pages_list);
115 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list,
/linux/drivers/tee/optee/
H A Dsmc_abi.c410 u64 pages_list[PAGELIST_ENTRIES_PER_PAGE]; in optee_fill_pages_list() member
434 pages_data->pages_list[n++] = optee_page; in optee_fill_pages_list()
460 u64 *pages_list; in optee_shm_register() local
471 pages_list = optee_allocate_pages_list(num_pages); in optee_shm_register()
472 if (!pages_list) in optee_shm_register()
494 optee_fill_pages_list(pages_list, pages, num_pages, in optee_shm_register()
508 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
517 optee_free_pages_list(pages_list, num_pages); in optee_shm_register()
727 u64 *pages_list; in handle_rpc_func_cmd_shm_alloc() local
729 pages_list = optee_allocate_pages_list(page_count); in handle_rpc_func_cmd_shm_alloc()
[all …]
H A Doptee_private.h299 void *pages_list; member
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c163 list_add_tail(&page->list, &ent->mkeys_queue.pages_list); in push_mkey_locked()
165 page = list_last_entry(&ent->mkeys_queue.pages_list, in push_mkey_locked()
181 last_page = list_last_entry(&ent->mkeys_queue.pages_list, in pop_mkey_locked()
872 INIT_LIST_HEAD(&ent->mkeys_queue.pages_list); in mlx5r_mkeys_init()
874 list_add_tail(&page->list, &ent->mkeys_queue.pages_list); in mlx5r_mkeys_init()
884 page = list_last_entry(&ent->mkeys_queue.pages_list, in mlx5r_mkeys_uninit()
H A Dmlx5_ib.h797 struct list_head pages_list; member