Searched refs:get_user_pages_fast (Results 1 - 35 of 35) sorted by relevance

/linux-4.4.14/arch/sh/mm/
H A Dgup.c2 * Lockless get_user_pages_fast for SuperH
23 * With get_user_pages_fast, we walk down the pagetables without gup_get_pte()
48 * it is 'l'. And get_user_pages_fast only operates on present ptes, so gup_get_pte()
160 * Like get_user_pages_fast() except its IRQ-safe in that it won't fall
202 * get_user_pages_fast() - pin user pages in memory
217 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
/linux-4.4.14/mm/
H A Dutil.c241 * Like get_user_pages_fast() except its IRQ-safe in that it won't fall
254 * get_user_pages_fast() - pin user pages in memory
265 * get_user_pages_fast provides equivalent functionality to get_user_pages,
269 * get_user_pages_fast may take mmap_sem and page table locks, so no
270 * assumptions can be made about lack of locking. get_user_pages_fast is to be
275 * get_user_pages_fast simply falls back to get_user_pages.
277 int __weak get_user_pages_fast(unsigned long start, get_user_pages_fast() function
284 EXPORT_SYMBOL_GPL(get_user_pages_fast); variable
H A Dgup.c449 * In most cases, get_user_pages or get_user_pages_fast should be used
785 * It is functionally equivalent to get_user_pages_fast so
786 * get_user_pages_fast should be used instead, if the two parameters
788 * or if "force" shall be set to 1 (get_user_pages_fast misses the
848 * See also get_user_pages_fast, for performance critical applications.
851 * get_user_pages_locked|unlocked or get_user_pages_fast. Nothing
1017 * get_user_pages_fast attempts to pin user pages by walking the page
1322 * Like get_user_pages_fast() except it's IRQ-safe in that it won't fall back to
1380 * get_user_pages_fast() - pin user pages in memory
1395 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
H A Dmadvise.c348 ret = get_user_pages_fast(start, 1, 0, &p); madvise_hwpoison()
H A Dksm.c888 * Ok this is tricky, when get_user_pages_fast() run it doesn't write_protect_page()
/linux-4.4.14/arch/s390/mm/
H A Dgup.c2 * Lockless get_user_pages_fast for s390
173 * Like get_user_pages_fast() except its IRQ-safe in that it won't fall
215 * get_user_pages_fast() - pin user pages in memory
230 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
/linux-4.4.14/arch/mips/mm/
H A Dgup.c2 * Lockless get_user_pages_fast for MIPS
193 * Like get_user_pages_fast() except its IRQ-safe in that it won't fall
248 * get_user_pages_fast() - pin user pages in memory
263 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
/linux-4.4.14/arch/x86/mm/
H A Dgup.c2 * Lockless get_user_pages_fast for x86
21 * With get_user_pages_fast, we walk down the pagetables without taking gup_get_pte()
45 * it is 'l'. And get_user_pages_fast only operates on present ptes, so gup_get_pte()
252 * Like get_user_pages_fast() except its IRQ-safe in that it won't fall
308 * get_user_pages_fast() - pin user pages in memory
323 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
/linux-4.4.14/arch/sparc/mm/
H A Dgup.c2 * Lockless get_user_pages_fast for sparc, cribbed from powerpc
193 int get_user_pages_fast(unsigned long start, int nr_pages, int write, get_user_pages_fast() function
/linux-4.4.14/arch/powerpc/mm/
H A Dmmu_context_iommu.c125 if (1 != get_user_pages_fast(ua + (i << PAGE_SHIFT), mm_iommu_get()
/linux-4.4.14/net/rds/
H A Dinfo.c196 ret = get_user_pages_fast(start, nr_pages, 1, pages); rds_info_getsockopt()
H A Drdma.c162 ret = get_user_pages_fast(user_addr, nr_pages, write, pages); rds_pin_pages()
/linux-4.4.14/lib/
H A Diov_iter.c592 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, pages); iov_iter_get_pages()
640 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, p); iov_iter_get_pages_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Drw26.c205 result = get_user_pages_fast(user_addr, *max_pages, ll_get_user_pages()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_user_sdma.c282 ret = get_user_pages_fast(addr, npages, 0, pages); ipath_user_sdma_pin_pages()
/linux-4.4.14/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.c749 retval = get_user_pages_fast((uintptr_t) produce_uva, qp_host_get_user_memory()
753 pr_debug("get_user_pages_fast(produce) failed (retval=%d)", qp_host_get_user_memory()
761 retval = get_user_pages_fast((uintptr_t) consume_uva, qp_host_get_user_memory()
765 pr_debug("get_user_pages_fast(consume) failed (retval=%d)", qp_host_get_user_memory()
H A Dvmci_host.c245 retval = get_user_pages_fast(uva, 1, 1, &context->notify_page); vmci_host_setup_notify()
/linux-4.4.14/arch/powerpc/kvm/
H A De500_mmu.c786 ret = get_user_pages_fast(cfg->array, num_pages, 1, pages); kvm_vcpu_ioctl_config_tlb()
H A Dbook3s_64_mmu_hv.c514 npages = get_user_pages_fast(hva, 1, writing, pages); kvmppc_book3s_hv_page_fault()
1077 npages = get_user_pages_fast(hva, 1, 1, pages); kvmppc_pin_guest_page()
/linux-4.4.14/drivers/xen/
H A Dgntdev.c249 * Set the PTE as special to force get_user_pages_fast() fall find_grant_ptes()
/linux-4.4.14/drivers/lguest/
H A Dpage_tables.c193 if (get_user_pages_fast(virtpfn << PAGE_SHIFT, 1, write, &page) == 1) get_pfn()
245 * Remember that get_user_pages_fast() took a reference to the page, in release_pte()
/linux-4.4.14/drivers/vhost/
H A Dscsi.c654 ret = get_user_pages_fast((unsigned long)ptr, pages_nr, write, pages); vhost_scsi_map_to_sgl()
990 * host scatterlists via get_user_pages_fast(). vhost_scsi_handle_vq()
H A Dvhost.c1054 r = get_user_pages_fast(log, 1, 1, &page); set_bit_to_user()
/linux-4.4.14/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c449 if (get_user_pages_fast(tce & PAGE_MASK, 1, tce_iommu_use_page()
H A Dvfio_iommu_type1.c237 if (get_user_pages_fast(vaddr, 1, !!(prot & IOMMU_WRITE), page) == 1) { vaddr_get_pfn()
/linux-4.4.14/drivers/misc/genwqe/
H A Dcard_utils.c590 rc = get_user_pages_fast(data & PAGE_MASK, /* page aligned addr */ genwqe_user_vmap()
/linux-4.4.14/arch/x86/kvm/
H A Dpaging_tmpl.h149 npages = get_user_pages_fast((unsigned long)ptep_user, 1, 1, &page); cmpxchg_gpte()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Duser_sdma.c1058 pinned = get_user_pages_fast( pin_vector_pages()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c677 ret = get_user_pages_fast(addr, j, 0, pages); qib_user_sdma_pin_pages()
/linux-4.4.14/kernel/
H A Dfutex.c508 err = get_user_pages_fast(address, 1, 1, &page); get_futex_key()
514 err = get_user_pages_fast(address, 1, 0, &page); get_futex_key()
564 * or it may have been a good file page when get_user_pages_fast get_futex_key()
/linux-4.4.14/block/
H A Dbio.c1302 ret = get_user_pages_fast(uaddr, local_nr_pages, bio_map_user_iov()
/linux-4.4.14/fs/
H A Dsplice.c1495 error = get_user_pages_fast((unsigned long)base, npages, get_iovec_page_array()
/linux-4.4.14/arch/s390/kvm/
H A Dinterrupt.c1844 ret = get_user_pages_fast(map->addr, 1, 1, &map->page); kvm_s390_adapter_map()
/linux-4.4.14/include/linux/
H A Dmm.h1211 int get_user_pages_fast(unsigned long start, int nr_pages, int write,
/linux-4.4.14/kernel/trace/
H A Dtrace.c5133 * But there's no guarantee that it is. By using get_user_pages_fast() tracing_mark_write()
5147 ret = get_user_pages_fast(addr, nr_pages, 0, pages); tracing_mark_write()

Completed in 1534 milliseconds