Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dmm.h256 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
257 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()
263 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
/OK3568_Linux_fs/kernel/kernel/
H A Dsoftirq.c276 current->flags &= ~PF_MEMALLOC; in __do_softirq()
343 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
H A Dworkqueue.c2641 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dsuper.c981 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1184 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1265 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/OK3568_Linux_fs/kernel/fs/
H A Dmpage.c117 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
/OK3568_Linux_fs/kernel/fs/iomap/
H A Dbuffered-io.c1458 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()
1459 PF_MEMALLOC)) in iomap_do_writepage()
/OK3568_Linux_fs/kernel/mm/
H A Dvmscan.c3982 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd()
4032 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd()
4379 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
H A Dpage_alloc.c4123 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4453 if (current->flags & PF_MEMALLOC) in __need_fs_reclaim()
4663 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4666 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
4962 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
5062 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
H A Dmigrate.c1031 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
H A Dmemcontrol.c2762 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge()
/OK3568_Linux_fs/kernel/fs/nfs/blocklayout/
H A Dblocklayout.c126 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h1574 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dinode.c2083 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()
2090 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()
2091 == PF_MEMALLOC); in ext4_writepage()
5294 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H 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()
/OK3568_Linux_fs/kernel/fs/jbd2/
H A Dtransaction.c1912 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/OK3568_Linux_fs/kernel/fs/ceph/
H A Daddr.c617 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/
H A Dvm.rst498 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_btree.c2823 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Ddisk-io.c4294 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
H A Dinode.c8139 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()