Home
last modified time | relevance | path

Searched refs:PF_MEMALLOC (Results 1 – 18 of 18) 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.c617 current->flags &= ~PF_MEMALLOC; in handle_softirqs()
674 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
H A Dworkqueue.c3918 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
/linux/fs/gfs2/
H A Dsuper.c1025 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1171 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1254 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/linux/net/sunrpc/
H A Dxprtsock.c2225 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()
2245 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()
2430 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()
2507 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()
2727 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket()
2774 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.c3990 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4364 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4612 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4615 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
4816 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
4931 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
H A Dfolio.c482 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) { in folio_add_lru()
H A Dmemcontrol.c2692 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
2848 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()
6038 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
H A Dvmscan.c7511 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()
7561 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()
7910 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
H A Dmigrate.c1249 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
/linux/fs/iomap/
H A Dbuffered-io.c2080 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()
2081 PF_MEMALLOC)) in iomap_writepages()
/linux/fs/nfs/
H A Dlocalio.c720 return (current->flags & PF_MEMALLOC) || in nfs_local_defer_io()
/linux/include/linux/
H A Dsched.h1806 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
/linux/fs/ceph/
H A Daddr.c762 WARN_ON(!(current->flags & PF_MEMALLOC)); in write_folio_nounlock()
/linux/fs/btrfs/
H A Ddisk-io.c4646 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
/linux/fs/ext4/
H A Dinode.c5879 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()