Searched refs:PF_MEMALLOC (Results 1 – 14 of 14) sorted by relevance
271 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()272 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()278 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
831 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_do_writepage()832 PF_MEMALLOC)) in xfs_do_writepage()
1342 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()1549 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()1608 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in gfs2_evict_inode()
81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
1393 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
2188 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()2195 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()2196 == PF_MEMALLOC); in ext4_writepage()5492 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
1785 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()2542 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
1780 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
594 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
2876 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
968 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()
4162 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
8794 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()