Searched refs:__GFP_IO (Results 1 – 22 of 22) sorted by relevance
210 #define __GFP_IO ((__force gfp_t)___GFP_IO) macro328 #define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS)332 #define GFP_NOFS (__GFP_RECLAIM | __GFP_IO)333 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL)
343 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()352 return IS_ENABLED(CONFIG_COMPACTION) && (gfp_mask & __GFP_IO); in gfp_compaction_allowed()
18 对于 !__GFP_HIGH 和 !__GFP_KSWAPD_RECLAIM 以及非 __GFP_IO 的分配,需要进行25 __GFP_IO分配请求是为了防止文件系统死锁。
29 避免这种死锁问题的传统方法是在调用分配器时,在gfp掩码中清除__GFP_FS和__GFP_IO41 关键部分。从该作用域的任何分配都将从给定的掩码中删除__GFP_FS和__GFP_IO,所以
20 respectively __GFP_IO (note the latter implies clearing the first as well) in35 scope will inherently drop __GFP_FS respectively __GFP_IO from the given
65 #define NILFS_MDT_GFP (__GFP_RECLAIM | __GFP_IO | __GFP_HIGHMEM)
8 well as for non __GFP_IO allocations.17 __GFP_IO allocation requests are made to prevent file system deadlocks.
245 flags &= ~(__GFP_IO | __GFP_FS); in current_gfp_context()
34 gfpflag_string(__GFP_IO), \
268 if (!(gfp & (__GFP_HIGHMEM | __GFP_MOVABLE | __GFP_IO | __GFP_FS))) in vmpressure()
24 #define GFP_RECLAIM_MASK (__GFP_RECLAIM|__GFP_HIGH|__GFP_IO|__GFP_FS|\30 #define GFP_BOOT_MASK (__GFP_BITS_MASK & ~(__GFP_RECLAIM|__GFP_IO|__GFP_FS))
394 gfp_temp = gfp_mask & ~(__GFP_DIRECT_RECLAIM|__GFP_IO); in mempool_alloc()
3187 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node()3189 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node()3199 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node()3201 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node()
1697 if (!folio_test_swapcache(folio) || !(gfp_mask & __GFP_IO)) in may_enter_fs()1899 if (!(sc->gfp_mask & __GFP_IO)) in shrink_folio_list()4983 if (!(sc->gfp_mask & __GFP_IO) && in isolate_folio()5399 if (swappiness && !(sc->gfp_mask & __GFP_IO)) in try_to_shrink_lruvec()
3646 if (!(gfp & __GFP_IO)) in __folio_throttle_swaprate()
1634 gfp_t allowflags = __GFP_IO | __GFP_FS | __GFP_RECLAIM; in limit_gfp_mask()
2927 return mapping_gfp_mask(vm_file->f_mapping) | __GFP_FS | __GFP_IO; in __get_fault_gfp_mask()
49 gfp_allowed_mask &= ~(__GFP_IO | __GFP_FS); in pm_restrict_gfp_mask()
607 lo->old_gfp_mask & ~(__GFP_IO|__GFP_FS)); in loop_change_fd()1072 mapping_set_gfp_mask(mapping, lo->old_gfp_mask & ~(__GFP_IO|__GFP_FS)); in loop_configure()
179 return (gfp & ~(__GFP_DIRECT_RECLAIM | __GFP_IO)) | in bvec_alloc_gfp()
1895 cpage = alloc_page(__GFP_NOWARN | __GFP_IO); in f2fs_cache_compressed_page()
683 if (sc->gfp_mask & __GFP_IO) in bch_mca_scan()