Searched refs:PF_MEMALLOC (Results 1 – 23 of 23) sorted by relevance
241 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()242 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()248 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
264 current->flags &= ~PF_MEMALLOC; in __do_softirq()320 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
2479 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
829 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_do_writepage()830 PF_MEMALLOC)) in xfs_do_writepage()
524 current->flags |= PF_MEMALLOC; in xfsaild()
432 (current->flags & PF_MEMALLOC)) { in prepare_bio()
1339 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()1542 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()1593 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in gfs2_evict_inode()
81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
3398 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()3713 if (current->flags & PF_MEMALLOC) in __need_fs_reclaim()3891 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()3894 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()4187 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()4273 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
3757 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()3804 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()4116 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
1016 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
2198 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
1379 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
2145 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()2152 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()2153 == PF_MEMALLOC); in ext4_writepage()5352 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()
1757 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
602 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
445 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
870 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()
2876 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
4104 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
8628 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()