Home
last modified time | relevance | path

Searched refs:PF_MEMALLOC (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/include/linux/sched/
Dmm.h241 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()
/Linux-v4.19/kernel/
Dsoftirq.c264 current->flags &= ~PF_MEMALLOC; in __do_softirq()
320 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
Dworkqueue.c2479 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/Linux-v4.19/fs/xfs/
Dxfs_aops.c829 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_do_writepage()
830 PF_MEMALLOC)) in xfs_do_writepage()
Dxfs_trans_ail.c524 current->flags |= PF_MEMALLOC; in xfsaild()
/Linux-v4.19/drivers/staging/erofs/
Dinternal.h432 (current->flags & PF_MEMALLOC)) { in prepare_bio()
/Linux-v4.19/fs/gfs2/
Dsuper.c1339 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()
/Linux-v4.19/fs/
Dmpage.c81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/Linux-v4.19/mm/
Dpage_alloc.c3398 (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()
Dvmscan.c3757 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()
Dmigrate.c1016 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
Dmemcontrol.c2198 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
/Linux-v4.19/include/linux/
Dsched.h1379 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/Linux-v4.19/fs/nfs/blocklayout/
Dblocklayout.c126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
/Linux-v4.19/fs/ext4/
Dinode.c2145 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()
/Linux-v4.19/fs/reiserfs/
Dinode.c1789 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()
/Linux-v4.19/fs/jbd2/
Dtransaction.c1757 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/Linux-v4.19/fs/ceph/
Daddr.c602 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/Linux-v4.19/Documentation/sysctl/
Dvm.txt445 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/Linux-v4.19/fs/cifs/
Dconnect.c870 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_btree.c2876 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/Linux-v4.19/fs/btrfs/
Ddisk-io.c4104 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
Dinode.c8628 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()