Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/sched/
Dmm.h268 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
269 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()
275 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
/Linux-v5.15/kernel/
Dsoftirq.c530 current->flags &= ~PF_MEMALLOC; in __do_softirq()
588 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
Dworkqueue.c2633 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/Linux-v5.15/fs/gfs2/
Dsuper.c943 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1147 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1229 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/Linux-v5.15/fs/
Dmpage.c81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/Linux-v5.15/fs/iomap/
Dbuffered-io.c1407 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()
1408 PF_MEMALLOC)) in iomap_do_writepage()
/Linux-v5.15/mm/
Dvmscan.c4284 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()
4334 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()
4625 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
Dpage_alloc.c4199 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4530 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4720 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4723 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
5015 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
5101 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
Dmigrate.c984 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
Dmemcontrol.c2582 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
/Linux-v5.15/fs/ext4/
Dinode.c2035 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()
2042 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()
2043 == PF_MEMALLOC); in ext4_writepage()
5160 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
/Linux-v5.15/include/linux/
Dsched.h1675 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/Linux-v5.15/fs/reiserfs/
Dinode.c1783 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()
2540 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
/Linux-v5.15/fs/jbd2/
Dtransaction.c1919 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/Linux-v5.15/fs/ceph/
Daddr.c509 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/Linux-v5.15/fs/ntfs3/
Dfsntfs.c1450 if (!bio && (current->flags & PF_MEMALLOC)) { in ntfs_alloc_bio()
/Linux-v5.15/Documentation/admin-guide/sysctl/
Dvm.rst474 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_btree.c2820 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/Linux-v5.15/fs/btrfs/
Ddisk-io.c4505 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
Dinode.c8428 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()