/linux-4.4.14/arch/sh/mm/ |
H A D | gup.c | 2 * 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 D | util.c | 241 * 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 D | gup.c | 449 * 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 D | madvise.c | 348 ret = get_user_pages_fast(start, 1, 0, &p); madvise_hwpoison()
|
H A D | ksm.c | 888 * 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 D | gup.c | 2 * 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 D | gup.c | 2 * 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 D | gup.c | 2 * 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 D | gup.c | 2 * 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 D | mmu_context_iommu.c | 125 if (1 != get_user_pages_fast(ua + (i << PAGE_SHIFT), mm_iommu_get()
|
/linux-4.4.14/net/rds/ |
H A D | info.c | 196 ret = get_user_pages_fast(start, nr_pages, 1, pages); rds_info_getsockopt()
|
H A D | rdma.c | 162 ret = get_user_pages_fast(user_addr, nr_pages, write, pages); rds_pin_pages()
|
/linux-4.4.14/lib/ |
H A D | iov_iter.c | 592 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 D | rw26.c | 205 result = get_user_pages_fast(user_addr, *max_pages, ll_get_user_pages()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_user_sdma.c | 282 ret = get_user_pages_fast(addr, npages, 0, pages); ipath_user_sdma_pin_pages()
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
H A D | vmci_queue_pair.c | 749 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 D | vmci_host.c | 245 retval = get_user_pages_fast(uva, 1, 1, &context->notify_page); vmci_host_setup_notify()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | e500_mmu.c | 786 ret = get_user_pages_fast(cfg->array, num_pages, 1, pages); kvm_vcpu_ioctl_config_tlb()
|
H A D | book3s_64_mmu_hv.c | 514 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 D | gntdev.c | 249 * Set the PTE as special to force get_user_pages_fast() fall find_grant_ptes()
|
/linux-4.4.14/drivers/lguest/ |
H A D | page_tables.c | 193 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 D | scsi.c | 654 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 D | vhost.c | 1054 r = get_user_pages_fast(log, 1, 1, &page); set_bit_to_user()
|
/linux-4.4.14/drivers/vfio/ |
H A D | vfio_iommu_spapr_tce.c | 449 if (get_user_pages_fast(tce & PAGE_MASK, 1, tce_iommu_use_page()
|
H A D | vfio_iommu_type1.c | 237 if (get_user_pages_fast(vaddr, 1, !!(prot & IOMMU_WRITE), page) == 1) { vaddr_get_pfn()
|
/linux-4.4.14/drivers/misc/genwqe/ |
H A D | card_utils.c | 590 rc = get_user_pages_fast(data & PAGE_MASK, /* page aligned addr */ genwqe_user_vmap()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | paging_tmpl.h | 149 npages = get_user_pages_fast((unsigned long)ptep_user, 1, 1, &page); cmpxchg_gpte()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | user_sdma.c | 1058 pinned = get_user_pages_fast( pin_vector_pages()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_user_sdma.c | 677 ret = get_user_pages_fast(addr, j, 0, pages); qib_user_sdma_pin_pages()
|
/linux-4.4.14/kernel/ |
H A D | futex.c | 508 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 D | bio.c | 1302 ret = get_user_pages_fast(uaddr, local_nr_pages, bio_map_user_iov()
|
/linux-4.4.14/fs/ |
H A D | splice.c | 1495 error = get_user_pages_fast((unsigned long)base, npages, get_iovec_page_array()
|
/linux-4.4.14/arch/s390/kvm/ |
H A D | interrupt.c | 1844 ret = get_user_pages_fast(map->addr, 1, 1, &map->page); kvm_s390_adapter_map()
|
/linux-4.4.14/include/linux/ |
H A D | mm.h | 1211 int get_user_pages_fast(unsigned long start, int nr_pages, int write,
|
/linux-4.4.14/kernel/trace/ |
H A D | trace.c | 5133 * 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()
|