Lines Matching refs:user_pages
52 p->uf_entry.user_pages = NULL; in amdgpu_cs_user_fence_chunk()
541 lobj->user_pages) { in amdgpu_cs_list_validate()
548 lobj->user_pages); in amdgpu_cs_list_validate()
560 kvfree(lobj->user_pages); in amdgpu_cs_list_validate()
561 lobj->user_pages = NULL; in amdgpu_cs_list_validate()
625 &e->user_invalidated) && e->user_pages) { in amdgpu_cs_parser_bos()
630 release_pages(e->user_pages, in amdgpu_cs_parser_bos()
632 kvfree(e->user_pages); in amdgpu_cs_parser_bos()
633 e->user_pages = NULL; in amdgpu_cs_parser_bos()
637 !e->user_pages) { in amdgpu_cs_parser_bos()
662 e->user_pages = kvmalloc_array(ttm->num_pages, in amdgpu_cs_parser_bos()
665 if (!e->user_pages) { in amdgpu_cs_parser_bos()
671 r = amdgpu_ttm_tt_get_user_pages(ttm, e->user_pages); in amdgpu_cs_parser_bos()
674 kvfree(e->user_pages); in amdgpu_cs_parser_bos()
675 e->user_pages = NULL; in amdgpu_cs_parser_bos()
748 if (!e->user_pages) in amdgpu_cs_parser_bos()
751 release_pages(e->user_pages, in amdgpu_cs_parser_bos()
753 kvfree(e->user_pages); in amdgpu_cs_parser_bos()