Home
last modified time | relevance | path

Searched refs:__GFP_FS (Results 1 – 25 of 41) sorted by relevance

12

/linux/Documentation/translations/zh_CN/core-api/
H A Dgfp_mask-from-fs-io.rst29 避免这种死锁问题的传统方法是在调用分配器时,在gfp掩码中清除__GFP_FS和__GFP_IO
41 关键部分。从该作用域的任何分配都将从给定的掩码中删除__GFP_FS和__GFP_IO,所以
/linux/include/linux/
H A Dgfp_types.h260 #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 Dgfp.h422 return (gfp & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS); in gfp_has_io_fs()
H A Dbuffer_head.h366 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 Dmm.h260 flags &= ~(__GFP_IO | __GFP_FS); in current_gfp_context()
262 flags &= ~__GFP_FS; in current_gfp_context()
/linux/Documentation/core-api/
H A Dgfp_mask-from-fs-io.rst19 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 Dfscache.h104 if (current_is_kswapd() || !(gfp & __GFP_FS)) in nfs_fscache_release_folio()
/linux/mm/
H A Dvmpressure.c268 if (!(gfp & (__GFP_HIGHMEM | __GFP_MOVABLE | __GFP_IO | __GFP_FS))) in vmpressure()
H A Dinternal.h32 #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 Doom_kill.c1137 if (!(oc->gfp_mask & __GFP_FS) && !is_memcg_oom(oc)) in out_of_memory()
H A Dvmalloc.c3684 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 Dcompaction.c812 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 Dmisc.c320 if (current_is_kswapd() || !(gfp & __GFP_FS)) in netfs_release_folio()
/linux/include/trace/events/
H A Dmmflags.h35 gfpflag_string(__GFP_FS), \
/linux/fs/btrfs/
H A Dctree.h495 return mapping_gfp_constraint(mapping, ~__GFP_FS); in btrfs_alloc_write_mask()
H A Dverity.c744 folio = filemap_alloc_folio(mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS), in btrfs_read_merkle_tree_page()
H A Dcompression.c478 ~__GFP_FS), 0); in add_ra_bio_pages()
/linux/fs/nilfs2/
H A Dnamei.c162 ~__GFP_FS)); in nilfs_symlink()
H A Dinode.c336 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 Dxfs_qm.c513 if ((sc->gfp_mask & (__GFP_FS|__GFP_DIRECT_RECLAIM)) != (__GFP_FS|__GFP_DIRECT_RECLAIM)) in xfs_qm_shrink_scan()
H A Dxfs_iops.c1323 mapping_set_gfp_mask(inode->i_mapping, (gfp_mask & ~(__GFP_FS))); in xfs_setup_inode()
/linux/kernel/power/
H A Dmain.c49 gfp_allowed_mask &= ~(__GFP_IO | __GFP_FS); in pm_restrict_gfp_mask()
/linux/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_bo.c635 const gfp_t gfp = __GFP_NOWARN | __GFP_RECLAIM | __GFP_FS; in alloc_private_pages()
/linux/drivers/block/
H A Dloop.c628 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 Dfile.c720 gfp_t ra_gfp_mask = readahead_gfp_mask(mapping) & ~__GFP_FS; in ubifs_do_bulk_read()

12