Home
last modified time | relevance | path

Searched refs:hmm_page (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_dynamic_pool.c40 struct hmm_page *hmm_page; in get_pages_from_dynamic_pool() local
51 hmm_page = list_entry(dypool_info->pages_list.next, in get_pages_from_dynamic_pool()
52 struct hmm_page, list); in get_pages_from_dynamic_pool()
54 list_del(&hmm_page->list); in get_pages_from_dynamic_pool()
58 page_obj[i].page = hmm_page->page; in get_pages_from_dynamic_pool()
60 kmem_cache_free(dypool_info->pgptr_cache, hmm_page); in get_pages_from_dynamic_pool()
76 struct hmm_page *hmm_page; in free_pages_to_dynamic_pool() local
113 hmm_page = kmem_cache_zalloc(dypool_info->pgptr_cache, in free_pages_to_dynamic_pool()
115 if (!hmm_page) { in free_pages_to_dynamic_pool()
128 hmm_page->page = page_obj->page; in free_pages_to_dynamic_pool()
[all …]
/linux-5.19.10/drivers/staging/media/atomisp/include/hmm/
Dhmm_pool.h108 struct hmm_page { struct