Searched refs:PF_MEMALLOC (Results 1 – 15 of 15) sorted by relevance
320 if (current->flags & PF_MEMALLOC) in might_alloc()430 return memalloc_flags_save(PF_MEMALLOC); in memalloc_noreclaim_save()
232 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
2223 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket() 2243 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket() 2428 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket() 2505 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket() 2715 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket() 2759 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_tls_setup_socket()
944 current->flags |= PF_MEMALLOC; in __rpc_execute()1003 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
1519 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
3993 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()4314 if (current->flags & PF_MEMALLOC) in __need_reclaim()4549 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()4552 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()4718 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()4818 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
2614 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()2757 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()5778 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
1241 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
1954 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()1955 PF_MEMALLOC)) in iomap_writepages()
1765 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
759 WARN_ON(!(current->flags & PF_MEMALLOC)); in write_folio_nounlock()
544 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
4501 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
3824 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency() 3825 "workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%ps", in check_flush_dependency()
5764 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()