/openbmc/linux/include/linux/ |
H A D | gfp_types.h | 211 #define __GFP_FS ((__force gfp_t)___GFP_FS) macro 328 #define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS) 333 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL)
|
H A D | gfp.h | 343 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | gfp_mask-from-fs-io.rst | 29 避免这种死锁问题的传统方法是在调用分配器时,在gfp掩码中清除__GFP_FS和__GFP_IO 41 关键部分。从该作用域的任何分配都将从给定的掩码中删除__GFP_FS和__GFP_IO,所以
|
/openbmc/linux/fs/xfs/ |
H A D | kmem.h | 38 lflags &= ~__GFP_FS; in kmem_flags_convert()
|
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()
|
H A D | xfs_iops.c | 1299 mapping_set_gfp_mask(inode->i_mapping, (gfp_mask & ~(__GFP_FS))); in xfs_setup_inode()
|
/openbmc/linux/include/linux/sched/ |
H A D | mm.h | 245 flags &= ~(__GFP_IO | __GFP_FS); in current_gfp_context() 247 flags &= ~__GFP_FS; in current_gfp_context()
|
/openbmc/linux/Documentation/core-api/ |
H A D | gfp_mask-from-fs-io.rst | 19 The traditional way to avoid this deadlock problem is to clear __GFP_FS 35 scope will inherently drop __GFP_FS respectively __GFP_IO from the given
|
/openbmc/linux/fs/nfs/ |
H A D | fscache.h | 105 if (current_is_kswapd() || !(gfp & __GFP_FS)) in nfs_fscache_release_folio()
|
/openbmc/linux/mm/ |
H A D | vmpressure.c | 268 if (!(gfp & (__GFP_HIGHMEM | __GFP_MOVABLE | __GFP_IO | __GFP_FS))) in vmpressure()
|
H A D | internal.h | 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))
|
H A D | oom_kill.c | 1133 if (!(oc->gfp_mask & __GFP_FS) && !is_memcg_oom(oc)) in out_of_memory()
|
H A D | vmalloc.c | 3185 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node() 3187 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node() 3197 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node() 3199 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node()
|
H A D | compaction.c | 808 if (cc->gfp_mask & __GFP_FS) { in too_many_isolated() 1076 if (!(cc->gfp_mask & __GFP_FS) && mapping) in isolate_migratepages_block()
|
/openbmc/linux/include/trace/events/ |
H A D | mmflags.h | 35 gfpflag_string(__GFP_FS), \
|
/openbmc/linux/fs/9p/ |
H A D | vfs_addr.c | 121 if (current_is_kswapd() || !(gfp & __GFP_FS)) in v9fs_release_folio()
|
/openbmc/linux/fs/btrfs/ |
H A D | ctree.h | 501 return mapping_gfp_constraint(mapping, ~__GFP_FS); in btrfs_alloc_write_mask()
|
H A D | verity.c | 745 folio = filemap_alloc_folio(mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS), in btrfs_read_merkle_tree_page()
|
/openbmc/linux/fs/nilfs2/ |
H A D | namei.c | 162 ~__GFP_FS)); in nilfs_symlink()
|
H A D | inode.c | 340 mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS)); in nilfs_new_inode() 527 mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS)); in __nilfs_read_inode()
|
/openbmc/linux/fs/afs/ |
H A D | file.c | 500 if (current_is_kswapd() || !(gfp & __GFP_FS)) in afs_release_folio()
|
/openbmc/linux/fs/ceph/ |
H A D | addr.c | 177 if (current_is_kswapd() || !(gfp & __GFP_FS)) in ceph_release_folio() 1646 mapping_gfp_constraint(mapping, ~__GFP_FS)); in ceph_filemap_fault() 1795 ~__GFP_FS)); in ceph_fill_inline_data()
|
/openbmc/linux/kernel/power/ |
H A D | main.c | 49 gfp_allowed_mask &= ~(__GFP_IO | __GFP_FS); in pm_restrict_gfp_mask()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 635 const gfp_t gfp = __GFP_NOWARN | __GFP_RECLAIM | __GFP_FS; in alloc_private_pages()
|
/openbmc/linux/drivers/block/ |
H A D | loop.c | 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()
|