Searched refs:PF_MEMALLOC_NOFS (Results 1 – 5 of 5) sorted by relevance
181 (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_NOCMA))) { in current_gfp_context()188 else if (current->flags & PF_MEMALLOC_NOFS) in current_gfp_context()254 unsigned int flags = current->flags & PF_MEMALLOC_NOFS; in memalloc_nofs_save()255 current->flags |= PF_MEMALLOC_NOFS; in memalloc_nofs_save()269 current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; in memalloc_nofs_restore()
157 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()976 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()1007 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in __xfs_trans_commit()1068 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_trans_cancel()
151 current_restore_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_trans_alloc()214 current_set_flags_nested(&tp->t_pflags, PF_MEMALLOC_NOFS); in xfs_setfilesize_ioend()1010 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC_NOFS)) in xfs_do_writepage()
1460 #define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ macro
2856 unsigned long new_pflags = PF_MEMALLOC_NOFS; in xfs_btree_split_worker()