Home
last modified time | relevance | path

Searched refs:__GFP_DIRECT_RECLAIM (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/tools/testing/radix-tree/linux/
Dgfp.h17 #define __GFP_DIRECT_RECLAIM 0x400000u macro
20 #define __GFP_RECLAIM (__GFP_DIRECT_RECLAIM|__GFP_KSWAPD_RECLAIM)
30 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
/Linux-v4.19/tools/testing/radix-tree/
Dlinux.c32 if (!(flags & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc()
78 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
/Linux-v4.19/include/linux/
Dgfp.h193 #define __GFP_DIRECT_RECLAIM ((__force gfp_t)___GFP_DIRECT_RECLAIM) /* Caller can reclaim */ macro
302 #define GFP_TRANSHUGE (GFP_TRANSHUGE_LIGHT | __GFP_DIRECT_RECLAIM)
325 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
/Linux-v4.19/mm/
Dmempool.c375 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in mempool_alloc()
381 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc()
414 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in mempool_alloc()
Dpage_alloc.c3054 (gfp_mask & __GFP_DIRECT_RECLAIM)) in should_fail_alloc_page()
3400 if (in_interrupt() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()
3483 ~__GFP_DIRECT_RECLAIM, order, in __alloc_pages_may_oom()
3709 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) in __need_fs_reclaim()
4046 bool can_direct_reclaim = gfp_mask & __GFP_DIRECT_RECLAIM; in __alloc_pages_slowpath()
4073 if (WARN_ON_ONCE((gfp_mask & (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM)) == in __alloc_pages_slowpath()
4074 (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM))) in __alloc_pages_slowpath()
4324 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in prepare_alloc_pages()
Dhuge_memory.c641 return GFP_TRANSHUGE_LIGHT | (vma_madvised ? __GFP_DIRECT_RECLAIM : in alloc_hugepage_direct_gfpmask()
644 return GFP_TRANSHUGE_LIGHT | (vma_madvised ? __GFP_DIRECT_RECLAIM : in alloc_hugepage_direct_gfpmask()
Dvmscan.c3844 if (!(gfp_flags & __GFP_DIRECT_RECLAIM)) in wakeup_kswapd()
Dmemcontrol.c4640 ret = try_charge(mc.to, GFP_KERNEL & ~__GFP_DIRECT_RECLAIM, count); in mem_cgroup_do_precharge()
Dslub.c1580 if ((alloc_gfp & __GFP_DIRECT_RECLAIM) && oo_order(oo) > oo_order(s->min)) in allocate_slab()
/Linux-v4.19/include/trace/events/
Dmmflags.h50 {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\
/Linux-v4.19/block/
Dbio.c221 gfp_t __gfp_mask = gfp_mask & ~(__GFP_DIRECT_RECLAIM | __GFP_IO); in bvec_alloc()
235 if (unlikely(!bvl && (gfp_mask & __GFP_DIRECT_RECLAIM))) { in bvec_alloc()
487 gfp_mask &= ~__GFP_DIRECT_RECLAIM; in bio_alloc_bioset()
/Linux-v4.19/net/rds/
Dib_recv.c315 if (gfp & __GFP_DIRECT_RECLAIM) { in rds_ib_recv_refill_one()
386 bool can_wait = !!(gfp & __GFP_DIRECT_RECLAIM); in rds_ib_recv_refill()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dicm.c185 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
/Linux-v4.19/fs/fscache/
Dpage.c132 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) { in __fscache_maybe_release_page()
142 gfp &= ~__GFP_DIRECT_RECLAIM; in __fscache_maybe_release_page()
Dcookie.c187 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in fscache_alloc_cookie()
/Linux-v4.19/fs/xfs/
Dxfs_qm.c509 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
/Linux-v4.19/drivers/md/
Ddm-crypt.c1406 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
1422 gfp_mask |= __GFP_DIRECT_RECLAIM; in crypt_alloc_buffer()
1440 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
/Linux-v4.19/net/core/
Dskbuff.c398 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __netdev_alloc_skb()
465 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __napi_alloc_skb()
5267 if (gfp_head & __GFP_DIRECT_RECLAIM) in alloc_skb_with_frags()
5282 page = alloc_pages((gfp_mask & ~__GFP_DIRECT_RECLAIM) | in alloc_skb_with_frags()
Dsock.c2212 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in skb_page_frag_refill()
/Linux-v4.19/net/netlink/
Daf_netlink.c1300 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim()
2209 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
/Linux-v4.19/drivers/mtd/
Dmtdcore.c1810 gfp_t flags = __GFP_NOWARN | __GFP_DIRECT_RECLAIM | __GFP_NORETRY; in mtd_kmalloc_up_to()
/Linux-v4.19/fs/btrfs/
Dvolumes.c344 INIT_RADIX_TREE(&dev->reada_zones, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in __alloc_device()
345 INIT_RADIX_TREE(&dev->reada_extents, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in __alloc_device()
Ddisk-io.c2710 INIT_RADIX_TREE(&fs_info->reada_tree, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in open_ctree()
/Linux-v4.19/kernel/cgroup/
Dcgroup.c307 ret = idr_alloc(idr, ptr, start, end, gfp_mask & ~__GFP_DIRECT_RECLAIM); in cgroup_idr_alloc()
/Linux-v4.19/fs/ext4/
Dsuper.c1195 wait & ~__GFP_DIRECT_RECLAIM); in bdev_try_to_free_page()