Searched refs:PF_MEMALLOC (Results 1 – 19 of 19) sorted by relevance
232 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
533 current->flags &= ~PF_MEMALLOC; in handle_softirqs()590 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
3701 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
427 return memalloc_flags_save(PF_MEMALLOC); in memalloc_noreclaim_save()
2207 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()2227 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()2411 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()2488 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()2690 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket()2740 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_tls_setup_socket()
946 current->flags |= PF_MEMALLOC; in __rpc_execute()1005 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
1519 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
479 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_mark_accessed()
3521 (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()4378 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
2225 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg() 2368 !(current->flags & PF_MEMALLOC) && in commit_charge() 5332 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_uncharge_zswap() 5334 /* PF_MEMALLOC context, charging must succeed */ in obj_cgroup_uncharge_zswap()
7202 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()7252 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()7547 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
1239 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
2007 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()2008 PF_MEMALLOC)) in iomap_writepages()
1682 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
1940 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
700 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
529 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
4429 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
5227 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()