Searched refs:__GFP_DIRECT_RECLAIM (Results 1 – 25 of 25) sorted by relevance
/Linux-v4.19/tools/testing/radix-tree/linux/ |
D | gfp.h | 17 #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/ |
D | linux.c | 32 if (!(flags & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc() 78 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
|
/Linux-v4.19/include/linux/ |
D | gfp.h | 193 #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/ |
D | mempool.c | 375 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()
|
D | page_alloc.c | 3054 (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()
|
D | huge_memory.c | 641 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()
|
D | vmscan.c | 3844 if (!(gfp_flags & __GFP_DIRECT_RECLAIM)) in wakeup_kswapd()
|
D | memcontrol.c | 4640 ret = try_charge(mc.to, GFP_KERNEL & ~__GFP_DIRECT_RECLAIM, count); in mem_cgroup_do_precharge()
|
D | slub.c | 1580 if ((alloc_gfp & __GFP_DIRECT_RECLAIM) && oo_order(oo) > oo_order(s->min)) in allocate_slab()
|
/Linux-v4.19/include/trace/events/ |
D | mmflags.h | 50 {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\
|
/Linux-v4.19/block/ |
D | bio.c | 221 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/ |
D | ib_recv.c | 315 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/ |
D | icm.c | 185 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
|
/Linux-v4.19/fs/fscache/ |
D | page.c | 132 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) { in __fscache_maybe_release_page() 142 gfp &= ~__GFP_DIRECT_RECLAIM; in __fscache_maybe_release_page()
|
D | cookie.c | 187 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in fscache_alloc_cookie()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_qm.c | 509 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
|
/Linux-v4.19/drivers/md/ |
D | dm-crypt.c | 1406 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/ |
D | skbuff.c | 398 (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()
|
D | sock.c | 2212 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in skb_page_frag_refill()
|
/Linux-v4.19/net/netlink/ |
D | af_netlink.c | 1300 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim() 2209 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
|
/Linux-v4.19/drivers/mtd/ |
D | mtdcore.c | 1810 gfp_t flags = __GFP_NOWARN | __GFP_DIRECT_RECLAIM | __GFP_NORETRY; in mtd_kmalloc_up_to()
|
/Linux-v4.19/fs/btrfs/ |
D | volumes.c | 344 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()
|
D | disk-io.c | 2710 INIT_RADIX_TREE(&fs_info->reada_tree, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in open_ctree()
|
/Linux-v4.19/kernel/cgroup/ |
D | cgroup.c | 307 ret = idr_alloc(idr, ptr, start, end, gfp_mask & ~__GFP_DIRECT_RECLAIM); in cgroup_idr_alloc()
|
/Linux-v4.19/fs/ext4/ |
D | super.c | 1195 wait & ~__GFP_DIRECT_RECLAIM); in bdev_try_to_free_page()
|