Home
last modified time | relevance | path

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

12

/linux/tools/testing/radix-tree/linux/
A 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()
/linux/include/linux/
A Dgfp.h216 #define __GFP_DIRECT_RECLAIM ((__force gfp_t)___GFP_DIRECT_RECLAIM) /* Caller can reclaim */ macro
337 #define GFP_TRANSHUGE (GFP_TRANSHUGE_LIGHT | __GFP_DIRECT_RECLAIM)
360 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
382 return (gfp_flags & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC)) == in gfpflags_normal_context()
383 __GFP_DIRECT_RECLAIM; in gfpflags_normal_context()
/linux/Documentation/translations/zh_CN/core-api/
A Dmemory-allocation.rst85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
89 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC`` ) - 非
/linux/tools/testing/radix-tree/
A Dlinux.c33 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc()
85 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc()
/linux/mm/
A Dmempool.c382 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in mempool_alloc()
388 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc()
421 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) { in mempool_alloc()
A Dfailslab.c27 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
A Dmempolicy.c2061 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_preferred_many()
2142 if (!page && (gfp & __GFP_DIRECT_RECLAIM)) in alloc_pages_vma()
2251 preferred_gfp &= ~(__GFP_DIRECT_RECLAIM | __GFP_NOFAIL); in alloc_pages_bulk_array_preferred_many()
A Dpage_alloc.c3766 (gfp_mask & __GFP_DIRECT_RECLAIM)) in __should_fail_alloc_page()
4195 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()
4277 ~__GFP_DIRECT_RECLAIM, order, in __alloc_pages_may_oom()
4520 if (!(gfp_mask & __GFP_DIRECT_RECLAIM)) in __need_reclaim()
4850 bool can_direct_reclaim = gfp_mask & __GFP_DIRECT_RECLAIM; in __alloc_pages_slowpath()
4866 if (WARN_ON_ONCE((gfp_mask & (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM)) == in __alloc_pages_slowpath()
4867 (__GFP_ATOMIC|__GFP_DIRECT_RECLAIM))) in __alloc_pages_slowpath()
5144 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in prepare_alloc_pages()
A Dhuge_memory.c697 (vma_madvised ? __GFP_DIRECT_RECLAIM : in vma_thp_gfp_mask()
703 (vma_madvised ? __GFP_DIRECT_RECLAIM : 0); in vma_thp_gfp_mask()
/linux/include/trace/events/
A Dmmflags.h50 {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\
/linux/block/
A Dblk-crypto.c90 WARN_ON_ONCE(!(gfp_mask & __GFP_DIRECT_RECLAIM)); in bio_crypt_set_ctx()
A 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()
466 gfp_mask &= ~__GFP_DIRECT_RECLAIM; in bio_alloc_bioset()
/linux/fs/9p/
A Dvfs_addr.c141 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) in v9fs_release_page()
/linux/Documentation/core-api/
A Dmemory-allocation.rst99 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic
106 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC``) -
/linux/net/rds/
A Dib_recv.c316 if (gfp & __GFP_DIRECT_RECLAIM) { in rds_ib_recv_refill_one()
387 bool can_wait = !!(gfp & __GFP_DIRECT_RECLAIM); in rds_ib_recv_refill()
/linux/fs/fscache/
A 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()
A Dcookie.c187 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in fscache_alloc_cookie()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dicm.c184 mask &= ~__GFP_DIRECT_RECLAIM; in mlx4_alloc_icm()
/linux/fs/afs/
A Dfile.c496 if (!(gfp_flags & __GFP_DIRECT_RECLAIM) || !(gfp_flags & __GFP_FS)) in afs_releasepage()
/linux/fs/xfs/
A Dxfs_qm.c505 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
/linux/include/net/
A Dsock.h2460 if ((sk->sk_allocation & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC | __GFP_FS)) == in sk_page_frag()
2461 (__GFP_DIRECT_RECLAIM | __GFP_FS)) in sk_page_frag()
/linux/drivers/md/
A Ddm-crypt.c1672 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
1688 gfp_mask |= __GFP_DIRECT_RECLAIM; in crypt_alloc_buffer()
1706 if (unlikely(gfp_mask & __GFP_DIRECT_RECLAIM)) in crypt_alloc_buffer()
/linux/net/netlink/
A Daf_netlink.c1302 (allocation & ~__GFP_DIRECT_RECLAIM) | in netlink_trim()
2245 (GFP_KERNEL & ~__GFP_DIRECT_RECLAIM) | in netlink_dump()
/linux/fs/erofs/
A Dzdata.c236 gfp_t gfp = (mapping_gfp_mask(mc) & ~__GFP_DIRECT_RECLAIM) | in preload_compressed_pages()
/linux/net/core/
A Dskbuff.c493 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __netdev_alloc_skb()
567 (gfp_mask & (__GFP_DIRECT_RECLAIM | GFP_DMA))) { in __napi_alloc_skb()
6089 page = alloc_pages((gfp_mask & ~__GFP_DIRECT_RECLAIM) | in alloc_skb_with_frags()

Completed in 93 milliseconds

12