Home
last modified time | relevance | path

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

/linux-4.4.14/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.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/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.4.14/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.c517 meta->mem_pool = zs_create_pool(pool_name, GFP_NOIO | __GFP_HIGHMEM); in zram_meta_alloc()
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
Ddma.c25 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.4.14/include/linux/
Dgfp.h49 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) macro
53 #define GFP_ZONEMASK (__GFP_DMA|__GFP_HIGHMEM|__GFP_DMA32|__GFP_MOVABLE)
247 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
Df2fs_fs.h41 #define GFP_F2FS_HIGH_ZERO (GFP_NOFS | __GFP_ZERO | __GFP_HIGHMEM)
/linux-4.4.14/tools/include/linux/
Dtypes.h17 __GFP_HIGHMEM, enumerator
/linux-4.4.14/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.4.14/arch/mips/netlogic/common/
Dnlm-dma.c51 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in nlm_dma_alloc_coherent()
/linux-4.4.14/arch/h8300/kernel/
Ddma.c20 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc()
/linux-4.4.14/fs/nilfs2/
Dmdt.h75 #define NILFS_MDT_GFP (__GFP_RECLAIM | __GFP_IO | __GFP_HIGHMEM)
Dbtnode.c191 err = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in nilfs_btnode_prepare_change_key()
/linux-4.4.14/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.c1594 pages = __vmalloc_node(array_size, 1, nested_gfp|__GFP_HIGHMEM, in __vmalloc_area_node()
1745 GFP_KERNEL | __GFP_HIGHMEM); in vmalloc()
1762 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc()
1779 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
1803 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL, in vmalloc_node()
1823 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc_node()
1845 return __vmalloc_node(size, 1, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL_EXEC, in vmalloc_exec()
Dpage_isolation.c294 gfp_mask |= __GFP_HIGHMEM; in alloc_migrate_target()
Dnommu.c270 return kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM); in __vmalloc()
278 ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
339 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in vmalloc()
357 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vzalloc()
415 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()
Dinternal.h34 #define GFP_SLAB_BUG_MASK (__GFP_DMA32|__GFP_HIGHMEM|~__GFP_BITS_MASK)
Dzbud.c361 if (!size || (gfp & __GFP_HIGHMEM)) in zbud_alloc()
Dfilemap.c524 error = radix_tree_preload(gfp_mask & ~__GFP_HIGHMEM); in replace_page_cache_page()
626 error = radix_tree_maybe_preload(gfp_mask & ~__GFP_HIGHMEM); in __add_to_page_cache_locked()
Dzsmalloc.c302 pool->flags & ~__GFP_HIGHMEM); in alloc_handle()
Dpage_alloc.c2316 if (fail_page_alloc.ignore_gfp_highmem && (gfp_mask & __GFP_HIGHMEM)) in should_fail_alloc_page()
3288 VM_BUG_ON((gfp_mask & __GFP_HIGHMEM) != 0); in __get_free_pages()
Dvmscan.c2534 sc->gfp_mask |= __GFP_HIGHMEM; in shrink_zones()
Dswapfile.c2785 page = alloc_page(gfp_mask | __GFP_HIGHMEM); in add_swap_count_continuation()
/linux-4.4.14/fs/xfs/
Dkmem.c87 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
/linux-4.4.14/arch/frv/mm/
Dpgalloc.c36 page = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT, 0); in pte_alloc_one()
/linux-4.4.14/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.4.14/arch/arm/include/asm/
Dpgalloc.h101 pte = alloc_pages(PGALLOC_GFP | __GFP_HIGHMEM, 0); in pte_alloc_one()
/linux-4.4.14/net/rds/
Dpage.c105 gfp |= __GFP_HIGHMEM; in rds_page_remainder_alloc()
/linux-4.4.14/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.c1022 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_pages()
1042 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_parity_pages()
2280 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_essential_pages()
2359 p_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
2365 q_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
Dcompression.c630 __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.c4941 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in alloc_test_extent_buffer()
5042 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.c1627 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in btrfs_insert_fs_root()
/linux-4.4.14/arch/mips/loongson64/common/
Ddma-swiotlb.c18 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in loongson_dma_alloc_coherent()
/linux-4.4.14/arch/microblaze/include/asm/
Dpgalloc.h119 int flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_REPEAT; in pte_alloc_one()
/linux-4.4.14/drivers/staging/android/ion/
Dion_page_pool.c125 high = !!(gfp_mask & __GFP_HIGHMEM); in ion_page_pool_shrink()
/linux-4.4.14/arch/x86/mm/
Dpgtable.c12 #define PGALLOC_USER_GFP __GFP_HIGHMEM
48 __userpte_alloc_gfp &= ~__GFP_HIGHMEM; in setup_userpte()
/linux-4.4.14/arch/tile/kernel/
Dmodule.c50 pages[i] = alloc_page(GFP_KERNEL | __GFP_HIGHMEM); in module_alloc()
/linux-4.4.14/arch/nios2/mm/
Ddma-mapping.c30 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.4.14/arch/m68k/kernel/
Ddma.c80 gfp &= ~(__GFP_DMA | __GFP_HIGHMEM); in dma_alloc_coherent()
/linux-4.4.14/arch/microblaze/kernel/
Ddma.c30 flag &= ~(__GFP_HIGHMEM); in dma_direct_alloc_coherent()
/linux-4.4.14/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.4.14/arch/x86/kernel/
Dpci-dma.c137 *gfp &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in arch_dma_alloc_attrs()
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.4.14/arch/xtensa/kernel/
Dpci-dma.c152 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in xtensa_dma_alloc()
/linux-4.4.14/arch/mips/cavium-octeon/
Ddma-octeon.c165 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in octeon_dma_alloc_coherent()
/linux-4.4.14/arch/powerpc/mm/
Ddma-noncoherent.c216 gfp & ~(__GFP_DMA | __GFP_HIGHMEM)); in __dma_alloc_coherent()
/linux-4.4.14/arch/powerpc/kernel/
Ddma.c109 flag &= ~(__GFP_HIGHMEM); in __dma_direct_alloc_coherent()
/linux-4.4.14/arch/metag/kernel/
Ddma.c223 gfp & ~(__GFP_DMA | __GFP_HIGHMEM)); in dma_alloc_coherent()
/linux-4.4.14/kernel/bpf/
Dcore.c75 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_alloc()
104 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_realloc()
/linux-4.4.14/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|__GFP_KSWAPD_RECLAIM); in alloc_highmem_pages()
2189 page = alloc_page(__GFP_HIGHMEM); in prepare_highmem_image()
/linux-4.4.14/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()
1010 page = mempool_alloc(drbd_md_io_page_pool, __GFP_HIGHMEM|__GFP_RECLAIM); in bm_page_io_async()
Ddrbd_worker.c367 #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.4.14/arch/mips/mm/
Ddma-default.c83 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in massage_gfp_flags()
/linux-4.4.14/mm/kasan/
Dkasan.c442 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in kasan_module_alloc()
/linux-4.4.14/drivers/iommu/
Ddma-iommu.c207 gfp |= __GFP_NOWARN | __GFP_HIGHMEM; in __iommu_dma_alloc_pages()
Damd_iommu.c2731 flag &= ~(__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32); in alloc_coherent()
/linux-4.4.14/drivers/xen/
Dswiotlb-xen.c311 flags &= ~(__GFP_DMA | __GFP_HIGHMEM); in xen_swiotlb_alloc_coherent()
/linux-4.4.14/Documentation/vm/
Dhighmem.txt93 (see __GFP_HIGHMEM), for example a page in the pagecache. The API has two
/linux-4.4.14/drivers/block/
Dbrd.c107 gfp_flags |= __GFP_HIGHMEM; in brd_insert_page()
/linux-4.4.14/net/ceph/
Dceph_common.c190 return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL); in ceph_kvmalloc()
/linux-4.4.14/drivers/virtio/
Dvirtio_ring.c118 gfp &= ~__GFP_HIGHMEM; in alloc_indirect()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dsystem-bus.c525 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in ps3_alloc_coherent()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c221 GFP_KERNEL | __GFP_HIGHMEM, in module_alloc()
/linux-4.4.14/drivers/misc/
Dvmw_balloon.c81 #define VMW_PAGE_ALLOC_NOSLEEP (__GFP_HIGHMEM|__GFP_NOWARN)
/linux-4.4.14/fs/fscache/
Dpage.c953 ret = radix_tree_maybe_preload(gfp & ~__GFP_HIGHMEM); in __fscache_write_page()
/linux-4.4.14/kernel/
Dkexec_core.c688 if (!(gfp_mask & __GFP_HIGHMEM) && in kimage_alloc_page()
Dmodule.c2693 GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, PAGE_KERNEL); in copy_module_from_user()
/linux-4.4.14/fs/fuse/
Dfile.c1623 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.4.14/include/sound/
Dpcm.h1193 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_buffer()
/linux-4.4.14/arch/x86/xen/
Denlighten.c1570 __userpte_alloc_gfp &= ~__GFP_HIGHMEM; in xen_start_kernel()
/linux-4.4.14/drivers/base/
Dfirmware_class.c790 alloc_page(GFP_KERNEL | __GFP_HIGHMEM); in fw_realloc_buffer()
/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 …dmi = __vmalloc(param_kernel->data_size, GFP_NOIO | __GFP_REPEAT | __GFP_HIGH | __GFP_HIGHMEM, PAG… in copy_params()
Ddm-crypt.c992 gfp_t gfp_mask = GFP_NOWAIT | __GFP_HIGHMEM; in crypt_alloc_buffer()
/linux-4.4.14/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.4.14/arch/arm/mm/
Ddma-mapping.c1160 gfp |= __GFP_NOWARN | __GFP_HIGHMEM; in __iommu_alloc_buffer()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c2796 test->highmem = alloc_pages(GFP_KERNEL | __GFP_HIGHMEM, BUFFER_ORDER);
/linux-4.4.14/drivers/android/
Dbinder.c596 *page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in binder_update_page_range()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem.c4417 mask &= ~__GFP_HIGHMEM; in i915_gem_alloc_object()