Searched refs:pages_list (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/iommu/iommufd/ |
| H A D | io_pagetable.c | 257 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 D | ioas.c | 289 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 D | iommufd_private.h | 102 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 D | smc_abi.c | 410 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 D | optee_private.h | 299 void *pages_list; member
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mr.c | 163 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 D | mlx5_ib.h | 797 struct list_head pages_list; member
|