Searched refs:cpages (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 443 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument 449 r = ttm_set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 451 pr_err("Failed to set %d pages to uc!\n", cpages); in ttm_set_pages_caching() 454 r = ttm_set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 456 pr_err("Failed to set %d pages to wc!\n", cpages); in ttm_set_pages_caching() 471 struct page **failed_pages, unsigned cpages) in ttm_handle_caching_state_failure() argument 475 for (i = 0; i < cpages; ++i) { in ttm_handle_caching_state_failure() 494 unsigned i, j, cpages; in ttm_alloc_new_pages() local 507 for (i = 0, cpages = 0; i < count; ++i) { in ttm_alloc_new_pages() 515 if (cpages) { in ttm_alloc_new_pages() [all …]
|
D | ttm_page_alloc_dma.c | 267 struct page **pages, unsigned cpages) in ttm_set_pages_caching() argument 272 r = ttm_set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 275 pool->dev_name, cpages); in ttm_set_pages_caching() 278 r = ttm_set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 281 pool->dev_name, cpages); in ttm_set_pages_caching() 669 unsigned cpages) in ttm_dma_handle_caching_state_failure() argument 685 if (++i < cpages) in ttm_dma_handle_caching_state_failure() 707 unsigned i, j, npages, cpages; in ttm_dma_pool_alloc_new_pages() local 725 for (i = 0, cpages = 0; i < count; ++i) { in ttm_dma_pool_alloc_new_pages() 733 if (cpages) { in ttm_dma_pool_alloc_new_pages() [all …]
|
/Linux-v5.4/mm/ |
D | migrate.c | 2135 migrate->cpages++; in migrate_vma_collect_hole() 2224 migrate->cpages++; in migrate_vma_collect_pmd() 2249 migrate->cpages++; in migrate_vma_collect_pmd() 2273 migrate->cpages++; in migrate_vma_collect_pmd() 2419 for (i = 0; (i < npages) && migrate->cpages; i++) { in migrate_vma_prepare() 2437 migrate->cpages--; in migrate_vma_prepare() 2456 migrate->cpages--; in migrate_vma_prepare() 2461 migrate->cpages--; in migrate_vma_prepare() 2474 migrate->cpages--; in migrate_vma_prepare() 2484 migrate->cpages--; in migrate_vma_prepare() [all …]
|
D | hmm.c | 1057 long cpages = 0; in hmm_range_dma_unmap() local 1093 cpages++; in hmm_range_dma_unmap() 1096 return cpages; in hmm_range_dma_unmap()
|
/Linux-v5.4/include/linux/ |
D | migrate.h | 195 unsigned long cpages; member
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 188 if (!args.cpages) in nouveau_dmem_migrate_to_ram() 656 if (args.cpages) in nouveau_dmem_migrate_vma()
|