Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/sched/
Dmm.h247 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
248 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()
254 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
/Linux-v5.10/kernel/
Dsoftirq.c270 current->flags &= ~PF_MEMALLOC; in __do_softirq()
327 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
Dworkqueue.c2607 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/Linux-v5.10/fs/gfs2/
Dsuper.c1063 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1266 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1347 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/Linux-v5.10/fs/
Dmpage.c81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/Linux-v5.10/fs/iomap/
Dbuffered-io.c1457 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()
1458 PF_MEMALLOC)) in iomap_do_writepage()
/Linux-v5.10/mm/
Dvmscan.c3885 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()
3935 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()
4229 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
Dpage_alloc.c3948 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4276 if (current->flags & PF_MEMALLOC) in __need_fs_reclaim()
4456 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4459 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
4751 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
4837 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
Dmigrate.c1044 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
Dmemcontrol.c2741 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
/Linux-v5.10/fs/nfs/blocklayout/
Dblocklayout.c126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
/Linux-v5.10/include/linux/
Dsched.h1535 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/Linux-v5.10/fs/ext4/
Dinode.c2029 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()
2036 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()
2037 == PF_MEMALLOC); in ext4_writepage()
5193 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
/Linux-v5.10/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.10/fs/jbd2/
Dtransaction.c1897 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/Linux-v5.10/fs/ceph/
Daddr.c625 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dvm.rst481 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_btree.c2826 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/Linux-v5.10/fs/btrfs/
Ddisk-io.c4222 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
Dinode.c8104 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()