Home
last modified time | relevance | path

Searched refs:PAGE_KERNEL (Results 1 – 175 of 175) sorted by relevance

/linux-4.4.14/arch/arm/mm/
Dcopypage-v6.c93 set_top_pte(kfrom, mk_pte(from, PAGE_KERNEL)); in v6_copy_user_highpage_aliasing()
94 set_top_pte(kto, mk_pte(to, PAGE_KERNEL)); in v6_copy_user_highpage_aliasing()
119 set_top_pte(to, mk_pte(page, PAGE_KERNEL)); in v6_clear_user_highpage_aliasing()
Dflush.c46 set_top_pte(to, pfn_pte(pfn, PAGE_KERNEL)); in flush_pfn_alias()
61 set_top_pte(va, pfn_pte(pfn, PAGE_KERNEL)); in flush_icache_alias()
Dfault-armv.c243 pgprot_t prot = __pgprot_modify(PAGE_KERNEL, in check_writebuffer_bugs()
Ddma-mapping.c353 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init()
572 __dma_remap(page, size, PAGE_KERNEL); in __free_from_contiguous()
678 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_dma_alloc()
687 return __dma_alloc(dev, size, handle, gfp, PAGE_KERNEL, true, in arm_coherent_dma_alloc()
1359 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_iommu_alloc_attrs()
/linux-4.4.14/arch/openrisc/include/asm/
Dio.h40 return __ioremap(offset, size, PAGE_KERNEL); in ioremap()
48 __pgprot(pgprot_val(PAGE_KERNEL) | _PAGE_CI)); in ioremap_nocache()
Dpgtable.h174 #define PAGE_KERNEL \ macro
/linux-4.4.14/include/drm/
Ddrm_mem_util.h41 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in drm_calloc_large()
54 GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in drm_malloc_ab()
/linux-4.4.14/arch/xtensa/mm/
Dmisc.S129 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
177 addi a6, a4, (PAGE_KERNEL | _PAGE_HW_WRITE)
187 addi a7, a5, PAGE_KERNEL
254 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
278 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
/linux-4.4.14/arch/mips/mm/
Dhighmem.c61 set_pte(kmap_pte-idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
115 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
Dinit.c131 return __kmap_pgprot(page, addr, PAGE_KERNEL); in kmap_coherent()
/linux-4.4.14/arch/metag/mm/
Dhighmem.c57 set_pte(kmap_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
108 set_pte(kmap_pte - idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
/linux-4.4.14/arch/arm64/mm/
Dmmu.c321 end - start, PAGE_KERNEL); in __map_memblock()
324 end - start, PAGE_KERNEL); in __map_memblock()
329 PAGE_KERNEL); in __map_memblock()
338 PAGE_KERNEL); in __map_memblock()
411 PAGE_KERNEL); in fixup_executable()
419 PAGE_KERNEL); in fixup_executable()
438 PAGE_KERNEL); in fixup_init()
Dkasan_init.c39 PAGE_KERNEL)); in kasan_early_pte_populate()
Ddma-mapping.c145 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, false); in __dma_alloc()
563 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent); in __iommu_alloc_attrs()
/linux-4.4.14/arch/alpha/mm/
Dinit.c57 = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); in pgd_alloc()
111 (newptbr << 32) | pgprot_val(PAGE_KERNEL); in switch_to_system_map()
223 pfn_pte(pfn, PAGE_KERNEL)); in callback_init()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo_util.c265 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) in ttm_copy_io_ttm_page()
278 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) in ttm_copy_io_ttm_page()
301 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) in ttm_copy_ttm_io_page()
314 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) in ttm_copy_ttm_io_page()
385 PAGE_KERNEL); in ttm_bo_move_memcpy()
390 PAGE_KERNEL); in ttm_bo_move_memcpy()
560 prot = ttm_io_prot(mem->placement, PAGE_KERNEL); in ttm_bo_kmap_ttm()
/linux-4.4.14/arch/tile/mm/
Dinit.c234 return construct_pgprot(PAGE_KERNEL, PAGE_HOME_HASH); in init_pgprot()
241 return construct_pgprot(PAGE_KERNEL, PAGE_HOME_HASH); in init_pgprot()
253 return construct_pgprot(PAGE_KERNEL, PAGE_HOME_HASH); in init_pgprot()
270 return construct_pgprot(PAGE_KERNEL, initial_heap_home()); in init_pgprot()
274 return construct_pgprot(PAGE_KERNEL, PAGE_HOME_HASH); in init_pgprot()
300 return construct_pgprot(PAGE_KERNEL, cpu); in init_pgprot()
952 pfn_pte(pfn, PAGE_KERNEL)); in free_init_pages()
Dhomecache.c191 pte = pfn_pte(page_to_pfn(page), PAGE_KERNEL); in homecache_finv_map_page()
Dpgtable.c523 pgprot = PAGE_KERNEL; in ioremap_prot()
/linux-4.4.14/arch/x86/xen/
Dgrant-table.c69 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_shared()
147 vaddr = vmap(pages, nr_grant_frames, 0, PAGE_KERNEL); in xlated_setup_gnttab_pages()
Dsetup.c313 mfn_pte(mfn, PAGE_KERNEL), 0)) { in xen_update_mem_tables()
355 set_pte_mfn(buf, mfn, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
374 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
513 set_pte_mfn(buf, xen_remap_mfn, PAGE_KERNEL); in xen_remap_memory()
542 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_remap_memory()
Dmmu.c916 pfn_pte(pfn, PAGE_KERNEL), in xen_unpin_page()
1725 __set_pfn_prot(pfn, PAGE_KERNEL); in xen_release_ptpage()
1897 set_page_prot_flags((void *)addr, PAGE_KERNEL, UVMF_INVLPG); in check_pt_base()
1902 set_page_prot_flags((void *)addr, PAGE_KERNEL, UVMF_INVLPG); in check_pt_base()
2141 pfn_pte(p2m_pfn, PAGE_KERNEL)); in xen_relocate_p2m()
2237 set_page_prot(initial_page_table, PAGE_KERNEL); in xen_write_cr3_init()
2238 set_page_prot(initial_kernel_pmd, PAGE_KERNEL); in xen_write_cr3_init()
2350 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); in xen_set_fixmap()
2360 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); in xen_set_fixmap()
2569 mfn_pte(mfn, PAGE_KERNEL), flags); in xen_remap_exchanged_ptes()
Dp2m.c388 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list()
611 pfn_pte(PFN_DOWN(__pa(p2m)), PAGE_KERNEL)); in xen_alloc_p2m_entry()
Denlighten.c569 set_aliased_prot(ldt + i, PAGE_KERNEL); in xen_free_ldt()
/linux-4.4.14/drivers/staging/android/ion/
Dion_heap.c44 pgprot = PAGE_KERNEL; in ion_heap_map_kernel()
46 pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_heap_map_kernel()
147 pgprot = PAGE_KERNEL; in ion_heap_buffer_zero()
149 pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_heap_buffer_zero()
Dion_carveout_heap.c162 ret = ion_heap_pages_zero(page, size, pgprot_writecombine(PAGE_KERNEL)); in ion_carveout_heap_create()
Dion_chunk_heap.c153 ret = ion_heap_pages_zero(page, size, pgprot_writecombine(PAGE_KERNEL)); in ion_chunk_heap_create()
Dion_test.c50 pgprot_t pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_handle_test_dma()
/linux-4.4.14/fs/ntfs/
Dmalloc.h51 return __vmalloc(size, gfp_mask, PAGE_KERNEL); in __ntfs_malloc()
/linux-4.4.14/arch/mips/include/asm/
Dhighmem.h57 #define kmap_prot PAGE_KERNEL
Dpgtable.h33 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ macro
/linux-4.4.14/arch/powerpc/mm/
Dpgtable_32.c191 flags |= pgprot_val(PAGE_KERNEL); in __ioremap_caller()
326 f = ktext ? pgprot_val(PAGE_KERNEL_TEXT) : pgprot_val(PAGE_KERNEL); in __mapin_ram_chunk()
444 change_page_attr(page, numpages, enable ? PAGE_KERNEL : __pgprot(0)); in __kernel_map_pages()
Dinit_64.c229 pgprot_val(PAGE_KERNEL), in vmemmap_create_mapping()
Ddma-noncoherent.c231 pgprot_val(pgprot_noncached(PAGE_KERNEL))); in __dma_alloc_coherent()
Dhash_utils_64.c621 pgprot_val(PAGE_KERNEL), mmu_linear_psize, in create_section_mapping()
744 prot = pgprot_val(PAGE_KERNEL); in htab_initialize()
1481 unsigned long mode = htab_convert_pte_flags(pgprot_val(PAGE_KERNEL)); in kernel_map_linear_page()
Dmem.c301 kmap_prot = PAGE_KERNEL; in paging_init()
Dpgtable_64.c168 flags |= pgprot_val(PAGE_KERNEL); in __ioremap_at()
/linux-4.4.14/arch/metag/include/asm/
Dhighmem.h32 #define kmap_prot PAGE_KERNEL
Dpgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ macro
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-mem.c40 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); in libcfs_kvzalloc()
/linux-4.4.14/drivers/block/zram/
Dzcomp_lz4.c36 PAGE_KERNEL); in zcomp_lz4_create()
Dzcomp_lzo.c36 PAGE_KERNEL); in lzo_create()
/linux-4.4.14/arch/m68k/include/asm/
Dpgtable_no.h29 #define PAGE_KERNEL __pgprot(0) macro
Dsun3_pgtable.h57 #define PAGE_KERNEL __pgprot(SUN3_PAGE_VALID \ macro
Dmcf_pgtable.h75 #define PAGE_KERNEL __pgprot(CF_PAGE_VALID \ macro
Dmotorola_pgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) macro
/linux-4.4.14/arch/h8300/include/asm/
Dpgtable.h11 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.4.14/arch/m68k/sun3/
Ddvma.c32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
/linux-4.4.14/arch/arc/include/asm/
Dhighmem.h32 #define kmap_prot PAGE_KERNEL
Dpgtable.h129 #define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_CACHEABLE) macro
/linux-4.4.14/arch/arm/include/asm/
Dhighmem.h12 #define kmap_prot PAGE_KERNEL
Dpgtable-nommu.h44 #define PAGE_KERNEL __pgprot(0) macro
Dpgtable.h98 #define PAGE_KERNEL _MOD_PROT(pgprot_kernel, L_PTE_XN) macro
/linux-4.4.14/arch/sh/mm/
Dkmap.c49 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
Dnuma.c40 PAGE_KERNEL); in setup_bootmem_node()
/linux-4.4.14/arch/hexagon/kernel/
Dvdso.c41 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in vdso_init()
/linux-4.4.14/arch/c6x/include/asm/
Dpgtable.h42 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.4.14/arch/sh/include/asm/
Dpgtable_32.h213 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \ macro
255 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | \ macro
281 #define PAGE_KERNEL __pgprot(0) macro
Dpgtable_64.h197 #define PAGE_KERNEL __pgprot(_KERNPG_TABLE) macro
Dio.h343 return __ioremap_mode(offset, size, PAGE_KERNEL); in ioremap_cache()
/linux-4.4.14/arch/cris/include/arch-v10/arch/
Dmmu.h79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ macro
/linux-4.4.14/include/asm-generic/
Dfixmap.h47 #define FIXMAP_PAGE_NORMAL PAGE_KERNEL
/linux-4.4.14/arch/x86/include/asm/
Dacpi.h169 return PAGE_KERNEL; in arch_apei_get_mem_attribute()
Dpgtable_types.h159 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) macro
/linux-4.4.14/arch/frv/include/asm/
Dhighmem.h43 #define kmap_prot PAGE_KERNEL
Dpgtable.h57 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
317 #define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL) macro
/linux-4.4.14/arch/m32r/include/asm/
Dpgtable.h138 #define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL) macro
151 #define PAGE_KERNEL __pgprot(0) macro
/linux-4.4.14/arch/cris/include/arch-v32/arch/
Dmmu.h79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ macro
/linux-4.4.14/arch/blackfin/include/asm/
Dpgtable.h37 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.4.14/arch/ia64/mm/
Dioremap.c74 prot = PAGE_KERNEL; in ioremap()
Dinit.c463 PAGE_KERNEL)); in create_mem_map_page_table()
/linux-4.4.14/arch/arm64/kernel/
Dacpi.c229 return PAGE_KERNEL; in arch_apei_get_mem_attribute()
Defi.c263 prot = PAGE_KERNEL; in efi_virtmap_init()
/linux-4.4.14/fs/xfs/
Dkmem.c87 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
Dxfs_buf.c410 -1, PAGE_KERNEL); in _xfs_buf_map_pages()
/linux-4.4.14/arch/m68k/mm/
Dsun3kmap.c36 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_memory.c49 # define PAGE_AGP PAGE_KERNEL
Ddrm_scatter.c44 return __vmalloc(size, GFP_KERNEL, PAGE_KERNEL | _PAGE_NO_CACHE); in drm_vmalloc_dma()
/linux-4.4.14/arch/openrisc/mm/
Dinit.c117 prot = PAGE_KERNEL; in map_ram()
/linux-4.4.14/arch/powerpc/include/asm/
Dpte-common.h159 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW) macro
/linux-4.4.14/arch/xtensa/include/asm/
Dpgtable.h170 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE) macro
186 # define PAGE_KERNEL __pgprot(0) macro
/linux-4.4.14/arch/s390/mm/
Dvmem.c134 pgprot_val(ro ? PAGE_KERNEL_RO : PAGE_KERNEL); in vmem_add_mem()
255 __pa(new_page) | pgprot_val(PAGE_KERNEL); in vmemmap_populate()
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_85xx_cache_sram.c111 cache_sram->size, _PAGE_COHERENT | PAGE_KERNEL); in instantiate_cache_sram()
/linux-4.4.14/mm/kasan/
Dkasan_init.c52 zero_pte = pfn_pte(PFN_DOWN(__pa(kasan_zero_page)), PAGE_KERNEL); in zero_pte_populate()
Dkasan.c443 PAGE_KERNEL, VM_NO_GUARD, NUMA_NO_NODE, in kasan_module_alloc()
/linux-4.4.14/arch/m68k/sun3x/
Ddvma.c134 PAGE_KERNEL)); in dvma_map_cpu()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c124 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); in mlx4_en_map_buffer()
Dalloc.c640 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); in mlx4_buf_alloc()
/linux-4.4.14/arch/tile/include/asm/
Dpgtable.h129 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) macro
133 #define page_to_kpgprot(p) PAGE_KERNEL
/linux-4.4.14/arch/parisc/mm/
Dinit.c532 PAGE_KERNEL, 1); in free_initmem()
729 size, PAGE_KERNEL, 0); in pagetable_init()
736 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/linux-4.4.14/sound/core/
Dsgbuf.c128 dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, PAGE_KERNEL); in snd_malloc_sgbuf_pages()
Dpcm_memory.c417 runtime->dma_area = __vmalloc(size, gfp_flags, PAGE_KERNEL); in _snd_pcm_lib_alloc_vmalloc_buffer()
/linux-4.4.14/arch/microblaze/include/asm/
Dpgtable.h33 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to non MMU */ macro
260 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) macro
/linux-4.4.14/mm/
Dvmalloc.c1595 PAGE_KERNEL, node, area->caller); in __vmalloc_area_node()
1729 return __vmalloc_node(size, 1, flags, PAGE_KERNEL, in __vmalloc_node_flags()
1780 PAGE_KERNEL, NUMA_NO_NODE, in vmalloc_user()
1803 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL, in vmalloc_node()
1828 # define PAGE_KERNEL_EXEC PAGE_KERNEL
1866 return __vmalloc_node(size, 1, GFP_VMALLOC32, PAGE_KERNEL, in vmalloc_32()
1883 ret = __vmalloc_node(size, 1, GFP_VMALLOC32 | __GFP_ZERO, PAGE_KERNEL, in vmalloc_32_user()
Dsparse-vmemmap.c109 entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL); in vmemmap_pte_populate()
Dnommu.c279 PAGE_KERNEL); in vmalloc_user()
339 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in vmalloc()
358 PAGE_KERNEL); in vzalloc()
398 # define PAGE_KERNEL_EXEC PAGE_KERNEL
427 return __vmalloc(size, GFP_KERNEL, PAGE_KERNEL); in vmalloc_32()
Dpercpu-vm.c195 PAGE_KERNEL, pages); in __pcpu_map_pages()
Dzsmalloc.c1055 BUG_ON(map_vm_area(area->vm, PAGE_KERNEL, pages)); in __zs_map_object()
Dpage_alloc.c6393 table = __vmalloc(size, GFP_ATOMIC, PAGE_KERNEL); in alloc_large_system_hash()
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c32 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_map()
/linux-4.4.14/arch/sh/kernel/
Dsetup.c231 PAGE_KERNEL); in __add_active_range()
/linux-4.4.14/arch/ia64/kernel/
Dmca_asm.S175 movl r18=PAGE_KERNEL
213 movl r20=PAGE_KERNEL
876 movl r21=PAGE_KERNEL // page properties
1050 movl r21=PAGE_KERNEL // page properties
Dmca.c1878 pte_val(mk_pte_phys(__pa(cpu_data), PAGE_KERNEL))); in ia64_mca_cpu_init()
1890 PAGE_KERNEL))); in ia64_mca_cpu_init()
Divt.S340 movl r17=PAGE_KERNEL
378 movl r17=PAGE_KERNEL
Dhead.S243 movl r18=PAGE_KERNEL
318 movl r17=PAGE_KERNEL
Defi.c465 pte_val(pfn_pte(__pa(pal_vaddr) >> PAGE_SHIFT, PAGE_KERNEL)), in efi_map_pal_code()
Dentry.S207 movl r25=PAGE_KERNEL
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_gem.c174 obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL); in udl_gem_vmap()
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c1667 PAGE_KERNEL, use_huge); in kernel_physical_mapping_init()
1688 (enable ? PAGE_KERNEL : __pgprot(0)), false); in __kernel_map_pages()
2376 pgprot_t PAGE_KERNEL __read_mostly;
2377 EXPORT_SYMBOL(PAGE_KERNEL);
2490 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2543 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4V | _PAGE_VALID | in sun4v_pgprot_init()
2547 PAGE_KERNEL_LOCKED = PAGE_KERNEL; in sun4v_pgprot_init()
/linux-4.4.14/fs/pstore/
Dram_core.c397 prot = pgprot_noncached(PAGE_KERNEL); in persistent_ram_vmap()
399 prot = pgprot_writecombine(PAGE_KERNEL); in persistent_ram_vmap()
/linux-4.4.14/arch/mips/kernel/
Dmodule.c50 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_alloc()
/linux-4.4.14/arch/nios2/include/asm/
Dpgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ macro
/linux-4.4.14/arch/x86/mm/
Dinit_32.c348 pgprot_t prot = PAGE_KERNEL; in kernel_physical_mapping_init()
409 kmap_prot = PAGE_KERNEL; in kmap_init()
Dinit_64.c435 pte, addr, pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL).pte); in phys_pte_init()
532 pgprot_t prot = PAGE_KERNEL; in phys_pud_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c149 return vmap(pages, npages, VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in gk20a_instobj_cpu_map_dma()
163 pgprot_writecombine(PAGE_KERNEL)); in gk20a_instobj_cpu_map_iommu()
/linux-4.4.14/arch/microblaze/mm/
Dinit.c71 kmap_prot = PAGE_KERNEL; in highmem_init()
/linux-4.4.14/arch/unicore32/include/asm/
Dpgtable.h100 #define PAGE_KERNEL pgprot_kernel macro
/linux-4.4.14/arch/score/include/asm/
Dpgtable.h128 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ macro
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_dmabuf.c142 obj->dma_buf_vmapping = vmap(pages, i, 0, PAGE_KERNEL); in i915_gem_dmabuf_vmap()
Di915_cmd_parser.c882 addr = vmap(pages, i, 0, PAGE_KERNEL); in vmap_batch()
/linux-4.4.14/arch/hexagon/include/asm/
Dpgtable.h131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ macro
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c103 VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in exynos_drm_fbdev_update()
/linux-4.4.14/arch/avr32/include/asm/
Dpgtable.h142 #define PAGE_KERNEL _PAGE_NORMAL(_PAGE_FLAGS_WRITE | _PAGE_EXECUTE | _PAGE_GLOBAL) macro
/linux-4.4.14/arch/um/include/asm/
Dpgtable.h64 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) macro
/linux-4.4.14/arch/metag/kernel/
Ddma.c244 (PAGE_KERNEL))); in dma_alloc_coherent()
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_32.h54 #define PAGE_KERNEL SRMMU_PAGE_KERNEL macro
Dpgtable_64.h216 extern pgprot_t PAGE_KERNEL;
/linux-4.4.14/arch/alpha/include/asm/
Dpgtable.h104 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) macro
/linux-4.4.14/kernel/bpf/
Dcore.c81 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_alloc()
114 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_realloc()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-vmalloc.c106 PAGE_KERNEL); in vb2_vmalloc_get_userptr()
Dvideobuf-dma-sg.c238 PAGE_KERNEL); in videobuf_dma_init_kernel()
Dvideobuf2-dma-sg.c324 buf->num_pages, -1, PAGE_KERNEL); in vb2_dma_sg_vaddr()
/linux-4.4.14/fs/gfs2/
Ddir.c361 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table()
1133 hc2 = __vmalloc(hsize_bytes * 2, GFP_NOFS, PAGE_KERNEL); in dir_double_exhash()
1294 ptr = __vmalloc(size, GFP_NOFS, PAGE_KERNEL); in gfs2_alloc_sort_buffer()
1905 PAGE_KERNEL); in leaf_dealloc()
Dquota.c1323 __GFP_ZERO, PAGE_KERNEL); in gfs2_quota_init()
/linux-4.4.14/drivers/gpu/drm/tegra/
Dfb.c259 pgprot_writecombine(PAGE_KERNEL)); in tegra_fbdev_probe()
/linux-4.4.14/drivers/mtd/ubi/
Dio.c1344 buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in self_check_write()
1408 buf = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in ubi_self_check_all_ff()
/linux-4.4.14/arch/s390/kernel/
Dmodule.c48 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_alloc()
/linux-4.4.14/drivers/hv/
Dhv.c243 va_tsc = __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL); in hv_init()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_buf.c28 #define COMEDI_PAGE_PROTECTION PAGE_KERNEL
/linux-4.4.14/drivers/xen/
Dballoon.c467 mfn_pte(frame_list[i], PAGE_KERNEL), in increase_reservation()
/linux-4.4.14/arch/mn10300/include/asm/
Dpgtable.h179 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) macro
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dsrq.c177 GFP_KERNEL, PAGE_KERNEL); in mlx4_ib_create_srq()
Dqp.c802 gfp, PAGE_KERNEL); in create_qp_common()
806 gfp, PAGE_KERNEL); in create_qp_common()
/linux-4.4.14/arch/ia64/include/asm/
Dpgtable.h143 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX) macro
/linux-4.4.14/arch/parisc/include/asm/
Dpgtable.h239 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) macro
/linux-4.4.14/net/ceph/
Dceph_common.c190 return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL); in ceph_kvmalloc()
/linux-4.4.14/fs/nfs/blocklayout/
Dextent_tree.c548 start_p = __vmalloc(buffer_size, GFP_NOFS, PAGE_KERNEL); in ext_tree_prepare_commit()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib.c293 addr = vmap(pages, niov, VM_MAP, PAGE_KERNEL); in ksocknal_lib_kiov_vmap()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_client.c661 PAGE_KERNEL); in xenbus_map_ring_valloc_hvm()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_gem.c397 VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in msm_gem_vaddr_locked()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_qp.c1034 gfp, PAGE_KERNEL); in qib_create_qp()
1079 gfp, PAGE_KERNEL); in qib_create_qp()
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable.h84 #define PAGE_KERNEL __pgprot(_PAGE_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE) macro
/linux-4.4.14/fs/ubifs/
Dorphan.c888 buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in dbg_scan_orphans()
Dlpt_commit.c1639 buf = p = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in dbg_check_ltab_lnum()
1888 buf = p = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in dump_lpt_leb()
Dlprops.c1094 buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in scan_check_cb()
Ddebug.c820 buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in ubifs_dump_leb()
/linux-4.4.14/drivers/misc/
Dvmw_balloon.c998 b->batch_page = vmap(&b->page, 1, VM_MAP, PAGE_KERNEL); in vmballoon_init_batching()
/linux-4.4.14/drivers/acpi/apei/
Dghes.c153 pfn << PAGE_SHIFT, PAGE_KERNEL); in ghes_ioremap_pfn_nmi()
/linux-4.4.14/fs/f2fs/
Df2fs.h1620 ret = __vmalloc(size, flags, PAGE_KERNEL); in f2fs_kvmalloc()
1630 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); in f2fs_kvzalloc()
/linux-4.4.14/kernel/
Drelay.c141 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf()
Dmodule.c2693 GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, PAGE_KERNEL); in copy_module_from_user()
/linux-4.4.14/arch/powerpc/kvm/
De500_mmu.c796 virt = vmap(pages, num_pages, VM_MAP, PAGE_KERNEL); in kvm_vcpu_ioctl_config_tlb()
/linux-4.4.14/drivers/base/
Dfirmware_class.c613 #define PAGE_KERNEL_RO PAGE_KERNEL
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_gem.c941 VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in omap_gem_vaddr()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_bitmap.c401 PAGE_KERNEL); in bm_realloc_pages()
/linux-4.4.14/arch/s390/include/asm/
Dpgtable.h359 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ macro
/linux-4.4.14/drivers/md/
Ddm-bufio.c402 ptr = __vmalloc(c->block_size, gfp_mask | __GFP_HIGHMEM, PAGE_KERNEL); in alloc_buffer_data()
Ddm-ioctl.c1725 …malloc(param_kernel->data_size, GFP_NOIO | __GFP_REPEAT | __GFP_HIGH | __GFP_HIGHMEM, PAGE_KERNEL); in copy_params()
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1115 GFP_NOIO, PAGE_KERNEL); in ipoib_cm_tx_init()
/linux-4.4.14/drivers/target/
Dtarget_core_transport.c2260 cmd->t_data_vmap = vmap(pages, cmd->t_data_nents, VM_MAP, PAGE_KERNEL); in transport_kmap_data_sg()
/linux-4.4.14/fs/ext4/
Dsuper.c156 ret = __vmalloc(size, flags, PAGE_KERNEL); in ext4_kvmalloc()
166 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); in ext4_kvzalloc()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c848 produce_q->q_header = vmap(headers, 2, VM_MAP, PAGE_KERNEL); in qp_host_map_queues()
/linux-4.4.14/drivers/pci/
Dpci.c3047 pgprot_device(PAGE_KERNEL)); in pci_remap_iospace()
/linux-4.4.14/drivers/firewire/
Dohci.c1015 ctx->buffer = vmap(pages, ARRAY_SIZE(pages), VM_MAP, PAGE_KERNEL); in ar_context_init()
/linux-4.4.14/drivers/android/
Dbinder.c603 PAGE_SIZE, PAGE_KERNEL, page); in binder_update_page_range()