Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/radix-tree/
Dlinux.c61 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()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
89 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC`` ) - 非
/linux-6.1.9/include/linux/
Dgfp_types.h216 #define __GFP_DIRECT_RECLAIM ((__force gfp_t)___GFP_DIRECT_RECLAIM) /* Caller can reclaim */ macro
346 #define GFP_TRANSHUGE (GFP_TRANSHUGE_LIGHT | __GFP_DIRECT_RECLAIM)
Dgfp.h36 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
/linux-6.1.9/tools/include/linux/
Dgfp.h10 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
/linux-6.1.9/tools/lib/
Dslab.c18 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
/linux-6.1.9/mm/
Dfailslab.c29 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
Dmempool.c388 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc()
421 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in mempool_alloc()
Dmempolicy.c2144 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_preferred_many()
2237 if (!folio && (gfp & __GFP_DIRECT_RECLAIM)) in vma_alloc_folio()
2347 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_bulk_array_preferred_many()
Dpage_alloc.c3899 (gfp_mask & __GFP_DIRECT_RECLAIM)) in __should_fail_alloc_page()
4337 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()
4421 ~__GFP_DIRECT_RECLAIM, order, in __alloc_pages_may_oom()
4667 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) in __need_reclaim()
5026 bool can_direct_reclaim = gfp_mask & __GFP_DIRECT_RECLAIM; in __alloc_pages_slowpath()
5043 if (WARN_ON_ONCE((gfp_mask & (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM)) == in __alloc_pages_slowpath()
5044 (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM))) in __alloc_pages_slowpath()
Dhuge_memory.c753 (vma_madvised ? __GFP_DIRECT_RECLAIM : in vma_thp_gfp_mask()
759 (vma_madvised ? __GFP_DIRECT_RECLAIM : 0); in vma_thp_gfp_mask()
/linux-6.1.9/lib/
Dref_tracker.c83 if (gfp & __GFP_DIRECT_RECLAIM) in ref_tracker_alloc()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c29 if (!(sc->gfp_mask & __GFP_DIRECT_RECLAIM)) in can_block()
/linux-6.1.9/include/trace/events/
Dmmflags.h52 gfpflag_string(__GFP_DIRECT_RECLAIM), \
/linux-6.1.9/block/
Dblk-crypto.c93 WARN_ON_ONCE(!(gfp_mask & __GFP_DIRECT_RECLAIM)); in bio_crypt_set_ctx()
Dbio.c174 return (gfp & ~(__GFP_DIRECT_RECLAIM | __GFP_IO)) | in bvec_alloc_gfp()
201 if (likely(bvl) || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in bvec_alloc()
519 gfp_mask &= ~__GFP_DIRECT_RECLAIM; in bio_alloc_bioset()
/linux-6.1.9/Documentation/core-api/
Dmemory-allocation.rst99 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic
106 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC``) -
/linux-6.1.9/fs/xfs/
Dxfs_log_priv.h697 flags &= ~__GFP_DIRECT_RECLAIM; in xlog_kvmalloc()
Dxfs_qm.c505 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
/linux-6.1.9/mm/kmsan/
Dcore.c76 flags &= ~__GFP_DIRECT_RECLAIM; in kmsan_save_stack_with_flags()
/linux-6.1.9/net/rds/
Dib_recv.c316 if (gfp & __GFP_DIRECT_RECLAIM) { in rds_ib_recv_refill_one()
388 bool can_wait = !!(gfp & __GFP_DIRECT_RECLAIM); in rds_ib_recv_refill()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dicm.c184 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
/linux-6.1.9/Documentation/fault-injection/
Dfault-injection.rst142 into allocations that can sleep (__GFP_DIRECT_RECLAIM allocations).
/linux-6.1.9/include/net/
Dsock.h2571 if ((sk->sk_allocation & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC | __GFP_FS)) == in sk_page_frag()
2572 (__GFP_DIRECT_RECLAIM | __GFP_FS)) in sk_page_frag()
/linux-6.1.9/drivers/md/
Ddm-crypt.c1671 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
1686 gfp_mask |= __GFP_DIRECT_RECLAIM; in crypt_alloc_buffer()
1704 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()

12