Searched refs:PF_MEMALLOC (Results 1 – 22 of 22) sorted by relevance
341 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save()342 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save()348 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore()
543 current->flags &= ~PF_MEMALLOC; in __do_softirq()601 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
2625 WARN_ONCE(current->flags & PF_MEMALLOC, in check_flush_dependency()
242 current->flags |= PF_MEMALLOC; in xprt_rdma_connect_worker()256 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
944 unlikely(current->flags & PF_MEMALLOC) && in gfs2_drop_inode()1148 if (current->flags & PF_MEMALLOC) in gfs2_glock_put_eventually()1230 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in evict_should_delete()
946 current->flags |= PF_MEMALLOC; in __rpc_execute()1005 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
2111 current->flags |= PF_MEMALLOC; in xs_udp_setup_socket()2131 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()2293 current->flags |= PF_MEMALLOC; in xs_tcp_setup_socket()2362 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()
1510 current->flags |= PF_MEMALLOC; in xprt_prepare_transmit()
528 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC)) in folio_add_lru()
4335 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_show_mem()4671 if (current->flags & PF_MEMALLOC) in __need_reclaim()4890 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()4893 if (current->flags & PF_MEMALLOC) in __gfp_pfmemalloc_flags()5182 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()5276 WARN_ON_ONCE_GFP(current->flags & PF_MEMALLOC, gfp_mask); in __alloc_pages_slowpath()
1027 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
7335 tsk->flags |= PF_MEMALLOC | PF_KSWAPD; in kswapd()7386 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD); in kswapd()7678 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in node_reclaim()
2668 if (unlikely(current->flags & PF_MEMALLOC)) in try_charge_memcg()2810 !(current->flags & PF_MEMALLOC) && in try_charge_memcg()7700 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
1456 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()1457 PF_MEMALLOC)) in iomap_do_writepage()
1729 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
2065 if ((current->flags & PF_MEMALLOC) || in ext4_writepage()2072 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage()2073 == PF_MEMALLOC); in ext4_writepage()5252 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC) || in ext4_write_inode()
1775 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode()2532 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
1938 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
577 WARN_ON(!(current->flags & PF_MEMALLOC)); in writepage_nounlock()
475 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
2896 new_pflags |= PF_MEMALLOC | PF_KSWAPD; in xfs_btree_split_worker()
4796 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()