Searched refs:PF_MEMALLOC (Results 1 – 22 of 22) sorted by relevance
526 current->flags &= ~PF_MEMALLOC; in handle_softirqs()583 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()
232 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
1043 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()1254 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()1331 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
2198 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()2218 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()2402 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()2479 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()2682 current->flags |= PF_MEMALLOC; in xs_tcp_tls_setup_socket()2732 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()
510 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_add_lru()
3519 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()3840 if (current->flags & PF_MEMALLOC) in __need_reclaim()4066 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()4069 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()4238 WARN_ON_ONCE(current->flags & PF_MEMALLOC); in __alloc_pages_slowpath()4376 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
2198 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()2347 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()5310 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
7188 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()7238 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()7533 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
1238 if (current->flags & PF_MEMALLOC) in migrate_folio_unmap()
1997 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) == in iomap_writepages()1998 PF_MEMALLOC)) in iomap_writepages()
1671 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() … macro
1769 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()2523 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_folio()
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
3022 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
4422 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
5195 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()
Completed in 142 milliseconds