Home
last modified time | relevance | path

Searched refs:PF_MEMALLOC_NOFS (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/linux/sched/
Dmm.h158 if (unlikely(pflags & (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS))) { in current_gfp_context()
165 else if (pflags & PF_MEMALLOC_NOFS) in current_gfp_context()
227 unsigned int flags = current->flags & PF_MEMALLOC_NOFS; in memalloc_nofs_save()
228 current->flags |= PF_MEMALLOC_NOFS; in memalloc_nofs_save()
242 current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; in memalloc_nofs_restore()
/Linux-v5.10/fs/xfs/
Dxfs_trans.c157 current_set_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()
167 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()
244 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()
881 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()
913 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()
974 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_cancel()
Dxfs_aops.c65 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_trans_alloc()
128 current_set_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_ioend()
/Linux-v5.10/include/linux/
Dsched.h1542 #define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ macro
/Linux-v5.10/fs/iomap/
Dbuffered-io.c1465 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC_NOFS)) in iomap_do_writepage()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_btree.c2817 unsigned long new_pflags = PF_MEMALLOC_NOFS; in xfs_btree_split_worker()