Home
last modified time | relevance | path

Searched refs:pvec (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c111 struct page **pvec = NULL; in i915_gem_object_userptr_drop_ref() local
116 pvec = obj->userptr.pvec; in i915_gem_object_userptr_drop_ref()
117 obj->userptr.pvec = NULL; in i915_gem_object_userptr_drop_ref()
121 if (pvec) { in i915_gem_object_userptr_drop_ref()
124 unpin_user_pages(pvec, num_pages); in i915_gem_object_userptr_drop_ref()
125 kvfree(pvec); in i915_gem_object_userptr_drop_ref()
133 struct page **pvec; in i915_gem_userptr_get_pages() local
151 pvec = obj->userptr.pvec; in i915_gem_userptr_get_pages()
154 ret = sg_alloc_table_from_pages_segment(st, pvec, num_pages, 0, in i915_gem_userptr_get_pages()
266 struct page **pvec; in i915_gem_object_userptr_submit_init() local
[all …]
Di915_gem_object_types.h707 struct page **pvec; member
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c643 struct page **pvec = NULL; in etnaviv_gem_userptr_get_pages() local
653 pvec = kvmalloc_array(npages, sizeof(struct page *), GFP_KERNEL); in etnaviv_gem_userptr_get_pages()
654 if (!pvec) in etnaviv_gem_userptr_get_pages()
663 struct page **pages = pvec + pinned; in etnaviv_gem_userptr_get_pages()
667 unpin_user_pages(pvec, pinned); in etnaviv_gem_userptr_get_pages()
668 kvfree(pvec); in etnaviv_gem_userptr_get_pages()
676 etnaviv_obj->pages = pvec; in etnaviv_gem_userptr_get_pages()
/linux-6.6.21/include/linux/
Dpagevec.h78 void __folio_batch_release(struct folio_batch *pvec);
/linux-6.6.21/arch/x86/kvm/mmu/
Dmmu.c1803 static int mmu_pages_add(struct kvm_mmu_pages *pvec, struct kvm_mmu_page *sp, in mmu_pages_add() argument
1809 for (i=0; i < pvec->nr; i++) in mmu_pages_add()
1810 if (pvec->page[i].sp == sp) in mmu_pages_add()
1813 pvec->page[pvec->nr].sp = sp; in mmu_pages_add()
1814 pvec->page[pvec->nr].idx = idx; in mmu_pages_add()
1815 pvec->nr++; in mmu_pages_add()
1816 return (pvec->nr == KVM_PAGE_ARRAY_NR); in mmu_pages_add()
1827 struct kvm_mmu_pages *pvec) in __mmu_unsync_walk() argument
1843 if (mmu_pages_add(pvec, child, i)) in __mmu_unsync_walk()
1846 ret = __mmu_unsync_walk(child, pvec); in __mmu_unsync_walk()
[all …]
/linux-6.6.21/drivers/mtd/lpddr/
Dlpddr_cmds.c404 unsigned long adr, const struct kvec **pvec, in do_write_buffer() argument
433 vec = *pvec; in do_write_buffer()
463 *pvec = vec; in do_write_buffer()
/linux-6.6.21/drivers/mtd/chips/
Dcfi_cmdset_0001.c1724 unsigned long adr, const struct kvec **pvec, in do_write_buffer() argument
1810 vec = *pvec; in do_write_buffer()
1840 *pvec = vec; in do_write_buffer()