Lines Matching refs:cstate
145 ttm_caching_state_to_vm(enum ttm_caching_state cstate)
148 switch (cstate) {
156 panic("caching state %d\n", cstate);
192 ttm_vm_page_alloc(int flags, enum ttm_caching_state cstate)
198 memattr = ttm_caching_state_to_vm(cstate);
311 enum ttm_caching_state cstate)
315 if (cstate == tt_cached)
318 if (cstate == tt_wc)
483 enum ttm_caching_state cstate, unsigned cpages)
487 switch (cstate) {
510 int ttm_flags, enum ttm_caching_state cstate,
528 int ttm_flags, enum ttm_caching_state cstate, unsigned count)
542 p = ttm_vm_page_alloc(ttm_alloc_flags, cstate);
550 cstate, cpages);
553 ttm_flags, cstate,
571 cstate, cpages);
574 ttm_flags, cstate,
586 r = ttm_set_pages_caching(caching_array, cstate, cpages);
589 ttm_flags, cstate,
603 int ttm_flags, enum ttm_caching_state cstate, unsigned count)
633 ttm_flags, cstate, alloc_size);
662 enum ttm_caching_state cstate,
669 ttm_page_pool_fill_locked(pool, ttm_flags, cstate, count);
692 enum ttm_caching_state cstate)
694 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate);
735 enum ttm_caching_state cstate)
737 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate);
747 p = ttm_vm_page_alloc(flags, cstate);
762 npages = ttm_page_pool_get_pages(pool, &plist, flags, cstate, npages);
781 r = ttm_alloc_new_pages(&plist, gfp_flags, flags, cstate,
790 ttm_put_pages(pages, count, flags, cstate);