Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dgfp.h202 #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/
Dlinux.c33 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc()
85 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
/kernel/linux/linux-5.10/mm/
Dfailslab.c27 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
Dmempool.c381 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()
Dpage_alloc.c3557 (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()
Dhuge_memory.c683 (vma_madvised ? __GFP_DIRECT_RECLAIM : in alloc_hugepage_direct_gfpmask()
689 (vma_madvised ? __GFP_DIRECT_RECLAIM : 0); in alloc_hugepage_direct_gfpmask()
Dmempolicy.c2219 if (!page && (gfp & __GFP_DIRECT_RECLAIM)) in alloc_pages_vma()
Dvmscan.c4012 if (!(gfp_flags & __GFP_DIRECT_RECLAIM)) in wakeup_kswapd()
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h50 {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\
/kernel/linux/linux-5.10/block/
Dblk-crypto.c90 WARN_ON_ONCE(!(gfp_mask & __GFP_DIRECT_RECLAIM)); in bio_crypt_set_ctx()
Dbio.c211 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/
Dmemory-allocation.rst99 * ``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/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dicm.c184 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
/kernel/linux/linux-5.10/fs/fscache/
Dpage.c128 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) { in __fscache_maybe_release_page()
138 gfp &= ~__GFP_DIRECT_RECLAIM; in __fscache_maybe_release_page()
Dcookie.c171 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in fscache_alloc_cookie()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_qm.c509 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/
Dsock.h2381 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/
Ddm-crypt.c1664 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/
Daf_netlink.c1296 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim()
2257 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c445 (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()
Dsock.c2478 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in skb_page_frag_refill()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdcore.c2168 gfp_t flags = __GFP_NOWARN | __GFP_DIRECT_RECLAIM | __GFP_NORETRY; in mtd_kmalloc_up_to()
/kernel/linux/linux-5.10/drivers/vhost/
Dnet.c668 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in vhost_net_page_frag_refill()

12