Home
last modified time | relevance | path

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

/linux/net/sunrpc/xprtrdma/
H A Dtransport.c232 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()
246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
/linux/kernel/
H A Dsoftirq.c533 current->flags &= ~PF_MEMALLOC; in handle_softirqs()
590 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
H A Dworkqueue.c3714 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/linux/include/linux/sched/
H A Dmm.h427 return memalloc_flags_save(PF_MEMALLOC); in memalloc_noreclaim_save()
/linux/net/sunrpc/
H A Dxprtsock.c2203 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()
2223 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()
2407 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()
2484 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()
2694 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket()
2744 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_tls_setup_socket()
H A Dsched.c944 current->flags |= PF_MEMALLOC; in __rpc_execute()
1003 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
H A Dxprt.c1519 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
/linux/mm/
H A Dpage_alloc.c3522 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
3842 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4068 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4071 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
4240 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
4379 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
H A Dmemcontrol.c2251 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
2394 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()
5330 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
H A Dvmscan.c7220 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()
7270 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()
7567 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
H A Dmigrate.c1229 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
/linux/fs/iomap/
H A Dbuffered-io.c2055 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()
2056 PF_MEMALLOC)) in iomap_writepages()
/linux/include/linux/
H A Dsched.h1699 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
/linux/fs/jbd2/
H A Dtransaction.c1940 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/linux/fs/ceph/
H A Daddr.c710 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst529 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/linux/fs/btrfs/
H A Ddisk-io.c4502 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
/linux/fs/xfs/libxfs/
H A Dxfs_btree.c3020 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
/linux/fs/ext4/
H A Dinode.c5228 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()