Searched refs:PF_MEMALLOC (Results 1 – 22 of 22) sorted by relevance
274 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()275 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()281 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
264 current->flags &= ~PF_MEMALLOC; in __do_softirq()321 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
2598 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
1010 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()1213 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()1264 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in gfs2_evict_inode()
1002 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_do_writepage()1003 PF_MEMALLOC)) in xfs_do_writepage()
533 current->flags |= PF_MEMALLOC; in xfsaild()
81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
3739 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()4069 if (current->flags & PF_MEMALLOC) in __need_fs_reclaim()4249 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()4252 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()4558 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()4644 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
3914 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()3961 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()4278 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
1029 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
2561 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
1453 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
2159 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()2166 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()2167 == PF_MEMALLOC); in ext4_writepage()5392 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
1789 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()2537 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
1834 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
606 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
461 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
2865 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
4155 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
8763 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()
1125 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()