Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/sched/
A Dmm.h341 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()
342 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()
348 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
/linux-6.3-rc2/kernel/
A Dsoftirq.c543 current->flags &= ~PF_MEMALLOC; in __do_softirq()
601 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
A Dworkqueue.c2726 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Dtransport.c242 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()
256 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
/linux-6.3-rc2/fs/gfs2/
A Dsuper.c957 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1173 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1261 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/linux-6.3-rc2/net/sunrpc/
A Dsched.c946 current->flags |= PF_MEMALLOC; in __rpc_execute()
1005 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
A Dxprtsock.c2116 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()
2136 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()
2299 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()
2368 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()
A Dxprt.c1510 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
/linux-6.3-rc2/mm/
A Dswap.c511 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_add_lru()
A Dpage_alloc.c4369 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4705 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4931 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4934 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
5215 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
5309 WARN_ON_ONCE_GFP(current->flags & PF_MEMALLOC, gfp_mask); in __alloc_pages_slowpath()
A Dmemcontrol.c2682 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
2824 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()
7772 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
A Dmigrate.c1163 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
A Dvmscan.c7667 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()
7718 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()
8010 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
/linux-6.3-rc2/fs/iomap/
A Dbuffered-io.c1736 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()
1737 PF_MEMALLOC)) in iomap_do_writepage()
/linux-6.3-rc2/include/linux/
A Dsched.h1729 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
/linux-6.3-rc2/fs/ext4/
A Dinode.c2067 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()
2074 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()
2075 == PF_MEMALLOC); in ext4_writepage()
5325 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
/linux-6.3-rc2/fs/reiserfs/
A Dinode.c1775 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()
2532 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
/linux-6.3-rc2/fs/jbd2/
A Dtransaction.c1946 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/linux-6.3-rc2/fs/ceph/
A Daddr.c585 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/linux-6.3-rc2/Documentation/admin-guide/sysctl/
A Dvm.rst475 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_btree.c2896 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
/linux-6.3-rc2/fs/btrfs/
A Ddisk-io.c4712 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()

Completed in 164 milliseconds