/openbmc/linux/include/linux/sched/ |
H A D | mm.h | 373 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save() 374 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save() 380 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
|
/openbmc/linux/kernel/ |
H A D | softirq.c | 532 current->flags &= ~PF_MEMALLOC; in handle_softirqs() 589 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
|
H A D | workqueue.c | 2972 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | transport.c | 233 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker() 247 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
|
/openbmc/linux/fs/gfs2/ |
H A D | super.c | 1051 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode() 1272 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually() 1360 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
|
/openbmc/linux/net/sunrpc/ |
H A D | xprtsock.c | 2187 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket() 2207 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket() 2391 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket() 2468 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket() 2678 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket() 2728 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_tls_setup_socket()
|
H A D | sched.c | 944 current->flags |= PF_MEMALLOC; in __rpc_execute() 1003 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
|
H A D | xprt.c | 1510 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
|
/openbmc/linux/mm/ |
H A D | page_alloc.c | 3239 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem() 3560 if (current->flags & PF_MEMALLOC) in __need_reclaim() 3786 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags() 3789 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags() 4072 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath() 4163 * PF_MEMALLOC request from this context is rather bizarre in __alloc_pages_slowpath() 4167 WARN_ON_ONCE_GFP(current->flags & PF_MEMALLOC, gfp_mask); in __alloc_pages_slowpath() 5678 * __GFP_HIGH and PF_MEMALLOC allocations usually don't in __setup_per_zone_wmarks()
|
H A D | swap.c | 503 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_add_lru()
|
H A D | memcontrol.c | 2683 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg() 2825 !(current->flags & PF_MEMALLOC) && in try_charge_memcg() 7877 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
|
H A D | migrate.c | 1153 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
|
H A D | vmscan.c | 7759 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd() 7810 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd() 8102 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
|
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 1917 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage() 1918 PF_MEMALLOC)) in iomap_do_writepage()
|
/openbmc/linux/include/linux/ |
H A D | sched.h | 1744 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
|
/openbmc/linux/fs/reiserfs/ |
H A D | inode.c | 1773 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode() 2528 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
|
/openbmc/linux/fs/jbd2/ |
H A D | transaction.c | 1926 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
|
/openbmc/linux/fs/ceph/ |
H A D | addr.c | 693 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
|
/openbmc/linux/Documentation/admin-guide/sysctl/ |
H A D | vm.rst | 475 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2895 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
|
/openbmc/linux/fs/btrfs/ |
H A D | disk-io.c | 4503 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
|
/openbmc/linux/fs/ext4/ |
H A D | inode.c | 5214 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()
|