/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | gfp.h | 202 #define __GFP_DIRECT_RECLAIM ((__force gfp_t)___GFP_DIRECT_RECLAIM) /* Caller can reclaim */ macro 313 #define GFP_TRANSHUGE (GFP_TRANSHUGE_LIGHT | __GFP_DIRECT_RECLAIM) 345 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking() 367 return (gfp_flags & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC)) == in gfpflags_normal_context() 368 __GFP_DIRECT_RECLAIM; in gfpflags_normal_context()
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | linux.c | 33 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc() 85 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
|
/kernel/linux/linux-5.10/mm/ |
D | failslab.c | 27 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
|
D | mempool.c | 381 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in mempool_alloc() 387 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc() 420 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in mempool_alloc()
|
D | page_alloc.c | 3557 (gfp_mask & __GFP_DIRECT_RECLAIM)) in __should_fail_alloc_page() 3991 if (in_interrupt() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem() 4075 ~__GFP_DIRECT_RECLAIM, order, in __alloc_pages_may_oom() 4315 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) in __need_fs_reclaim() 4684 bool can_direct_reclaim = gfp_mask & __GFP_DIRECT_RECLAIM; in __alloc_pages_slowpath() 4704 if (WARN_ON_ONCE((gfp_mask & (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM)) == in __alloc_pages_slowpath() 4705 (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM))) in __alloc_pages_slowpath() 4984 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in prepare_alloc_pages()
|
D | huge_memory.c | 683 (vma_madvised ? __GFP_DIRECT_RECLAIM : in alloc_hugepage_direct_gfpmask() 689 (vma_madvised ? __GFP_DIRECT_RECLAIM : 0); in alloc_hugepage_direct_gfpmask()
|
D | mempolicy.c | 2219 if (!page && (gfp & __GFP_DIRECT_RECLAIM)) in alloc_pages_vma()
|
D | vmscan.c | 4012 if (!(gfp_flags & __GFP_DIRECT_RECLAIM)) in wakeup_kswapd()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | mmflags.h | 50 {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\
|
/kernel/linux/linux-5.10/block/ |
D | blk-crypto.c | 90 WARN_ON_ONCE(!(gfp_mask & __GFP_DIRECT_RECLAIM)); in bio_crypt_set_ctx()
|
D | bio.c | 211 gfp_t __gfp_mask = gfp_mask & ~(__GFP_DIRECT_RECLAIM | __GFP_IO); in bvec_alloc() 225 if (unlikely(!bvl && (gfp_mask & __GFP_DIRECT_RECLAIM))) { in bvec_alloc() 484 gfp_mask &= ~__GFP_DIRECT_RECLAIM; in bio_alloc_bioset()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | memory-allocation.rst | 99 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic 106 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC``) -
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_recv.c | 316 if (gfp & __GFP_DIRECT_RECLAIM) { in rds_ib_recv_refill_one() 388 bool can_wait = !!(gfp & __GFP_DIRECT_RECLAIM); in rds_ib_recv_refill()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 184 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
|
/kernel/linux/linux-5.10/fs/fscache/ |
D | page.c | 128 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) { in __fscache_maybe_release_page() 138 gfp &= ~__GFP_DIRECT_RECLAIM; in __fscache_maybe_release_page()
|
D | cookie.c | 171 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in fscache_alloc_cookie()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 2381 if ((sk->sk_allocation & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC | __GFP_FS)) == in sk_page_frag() 2382 (__GFP_DIRECT_RECLAIM | __GFP_FS)) in sk_page_frag()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-crypt.c | 1664 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer() 1680 gfp_mask |= __GFP_DIRECT_RECLAIM; in crypt_alloc_buffer() 1698 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
|
/kernel/linux/linux-5.10/net/netlink/ |
D | af_netlink.c | 1296 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim() 2257 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 445 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __netdev_alloc_skb() 519 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __napi_alloc_skb() 5904 page = alloc_pages((gfp_mask & ~__GFP_DIRECT_RECLAIM) | in alloc_skb_with_frags()
|
D | sock.c | 2478 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in skb_page_frag_refill()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdcore.c | 2168 gfp_t flags = __GFP_NOWARN | __GFP_DIRECT_RECLAIM | __GFP_NORETRY; in mtd_kmalloc_up_to()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | net.c | 668 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in vhost_net_page_frag_refill()
|