Home
last modified time | relevance | path

Searched refs:__GFP_HIGHMEM (Results 1 – 90 of 90) sorted by relevance

/linux-4.1.27/fs/ntfs/
Dmalloc.h47 return kmalloc(PAGE_SIZE, gfp_mask & ~__GFP_HIGHMEM); in __ntfs_malloc()
66 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM); in ntfs_malloc_nofs()
83 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOFAIL); in ntfs_malloc_nofs_nofail()
/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/include/linux/
Dgfp.h50 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) macro
53 #define GFP_ZONEMASK (__GFP_DMA|__GFP_HIGHMEM|__GFP_DMA32|__GFP_MOVABLE)
117 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
139 #define GFP_SLAB_BUG_MASK (__GFP_DMA32|__GFP_HIGHMEM|~__GFP_BITS_MASK)
Df2fs_fs.h41 #define GFP_F2FS_HIGH_ZERO (GFP_NOFS | __GFP_ZERO | __GFP_HIGHMEM)
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dicm.c136 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mlx4_alloc_icm()
139 gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN), in mlx4_alloc_icm()
143 gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mlx4_alloc_icm()
156 gfp_mask & ~(__GFP_HIGHMEM | in mlx4_alloc_icm()
161 gfp_mask & ~(__GFP_HIGHMEM | in mlx4_alloc_icm()
/linux-4.1.27/arch/cris/arch-v32/drivers/pci/
Ddma.c25 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.1.27/drivers/block/zram/
Dzcomp_lz4.c35 __GFP_ZERO | __GFP_HIGHMEM, in zcomp_lz4_create()
Dzcomp_lzo.c35 __GFP_ZERO | __GFP_HIGHMEM, in lzo_create()
Dzram_drv.c383 meta->mem_pool = zs_create_pool(pool_name, GFP_NOIO | __GFP_HIGHMEM); in zram_meta_alloc()
/linux-4.1.27/tools/include/linux/
Dtypes.h17 __GFP_HIGHMEM, enumerator
/linux-4.1.27/arch/mn10300/mm/
Ddma-alloc.c41 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
Dpgtable.c77 pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT, 0); in pte_alloc_one()
/linux-4.1.27/arch/xtensa/kernel/
Dpci-dma.c41 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.1.27/arch/mips/netlogic/common/
Dnlm-dma.c56 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in nlm_dma_alloc_coherent()
/linux-4.1.27/fs/nilfs2/
Dmdt.h75 #define NILFS_MDT_GFP (__GFP_WAIT | __GFP_IO | __GFP_HIGHMEM)
Dbtnode.c191 err = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in nilfs_btnode_prepare_change_key()
/linux-4.1.27/mm/
Dkmemcheck.c105 if (gfpflags & (__GFP_HIGHMEM | __GFP_NOTRACK)) in kmemcheck_pagealloc_alloc()
Dvmpressure.c227 if (!(gfp & (__GFP_HIGHMEM | __GFP_MOVABLE | __GFP_IO | __GFP_FS))) in vmpressure()
Dvmalloc.c1593 pages = __vmalloc_node(array_size, 1, nested_gfp|__GFP_HIGHMEM, in __vmalloc_area_node()
1744 GFP_KERNEL | __GFP_HIGHMEM); in vmalloc()
1761 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc()
1778 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
1802 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL, in vmalloc_node()
1822 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc_node()
1844 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL_EXEC, in vmalloc_exec()
Dnommu.c286 return kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM); in __vmalloc()
294 ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
355 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in vmalloc()
373 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vzalloc()
431 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL_EXEC); in vmalloc_exec()
Dpercpu-vm.c85 const gfp_t gfp = GFP_KERNEL | __GFP_HIGHMEM | __GFP_COLD; in pcpu_alloc_pages()
Dpage_isolation.c311 gfp_mask |= __GFP_HIGHMEM; in alloc_migrate_target()
Dzbud.c346 if (!size || (gfp & __GFP_HIGHMEM)) in zbud_alloc()
Dfilemap.c469 error = radix_tree_preload(gfp_mask & ~__GFP_HIGHMEM); in replace_page_cache_page()
562 error = radix_tree_maybe_preload(gfp_mask & ~__GFP_HIGHMEM); in __add_to_page_cache_locked()
Dpage_alloc.c392 VM_BUG_ON((gfp_flags & __GFP_HIGHMEM) && in_interrupt()); in prep_zero_page()
1823 if (fail_page_alloc.ignore_gfp_highmem && (gfp_mask & __GFP_HIGHMEM)) in should_fail_alloc_page()
2960 VM_BUG_ON((gfp_mask & __GFP_HIGHMEM) != 0); in __get_free_pages()
Dzsmalloc.c299 pool->flags & ~__GFP_HIGHMEM); in alloc_handle()
Dvmscan.c2470 sc->gfp_mask |= __GFP_HIGHMEM; in shrink_zones()
Dswapfile.c2754 page = alloc_page(gfp_mask | __GFP_HIGHMEM); in add_swap_count_continuation()
/linux-4.1.27/fs/xfs/
Dkmem.c86 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
/linux-4.1.27/arch/frv/mm/
Dpgalloc.c36 page = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT, 0); in pte_alloc_one()
/linux-4.1.27/arch/tile/mm/
Dhomecache.c388 BUG_ON(gfp_mask & __GFP_HIGHMEM); /* must be lowmem */ in homecache_alloc_pages()
400 BUG_ON(gfp_mask & __GFP_HIGHMEM); /* must be lowmem */ in homecache_alloc_pages_node()
/linux-4.1.27/arch/arm/include/asm/
Dpgalloc.h101 pte = alloc_pages(PGALLOC_GFP | __GFP_HIGHMEM, 0); in pte_alloc_one()
/linux-4.1.27/net/rds/
Dpage.c105 gfp |= __GFP_HIGHMEM; in rds_page_remainder_alloc()
/linux-4.1.27/fs/btrfs/
Dlzo.c126 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in lzo_compress_pages()
196 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in lzo_compress_pages()
Dzlib.c109 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in zlib_compress_pages()
151 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in zlib_compress_pages()
Draid56.c1010 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_pages()
1030 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_parity_pages()
2266 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_essential_pages()
2344 p_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
2350 q_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
Dcompression.c634 __GFP_HIGHMEM); in btrfs_submit_compressed_read()
Ddelayed-inode.c143 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in btrfs_get_or_create_delayed_node()
Dextent_io.c4869 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in alloc_test_extent_buffer()
4970 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in alloc_extent_buffer()
Dfree-space-cache.c89 ~(__GFP_FS | __GFP_HIGHMEM)); in __lookup_free_space_inode()
Ddisk-io.c1619 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in btrfs_insert_fs_root()
/linux-4.1.27/arch/microblaze/include/asm/
Dpgalloc.h119 int flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT; in pte_alloc_one()
/linux-4.1.27/arch/mips/loongson/common/
Ddma-swiotlb.c21 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in loongson_dma_alloc_coherent()
/linux-4.1.27/arch/x86/mm/
Dpgtable.c12 #define PGALLOC_USER_GFP __GFP_HIGHMEM
48 __userpte_alloc_gfp &= ~__GFP_HIGHMEM; in setup_userpte()
/linux-4.1.27/drivers/staging/android/ion/
Dion_page_pool.c125 high = !!(gfp_mask & __GFP_HIGHMEM); in ion_page_pool_shrink()
/linux-4.1.27/arch/m68k/kernel/
Ddma.c80 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.1.27/arch/tile/kernel/
Dmodule.c50 pages[i] = alloc_page(GFP_KERNEL | __GFP_HIGHMEM); in module_alloc()
/linux-4.1.27/arch/x86/include/asm/
Ddma-mapping.h137 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in dma_alloc_attrs()
/linux-4.1.27/arch/nios2/mm/
Ddma-mapping.c30 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.1.27/arch/microblaze/kernel/
Ddma.c30 flag &= ~(__GFP_HIGHMEM); in dma_direct_alloc_coherent()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_memfree.c146 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mthca_alloc_icm()
148 icm = kmalloc(sizeof *icm, gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mthca_alloc_icm()
160 gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mthca_alloc_icm()
/linux-4.1.27/arch/x86/kernel/
Dmodule.c87 MODULES_END, GFP_KERNEL | __GFP_HIGHMEM, in module_alloc()
Damd_gart_64.c487 flag &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in gart_alloc_coherent()
Dpci-calgary_64.c446 flag &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in calgary_alloc_coherent()
/linux-4.1.27/arch/powerpc/kernel/
Ddma.c86 flag &= ~(__GFP_HIGHMEM); in dma_direct_alloc_coherent()
/linux-4.1.27/arch/powerpc/mm/
Ddma-noncoherent.c216 gfp & ~(__GFP_DMA | __GFP_HIGHMEM)); in __dma_alloc_coherent()
/linux-4.1.27/kernel/bpf/
Dcore.c73 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_alloc()
99 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_realloc()
/linux-4.1.27/arch/mips/cavium-octeon/
Ddma-octeon.c168 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in octeon_dma_alloc_coherent()
/linux-4.1.27/arch/metag/kernel/
Ddma.c223 gfp & ~(__GFP_DMA | __GFP_HIGHMEM)); in dma_alloc_coherent()
/linux-4.1.27/kernel/power/
Dsnapshot.c1418 return preallocate_image_pages(nr_pages, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_image_highmem()
1437 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_highmem_fraction()
1782 page = alloc_image_page(__GFP_HIGHMEM); in alloc_highmem_pages()
2189 page = alloc_page(__GFP_HIGHMEM); in prepare_highmem_image()
/linux-4.1.27/arch/mips/mm/
Ddma-default.c83 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in massage_gfp_flags()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_bitmap.c400 GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO, in bm_realloc_pages()
411 page = alloc_page(GFP_NOIO | __GFP_HIGHMEM); in bm_realloc_pages()
1019 page = mempool_alloc(drbd_md_io_page_pool, __GFP_HIGHMEM|__GFP_WAIT); in bm_page_io_async()
Ddrbd_worker.c389 #define GFP_TRY (__GFP_HIGHMEM | __GFP_NOWARN)
Ddrbd_receiver.c74 #define GFP_TRY (__GFP_HIGHMEM | __GFP_NOWARN)
352 peer_req = mempool_alloc(drbd_ee_mempool, gfp_mask & ~__GFP_HIGHMEM); in drbd_alloc_peer_req()
/linux-4.1.27/mm/kasan/
Dkasan.c428 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in kasan_module_alloc()
/linux-4.1.27/drivers/misc/
Dvmw_balloon.c91 #define VMW_PAGE_ALLOC_NOSLEEP (__GFP_HIGHMEM|__GFP_NOWARN)
/linux-4.1.27/Documentation/vm/
Dhighmem.txt93 (see __GFP_HIGHMEM), for example a page in the pagecache. The API has two
/linux-4.1.27/drivers/block/
Dbrd.c107 gfp_flags |= __GFP_HIGHMEM; in brd_insert_page()
/linux-4.1.27/drivers/xen/
Dswiotlb-xen.c312 flags &= ~(__GFP_DMA | __GFP_HIGHMEM); in xen_swiotlb_alloc_coherent()
/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/powerpc/platforms/ps3/
Dsystem-bus.c525 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in ps3_alloc_coherent()
/linux-4.1.27/drivers/virtio/
Dvirtio_ring.c112 gfp &= ~(__GFP_HIGHMEM | __GFP_HIGH); in alloc_indirect()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_bulk.c423 __GFP_HIGHMEM); in enc_pools_add_pages()
/linux-4.1.27/arch/parisc/kernel/
Dmodule.c221 GFP_KERNEL | __GFP_HIGHMEM, in module_alloc()
/linux-4.1.27/fs/fscache/
Dpage.c953 ret = radix_tree_maybe_preload(gfp & ~__GFP_HIGHMEM); in __fscache_write_page()
/linux-4.1.27/include/sound/
Dpcm.h1180 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_buffer()
/linux-4.1.27/fs/fuse/
Dfile.c1622 tmp_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in fuse_writepage_locked()
1809 tmp_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in fuse_writepages_fill()
2509 pages[num_pages] = alloc_page(GFP_KERNEL | __GFP_HIGHMEM); in fuse_do_ioctl()
/linux-4.1.27/arch/x86/xen/
Denlighten.c1559 __userpte_alloc_gfp &= ~__GFP_HIGHMEM; in xen_start_kernel()
/linux-4.1.27/drivers/base/
Dfirmware_class.c771 alloc_page(GFP_KERNEL | __GFP_HIGHMEM); in fw_realloc_buffer()
/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 …dmi = __vmalloc(param_kernel->data_size, GFP_NOIO | __GFP_REPEAT | __GFP_HIGH | __GFP_HIGHMEM, PAG… in copy_params()
Ddm-crypt.c978 gfp_t gfp_mask = GFP_NOWAIT | __GFP_HIGHMEM; in crypt_alloc_buffer()
/linux-4.1.27/fs/cifs/
Dfile.c2357 pages[i] = alloc_page(GFP_KERNEL|__GFP_HIGHMEM); in cifs_write_allocate_pages()
2784 page = alloc_page(GFP_KERNEL|__GFP_HIGHMEM); in cifs_read_allocate_pages()
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c1150 gfp |= __GFP_NOWARN | __GFP_HIGHMEM; in __iommu_alloc_buffer()
/linux-4.1.27/kernel/
Dkexec.c1046 if (!(gfp_mask & __GFP_HIGHMEM) && in kimage_alloc_page()
Dmodule.c2538 GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, PAGE_KERNEL); in copy_module_from_user()
/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c2871 test->highmem = alloc_pages(GFP_KERNEL | __GFP_HIGHMEM, BUFFER_ORDER);
/linux-4.1.27/drivers/iommu/
Damd_iommu.c2938 flag &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in alloc_coherent()
/linux-4.1.27/drivers/android/
Dbinder.c596 *page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in binder_update_page_range()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem.c4413 mask &= ~__GFP_HIGHMEM; in i915_gem_alloc_object()