Home
last modified time | relevance | path

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

/linux/include/linux/sched/
A Dmm.h297 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
298 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()
304 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
/linux/kernel/
A Dsoftirq.c530 current->flags &= ~PF_MEMALLOC; in __do_softirq()
588 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
A Dworkqueue.c2634 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/linux/fs/gfs2/
A 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/fs/
A Dmpage.c81 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/linux/fs/iomap/
A Dbuffered-io.c1413 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()
1414 PF_MEMALLOC)) in iomap_do_writepage()
/linux/mm/
A Dpage_alloc.c4193 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4524 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4714 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4717 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
5003 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
5089 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
A Dvmscan.c4475 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()
4526 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()
4817 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
A Dmigrate.c977 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
A Dmemcontrol.c2580 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
/linux/fs/ext4/
A Dinode.c2032 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()
2039 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()
2040 == PF_MEMALLOC); in ext4_writepage()
5171 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
/linux/include/linux/
A Dsched.h1672 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/linux/fs/reiserfs/
A 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/fs/jbd2/
A Dtransaction.c1919 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/linux/fs/ceph/
A Daddr.c510 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/linux/fs/ntfs3/
A Dfsntfs.c1450 if (!bio && (current->flags & PF_MEMALLOC)) { in ntfs_alloc_bio()
/linux/Documentation/admin-guide/sysctl/
A Dvm.rst474 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/linux/fs/xfs/libxfs/
A Dxfs_btree.c2821 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/linux/fs/btrfs/
A Ddisk-io.c4534 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
A Dinode.c8440 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()

Completed in 169 milliseconds