Home
last modified time | relevance | path

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

/linux-6.15/include/linux/sched/
H A Dmm.h427 return memalloc_flags_save(PF_MEMALLOC); in memalloc_noreclaim_save()
/linux-6.15/kernel/
H A Dsoftirq.c551 current->flags &= ~PF_MEMALLOC; in handle_softirqs()
608 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-6.15/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-6.15/fs/gfs2/
H A Dsuper.c1043 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()
1254 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()
1337 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
/linux-6.15/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.c946 current->flags |= PF_MEMALLOC; in __rpc_execute()
1005 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
H A Dxprt.c1519 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
/linux-6.15/mm/
H A Dswap.c502 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_add_lru()
H A Dpage_alloc.c3729 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()
4049 if (current->flags & PF_MEMALLOC) in __need_reclaim()
4284 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
4287 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()
4456 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()
4603 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
H A Dmemcontrol.c2289 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()
2432 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()
5314 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
H A Dvmscan.c7271 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()
7321 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()
7641 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
H A Dmigrate.c1231 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
/linux-6.15/fs/iomap/
H A Dbuffered-io.c1953 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()
1954 PF_MEMALLOC)) in iomap_writepages()
/linux-6.15/include/linux/
H A Dsched.h1726 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
/linux-6.15/fs/jbd2/
H A Dtransaction.c1936 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
/linux-6.15/fs/ceph/
H A Daddr.c743 WARN_ON(!(current->flags & PF_MEMALLOC)); in write_folio_nounlock()
/linux-6.15/Documentation/admin-guide/sysctl/
H A Dvm.rst538 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
/linux-6.15/fs/btrfs/
H A Ddisk-io.c4530 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_btree.c3020 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
/linux-6.15/fs/ext4/
H A Dinode.c5285 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()