Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/sched/
Dmm.h274 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()
/Linux-v5.4/kernel/
Dsoftirq.c264 current->flags &= ~PF_MEMALLOC; in __do_softirq()
321 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
Dworkqueue.c2598 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/Linux-v5.4/fs/gfs2/
Dsuper.c1010 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()
/Linux-v5.4/fs/xfs/
Dxfs_aops.c1002 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_do_writepage()
1003 PF_MEMALLOC)) in xfs_do_writepage()
Dxfs_trans_ail.c533 current->flags |= PF_MEMALLOC; in xfsaild()
/Linux-v5.4/fs/
Dmpage.c81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/Linux-v5.4/mm/
Dpage_alloc.c3739 (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()
Dvmscan.c3914 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()
Dmigrate.c1029 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
Dmemcontrol.c2561 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
/Linux-v5.4/fs/nfs/blocklayout/
Dblocklayout.c126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
/Linux-v5.4/include/linux/
Dsched.h1453 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/Linux-v5.4/fs/ext4/
Dinode.c2159 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()
/Linux-v5.4/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-v5.4/fs/jbd2/
Dtransaction.c1834 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/Linux-v5.4/fs/ceph/
Daddr.c606 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/Linux-v5.4/Documentation/admin-guide/sysctl/
Dvm.rst461 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_btree.c2865 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/Linux-v5.4/fs/btrfs/
Ddisk-io.c4155 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
Dinode.c8763 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()
/Linux-v5.4/fs/cifs/
Dconnect.c1125 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()