Home
last modified time | relevance | path

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

/linux-4.1.27/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.c31 set_top_pte(to, pfn_pte(pfn, PAGE_KERNEL)); in flush_pfn_alias()
46 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.c349 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init()
568 __dma_remap(page, size, PAGE_KERNEL); in __free_from_contiguous()
670 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_dma_alloc()
683 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_coherent_dma_alloc()
1347 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_iommu_alloc_attrs()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/arm64/mm/
Dmmu.c315 end - start, PAGE_KERNEL); in __map_memblock()
318 end - start, PAGE_KERNEL); in __map_memblock()
323 PAGE_KERNEL); in __map_memblock()
332 PAGE_KERNEL); in __map_memblock()
405 PAGE_KERNEL); in fixup_executable()
413 PAGE_KERNEL); in fixup_executable()
432 PAGE_KERNEL); in fixup_init()
/linux-4.1.27/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.1.27/arch/mips/mm/
Dhighmem.c61 set_pte(kmap_pte-idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
112 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
Dinit.c128 return __kmap_pgprot(page, addr, PAGE_KERNEL); in kmap_coherent()
/linux-4.1.27/arch/metag/mm/
Dhighmem.c57 set_pte(kmap_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_atomic()
106 set_pte(kmap_pte - idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
/linux-4.1.27/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.1.27/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()
559 prot = ttm_io_prot(mem->placement, PAGE_KERNEL); in ttm_bo_kmap_ttm()
/linux-4.1.27/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.c283 mfn_pte(mfn, PAGE_KERNEL), 0)) { in xen_update_mem_tables()
325 set_pte_mfn(buf, mfn, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
344 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
480 set_pte_mfn(buf, xen_remap_mfn, PAGE_KERNEL); in xen_remap_memory()
509 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_remap_memory()
Dmmu.c915 pfn_pte(pfn, PAGE_KERNEL), in xen_unpin_page()
1613 __set_pfn_prot(pfn, PAGE_KERNEL); in xen_release_ptpage()
1785 set_page_prot_flags((void *)addr, PAGE_KERNEL, UVMF_INVLPG); in check_pt_base()
1790 set_page_prot_flags((void *)addr, PAGE_KERNEL, UVMF_INVLPG); in check_pt_base()
1935 set_page_prot(initial_page_table, PAGE_KERNEL); in xen_write_cr3_init()
1936 set_page_prot(initial_kernel_pmd, PAGE_KERNEL); in xen_write_cr3_init()
2003 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); in xen_set_fixmap()
2013 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); in xen_set_fixmap()
2227 mfn_pte(mfn, PAGE_KERNEL), flags); in xen_remap_exchanged_ptes()
Dp2m.c366 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list()
580 pfn_pte(PFN_DOWN(__pa(p2m)), PAGE_KERNEL)); in alloc_p2m()
Denlighten.c567 set_aliased_prot(ldt + i, PAGE_KERNEL); in xen_free_ldt()
/linux-4.1.27/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.1.27/fs/ntfs/
Dmalloc.h51 return __vmalloc(size, gfp_mask, PAGE_KERNEL); in __ntfs_malloc()
/linux-4.1.27/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.c620 pgprot_val(PAGE_KERNEL), mmu_linear_psize, in create_section_mapping()
743 prot = pgprot_val(PAGE_KERNEL); in htab_initialize()
1478 unsigned long mode = htab_convert_pte_flags(PAGE_KERNEL); in kernel_map_linear_page()
Dmem.c301 kmap_prot = PAGE_KERNEL; in paging_init()
Dpgtable_64.c178 flags |= pgprot_val(PAGE_KERNEL); in __ioremap_at()
/linux-4.1.27/arch/mips/include/asm/
Dhighmem.h58 #define kmap_prot PAGE_KERNEL
Dpgtable.h33 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ macro
/linux-4.1.27/arch/metag/include/asm/
Dhighmem.h32 #define kmap_prot PAGE_KERNEL
Dpgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ macro
/linux-4.1.27/drivers/block/zram/
Dzcomp_lz4.c36 PAGE_KERNEL); in zcomp_lz4_create()
Dzcomp_lzo.c36 PAGE_KERNEL); in lzo_create()
/linux-4.1.27/arch/m68k/include/asm/
Dpgtable_no.h29 #define PAGE_KERNEL __pgprot(0) macro
Dsun3_pgtable.h57 #define PAGE_KERNEL __pgprot(SUN3_PAGE_VALID \ macro
Dmotorola_pgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) macro
Dmcf_pgtable.h75 #define PAGE_KERNEL __pgprot(CF_PAGE_VALID \ macro
/linux-4.1.27/arch/m68k/sun3/
Ddvma.c32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
/linux-4.1.27/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.1.27/arch/sh/mm/
Dkmap.c48 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
Dnuma.c40 PAGE_KERNEL); in setup_bootmem_node()
/linux-4.1.27/arch/hexagon/kernel/
Dvdso.c41 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in vdso_init()
/linux-4.1.27/arch/c6x/include/asm/
Dpgtable.h42 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.1.27/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.1.27/arch/cris/include/arch-v10/arch/
Dmmu.h79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ macro
/linux-4.1.27/include/asm-generic/
Dfixmap.h47 #define FIXMAP_PAGE_NORMAL PAGE_KERNEL
/linux-4.1.27/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.1.27/arch/m32r/include/asm/
Dpgtable.h138 #define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL) macro
151 #define PAGE_KERNEL __pgprot(0) macro
/linux-4.1.27/arch/mips/kernel/
Dvdso.c48 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in init_vdso()
Dmodule.c50 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_alloc()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
Dmmu.h79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ macro
/linux-4.1.27/arch/blackfin/include/asm/
Dpgtable.h37 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.1.27/arch/ia64/mm/
Dioremap.c74 prot = PAGE_KERNEL; in ioremap()
Dinit.c470 PAGE_KERNEL)); in create_mem_map_page_table()
/linux-4.1.27/fs/xfs/
Dkmem.c86 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
Dxfs_buf.c409 -1, PAGE_KERNEL); in _xfs_buf_map_pages()
/linux-4.1.27/arch/m68k/mm/
Dsun3kmap.c36 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
/linux-4.1.27/arch/xtensa/include/asm/
Dpgtable.h166 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE) macro
182 # define PAGE_KERNEL __pgprot(0) macro
/linux-4.1.27/arch/openrisc/mm/
Dinit.c117 prot = PAGE_KERNEL; in map_ram()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c99 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.1.27/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.1.27/arch/powerpc/platforms/cell/spufs/
Dlscsa_alloc.c119 csa->lscsa = vmap(pgarray, n_4k, VM_USERMAP, PAGE_KERNEL); in spu_alloc_lscsa()
/linux-4.1.27/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.1.27/arch/m68k/sun3x/
Ddvma.c134 PAGE_KERNEL)); in dvma_map_cpu()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_85xx_cache_sram.c111 cache_sram->size, _PAGE_COHERENT | PAGE_KERNEL); in instantiate_cache_sram()
/linux-4.1.27/arch/powerpc/include/asm/
Dpte-common.h160 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW) macro
/linux-4.1.27/arch/tile/include/asm/
Dpgtable.h129 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) macro
133 #define page_to_kpgprot(p) PAGE_KERNEL
/linux-4.1.27/arch/parisc/mm/
Dinit.c533 PAGE_KERNEL, 1); in free_initmem()
719 size, PAGE_KERNEL, 0); in pagetable_init()
726 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/linux-4.1.27/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.1.27/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.1.27/mm/
Dvmalloc.c1594 PAGE_KERNEL, node, area->caller); in __vmalloc_area_node()
1728 return __vmalloc_node(size, 1, flags, PAGE_KERNEL, in __vmalloc_node_flags()
1779 PAGE_KERNEL, NUMA_NO_NODE, in vmalloc_user()
1802 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL, in vmalloc_node()
1827 # define PAGE_KERNEL_EXEC PAGE_KERNEL
1865 return __vmalloc_node(size, 1, GFP_VMALLOC32, PAGE_KERNEL, in vmalloc_32()
1882 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.c295 PAGE_KERNEL); in vmalloc_user()
355 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in vmalloc()
374 PAGE_KERNEL); in vzalloc()
414 # define PAGE_KERNEL_EXEC PAGE_KERNEL
443 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.c6126 table = __vmalloc(size, GFP_ATOMIC, PAGE_KERNEL); in alloc_large_system_hash()
/linux-4.1.27/arch/sparc/kernel/
Dmodule.c32 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_map()
/linux-4.1.27/arch/sh/kernel/
Dsetup.c231 PAGE_KERNEL); in __add_active_range()
/linux-4.1.27/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.S244 movl r18=PAGE_KERNEL
319 movl r17=PAGE_KERNEL
Defi.c465 pte_val(pfn_pte(__pa(pal_vaddr) >> PAGE_SHIFT, PAGE_KERNEL)), in efi_map_pal_code()
Dentry.S209 movl r25=PAGE_KERNEL
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_gem.c174 obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL); in udl_gem_vmap()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c1610 PAGE_KERNEL, use_huge); in kernel_physical_mapping_init()
1631 (enable ? PAGE_KERNEL : __pgprot(0)), false); in __kernel_map_pages()
2317 pgprot_t PAGE_KERNEL __read_mostly;
2318 EXPORT_SYMBOL(PAGE_KERNEL);
2431 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2484 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4V | _PAGE_VALID | in sun4v_pgprot_init()
2488 PAGE_KERNEL_LOCKED = PAGE_KERNEL; in sun4v_pgprot_init()
/linux-4.1.27/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.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c100 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); in mlx5_buf_alloc()
/linux-4.1.27/arch/nios2/include/asm/
Dpgtable.h65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ macro
/linux-4.1.27/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.1.27/arch/unicore32/include/asm/
Dpgtable.h100 #define PAGE_KERNEL pgprot_kernel macro
/linux-4.1.27/arch/arm64/kernel/
Defi.c264 prot = PAGE_KERNEL; in efi_virtmap_init()
/linux-4.1.27/arch/microblaze/mm/
Dinit.c71 kmap_prot = PAGE_KERNEL; in highmem_init()
/linux-4.1.27/arch/arc/include/asm/
Dpgtable.h115 #define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_DEF_CACHEABLE) macro
/linux-4.1.27/arch/score/include/asm/
Dpgtable.h128 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ macro
/linux-4.1.27/arch/hexagon/include/asm/
Dpgtable.h131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ macro
/linux-4.1.27/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.c845 addr = vmap(pages, i, 0, PAGE_KERNEL); in vmap_batch()
/linux-4.1.27/arch/avr32/include/asm/
Dpgtable.h142 #define PAGE_KERNEL _PAGE_NORMAL(_PAGE_FLAGS_WRITE | _PAGE_EXECUTE | _PAGE_GLOBAL) macro
/linux-4.1.27/kernel/bpf/
Dcore.c79 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_alloc()
109 fp = __vmalloc(size, gfp_flags, PAGE_KERNEL); in bpf_prog_realloc()
/linux-4.1.27/arch/um/include/asm/
Dpgtable.h64 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) macro
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c102 pgprot_writecombine(PAGE_KERNEL)); in exynos_drm_fbdev_update()
/linux-4.1.27/arch/sparc/include/asm/
Dpgtable_32.h54 #define PAGE_KERNEL SRMMU_PAGE_KERNEL macro
Dpgtable_64.h216 extern pgprot_t PAGE_KERNEL;
/linux-4.1.27/arch/metag/kernel/
Ddma.c244 (PAGE_KERNEL))); in dma_alloc_coherent()
/linux-4.1.27/arch/alpha/include/asm/
Dpgtable.h104 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) macro
/linux-4.1.27/arch/x86/include/asm/
Dpgtable_types.h159 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) macro
/linux-4.1.27/fs/gfs2/
Ddir.c361 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table()
1128 hc2 = __vmalloc(hsize_bytes * 2, GFP_NOFS, PAGE_KERNEL); in dir_double_exhash()
1289 ptr = __vmalloc(size, GFP_NOFS, PAGE_KERNEL); in gfs2_alloc_sort_buffer()
1900 PAGE_KERNEL); in leaf_dealloc()
Dquota.c1279 __GFP_ZERO, PAGE_KERNEL); in gfs2_quota_init()
/linux-4.1.27/mm/kasan/
Dkasan.c429 PAGE_KERNEL, VM_NO_GUARD, NUMA_NO_NODE, in kasan_module_alloc()
/linux-4.1.27/drivers/xen/
Dballoon.c380 mfn_pte(frame_list[i], PAGE_KERNEL), in increase_reservation()
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-vmalloc.c120 PAGE_KERNEL); in vb2_vmalloc_get_userptr()
Dvideobuf-dma-sg.c238 PAGE_KERNEL); in videobuf_dma_init_kernel()
Dvideobuf2-dma-sg.c380 buf->num_pages, -1, PAGE_KERNEL); in vb2_dma_sg_vaddr()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dfb.c265 pgprot_writecombine(PAGE_KERNEL)); in tegra_fbdev_probe()
/linux-4.1.27/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.1.27/drivers/acpi/apei/
Dghes.c157 pfn << PAGE_SHIFT, PAGE_KERNEL); in ghes_ioremap_pfn_nmi()
168 pfn << PAGE_SHIFT, PAGE_KERNEL); in ghes_ioremap_pfn_irq()
/linux-4.1.27/arch/s390/kernel/
Dmodule.c48 GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE, in module_alloc()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi_buf.c28 #define COMEDI_PAGE_PROTECTION PAGE_KERNEL
/linux-4.1.27/arch/mn10300/include/asm/
Dpgtable.h179 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) macro
/linux-4.1.27/arch/parisc/include/asm/
Dpgtable.h234 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) macro
/linux-4.1.27/arch/ia64/include/asm/
Dpgtable.h143 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX) macro
/linux-4.1.27/net/ceph/
Dceph_common.c184 return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL); in ceph_kvmalloc()
/linux-4.1.27/arch/arm64/include/asm/
Dpgtable.h76 #define PAGE_KERNEL __pgprot(_PAGE_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE) macro
/linux-4.1.27/fs/nfs/blocklayout/
Dextent_tree.c542 start_p = __vmalloc(buffer_size, GFP_NOFS, PAGE_KERNEL); in ext_tree_prepare_commit()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gem.c397 VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in msm_gem_vaddr_locked()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_client.c636 PAGE_KERNEL); in xenbus_map_ring_valloc_hvm()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib-linux.c296 addr = vmap(pages, niov, VM_MAP, PAGE_KERNEL); in ksocknal_lib_kiov_vmap()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_qp.c1034 gfp, PAGE_KERNEL); in qib_create_qp()
1079 gfp, PAGE_KERNEL); in qib_create_qp()
/linux-4.1.27/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.1.27/arch/powerpc/kvm/
De500_mmu.c796 virt = vmap(pages, num_pages, VM_MAP, PAGE_KERNEL); in kvm_vcpu_ioctl_config_tlb()
/linux-4.1.27/kernel/
Drelay.c144 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf()
Dmodule.c2538 GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, PAGE_KERNEL); in copy_module_from_user()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_gem.c943 VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in omap_gem_vaddr()
/linux-4.1.27/drivers/base/
Dfirmware_class.c594 #define PAGE_KERNEL_RO PAGE_KERNEL
/linux-4.1.27/arch/s390/include/asm/
Dpgtable.h347 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ macro
/linux-4.1.27/drivers/block/drbd/
Ddrbd_bitmap.c401 PAGE_KERNEL); in bm_realloc_pages()
/linux-4.1.27/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.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1118 GFP_NOIO, PAGE_KERNEL); in ipoib_cm_tx_init()
/linux-4.1.27/drivers/target/
Dtarget_core_transport.c2258 cmd->t_data_vmap = vmap(pages, cmd->t_data_nents, VM_MAP, PAGE_KERNEL); in transport_kmap_data_sg()
/linux-4.1.27/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.1.27/fs/ext4/
Dsuper.c164 ret = __vmalloc(size, flags, PAGE_KERNEL); in ext4_kvmalloc()
174 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); in ext4_kvzalloc()
/linux-4.1.27/drivers/pci/
Dpci.c2762 pgprot_device(PAGE_KERNEL)); in pci_remap_iospace()
/linux-4.1.27/drivers/firewire/
Dohci.c1015 ctx->buffer = vmap(pages, ARRAY_SIZE(pages), VM_MAP, PAGE_KERNEL); in ar_context_init()
/linux-4.1.27/drivers/android/
Dbinder.c603 PAGE_SIZE, PAGE_KERNEL, page); in binder_update_page_range()