/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,所以
|
/linux/include/linux/ |
H A D | gfp_types.h | 260 #define __GFP_FS ((__force gfp_t)___GFP_FS) macro 378 #define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS) 383 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL)
|
H A D | gfp.h | 422 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()
|
H A D | buffer_head.h | 366 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in getblk_unmovable() 377 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in __getblk()
|
/linux/include/linux/sched/ |
H A D | mm.h | 260 flags &= ~(__GFP_IO | __GFP_FS); in current_gfp_context() 262 flags &= ~__GFP_FS; in current_gfp_context()
|
/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
|
/linux/fs/nfs/ |
H A D | fscache.h | 104 if (current_is_kswapd() || !(gfp & __GFP_FS)) in nfs_fscache_release_folio()
|
/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 | 32 #define GFP_RECLAIM_MASK (__GFP_RECLAIM|__GFP_HIGH|__GFP_IO|__GFP_FS|\ 38 #define GFP_BOOT_MASK (__GFP_BITS_MASK & ~(__GFP_RECLAIM|__GFP_IO|__GFP_FS))
|
H A D | oom_kill.c | 1137 if (!(oc->gfp_mask & __GFP_FS) && !is_memcg_oom(oc)) in out_of_memory()
|
H A D | vmalloc.c | 3684 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node() 3686 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node() 3696 if ((gfp_mask & (__GFP_FS | __GFP_IO)) == __GFP_IO) in __vmalloc_area_node() 3698 else if ((gfp_mask & (__GFP_FS | __GFP_IO)) == 0) in __vmalloc_area_node()
|
H A D | compaction.c | 812 if (cc->gfp_mask & __GFP_FS) { in too_many_isolated() 1125 if (!(cc->gfp_mask & __GFP_FS) && mapping) in isolate_migratepages_block()
|
/linux/fs/netfs/ |
H A D | misc.c | 320 if (current_is_kswapd() || !(gfp & __GFP_FS)) in netfs_release_folio()
|
/linux/include/trace/events/ |
H A D | mmflags.h | 35 gfpflag_string(__GFP_FS), \
|
/linux/fs/btrfs/ |
H A D | ctree.h | 495 return mapping_gfp_constraint(mapping, ~__GFP_FS); in btrfs_alloc_write_mask()
|
H A D | verity.c | 744 folio = filemap_alloc_folio(mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS), in btrfs_read_merkle_tree_page()
|
H A D | compression.c | 478 ~__GFP_FS), 0); in add_ra_bio_pages()
|
/linux/fs/nilfs2/ |
H A D | namei.c | 162 ~__GFP_FS)); in nilfs_symlink()
|
H A D | inode.c | 336 mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS)); in nilfs_new_inode() 509 mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS)); in __nilfs_read_inode()
|
/linux/fs/xfs/ |
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 | 1323 mapping_set_gfp_mask(inode->i_mapping, (gfp_mask & ~(__GFP_FS))); in xfs_setup_inode()
|
/linux/kernel/power/ |
H A D | main.c | 49 gfp_allowed_mask &= ~(__GFP_IO | __GFP_FS); in pm_restrict_gfp_mask()
|
/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()
|
/linux/drivers/block/ |
H A D | loop.c | 628 lo->old_gfp_mask & ~(__GFP_IO|__GFP_FS)); in loop_change_fd() 1092 mapping_set_gfp_mask(mapping, lo->old_gfp_mask & ~(__GFP_IO|__GFP_FS)); in loop_configure()
|
/linux/fs/ubifs/ |
H A D | file.c | 720 gfp_t ra_gfp_mask = readahead_gfp_mask(mapping) & ~__GFP_FS; in ubifs_do_bulk_read()
|