/openbmc/linux/tools/testing/radix-tree/ |
H A D | linux.c | 61 if (!(gfp & __GFP_DIRECT_RECLAIM)) { in kmem_cache_alloc_lru() 144 if (!(gfp & __GFP_DIRECT_RECLAIM)) { in kmem_cache_alloc_bulk() 224 list[i] = kmem_cache_alloc(test_cache, __GFP_DIRECT_RECLAIM); in test_kmem_cache_bulk() 230 kmem_cache_alloc_bulk(test_cache, __GFP_DIRECT_RECLAIM, 5, list); in test_kmem_cache_bulk() 234 list[i] = kmem_cache_alloc(test_cache, __GFP_DIRECT_RECLAIM); in test_kmem_cache_bulk() 245 kmem_cache_alloc_bulk(test_cache2, __GFP_DIRECT_RECLAIM, 10, list); in test_kmem_cache_bulk()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不 89 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC`` ) - 非
|
/openbmc/linux/include/linux/ |
H A D | gfp_types.h | 212 #define __GFP_DIRECT_RECLAIM ((__force gfp_t)___GFP_DIRECT_RECLAIM) /* Caller can reclaim */ macro 340 #define GFP_TRANSHUGE (GFP_TRANSHUGE_LIGHT | __GFP_DIRECT_RECLAIM)
|
H A D | gfp.h | 36 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
|
/openbmc/linux/tools/include/linux/ |
H A D | gfp.h | 10 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
|
/openbmc/linux/tools/lib/ |
H A D | slab.c | 18 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
|
/openbmc/linux/mm/ |
H A D | fail_page_alloc.c | 35 (gfp_mask & __GFP_DIRECT_RECLAIM)) in __should_fail_alloc_page()
|
H A D | failslab.c | 29 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
|
H A D | mempool.c | 394 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc() 427 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in mempool_alloc()
|
H A D | mempolicy.c | 2161 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_preferred_many() 2248 if (!folio && (gfp & __GFP_DIRECT_RECLAIM)) in vma_alloc_folio() 2354 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_bulk_array_preferred_many()
|
H A D | page_alloc.c | 3226 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem() 3310 ~__GFP_DIRECT_RECLAIM, order, in __alloc_pages_may_oom() 3541 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) in __need_reclaim() 3719 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in gfp_to_alloc_flags() 3907 bool can_direct_reclaim = gfp_mask & __GFP_DIRECT_RECLAIM; in __alloc_pages_slowpath()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 29 if (!(sc->gfp_mask & __GFP_DIRECT_RECLAIM)) in can_block()
|
/openbmc/linux/include/trace/events/ |
H A D | mmflags.h | 51 gfpflag_string(__GFP_DIRECT_RECLAIM), \
|
/openbmc/linux/block/ |
H A D | blk-crypto.c | 100 WARN_ON_ONCE(!(gfp_mask & __GFP_DIRECT_RECLAIM)); in bio_crypt_set_ctx()
|
H A D | bio.c | 179 return (gfp & ~(__GFP_DIRECT_RECLAIM | __GFP_IO)) | in bvec_alloc_gfp() 206 if (likely(bvl) || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in bvec_alloc() 541 gfp_mask &= ~__GFP_DIRECT_RECLAIM; in bio_alloc_bioset()
|
/openbmc/linux/lib/ |
H A D | ref_tracker.c | 201 if (gfp & __GFP_DIRECT_RECLAIM) in ref_tracker_alloc()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_log_priv.h | 702 flags &= ~__GFP_DIRECT_RECLAIM; in xlog_kvmalloc()
|
H A D | xfs_qm.c | 513 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
|
/openbmc/linux/Documentation/core-api/ |
H A 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``) -
|
/openbmc/linux/mm/kmsan/ |
H A D | core.c | 77 flags &= ~(__GFP_DIRECT_RECLAIM | __GFP_KSWAPD_RECLAIM); in kmsan_save_stack_with_flags()
|
/openbmc/linux/net/rds/ |
H A D | ib_recv.c | 317 if (gfp & __GFP_DIRECT_RECLAIM) { in rds_ib_recv_refill_one() 389 bool can_wait = !!(gfp & __GFP_DIRECT_RECLAIM); in rds_ib_recv_refill()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.c | 184 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
|
/openbmc/linux/drivers/md/ |
H A D | dm-crypt.c | 1690 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer() 1725 gfp_mask |= __GFP_DIRECT_RECLAIM; in crypt_alloc_buffer() 1743 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer() 1879 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kcryptd_io_read()
|
/openbmc/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 150 into allocations that can sleep (__GFP_DIRECT_RECLAIM allocations).
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | 1321 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim() 2232 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
|