Searched refs:PF_MEMALLOC_NOFS (Results 1 – 5 of 5) sorted by relevance
160 else if (unlikely(current->flags & PF_MEMALLOC_NOFS)) in current_gfp_context()221 unsigned int flags = current->flags & PF_MEMALLOC_NOFS; in memalloc_nofs_save()222 current->flags |= PF_MEMALLOC_NOFS; in memalloc_nofs_save()236 current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; in memalloc_nofs_restore()
158 current_set_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()168 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()245 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_reserve()969 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()1000 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()1061 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_cancel()
156 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_trans_alloc()219 current_set_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_ioend()837 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC_NOFS)) in xfs_do_writepage()
1386 #define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ macro
2867 unsigned long new_pflags = PF_MEMALLOC_NOFS; in xfs_btree_split_worker()