Searched refs:PF_MEMALLOC_NOFS (Results 1 – 6 of 6) sorted by relevance
158 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()
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()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()
65 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()
1542 #define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ macro
1465 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC_NOFS)) in iomap_do_writepage()
2817 unsigned long new_pflags = PF_MEMALLOC_NOFS; in xfs_btree_split_worker()