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

/linux-master/include/linux/sched/
H A Dmm.h415 * does not give PF_MEMALLOC access to reserves.
421 return memalloc_flags_save(PF_MEMALLOC);
/linux-master/net/sunrpc/xprtrdma/
H A Dtransport.c233 current->flags |= PF_MEMALLOC;
247 current_restore_flags(pflags, PF_MEMALLOC);
/linux-master/kernel/
H A Dsoftirq.c522 * Mask out PF_MEMALLOC as the current task context is borrowed for the
523 * softirq. A softirq handled, such as network RX, might set PF_MEMALLOC
526 current->flags &= ~PF_MEMALLOC;
584 current_restore_flags(old_flags, PF_MEMALLOC);
H A Dworkqueue.c3725 WARN_ONCE(current->flags & PF_MEMALLOC,
3726 "workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%ps",
/linux-master/fs/gfs2/
H A Dsuper.c1042 unlikely(current->flags & PF_MEMALLOC) &&
1253 if (current->flags & PF_MEMALLOC)
1331 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC))
/linux-master/net/sunrpc/
H A Dsched.c944 current->flags |= PF_MEMALLOC;
1003 current_restore_flags(pflags, PF_MEMALLOC);
H A Dxprtsock.c2199 current->flags |= PF_MEMALLOC;
2219 current_restore_flags(pflags, PF_MEMALLOC);
2403 current->flags |= PF_MEMALLOC;
2472 current_restore_flags(pflags, PF_MEMALLOC);
2674 current->flags |= PF_MEMALLOC;
2724 current_restore_flags(pflags, PF_MEMALLOC);
H A Dxprt.c1519 current->flags |= PF_MEMALLOC;
/linux-master/mm/
H A Dswap.c526 lru_gen_in_fault() && !(current->flags & PF_MEMALLOC))
H A Dpage_alloc.c3366 (current->flags & (PF_MEMALLOC | PF_EXITING)))
3687 if (current->flags & PF_MEMALLOC)
3913 if (in_serving_softirq() && (current->flags & PF_MEMALLOC))
3916 if (current->flags & PF_MEMALLOC)
4198 if (current->flags & PF_MEMALLOC)
4289 * PF_MEMALLOC request from this context is rather bizarre
4293 WARN_ON_ONCE_GFP(current->flags & PF_MEMALLOC, gfp_mask);
5866 * __GFP_HIGH and PF_MEMALLOC allocations usually don't
H A Dvmscan.c7120 tsk->flags |= PF_MEMALLOC | PF_KSWAPD;
7170 tsk->flags &= ~(PF_MEMALLOC | PF_KSWAPD);
7465 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC))
H A Dmemcontrol.c2770 if (unlikely(current->flags & PF_MEMALLOC))
2919 !(current->flags & PF_MEMALLOC) &&
8185 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC));
8187 /* PF_MEMALLOC context, charging must succeed */
H A Dmigrate.c1157 if (current->flags & PF_MEMALLOC)
/linux-master/fs/iomap/
H A Dbuffered-io.c1978 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC | PF_KSWAPD)) ==
1979 PF_MEMALLOC))
/linux-master/include/linux/
H A Dsched.h1629 #define PF_MEMALLOC 0x00000800 /* Allocating memory to free memory. See memalloc_noreclaim_save() */ macro
/linux-master/fs/reiserfs/
H A Dinode.c1769 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) {
2523 /* no logging allowed when nonblocking or from PF_MEMALLOC */
2524 if (checked && (current->flags & PF_MEMALLOC)) {
/linux-master/fs/jbd2/
H A Dtransaction.c1955 if (handle->h_sync && !(current->flags & PF_MEMALLOC))
/linux-master/fs/ceph/
H A Daddr.c677 WARN_ON(!(current->flags & PF_MEMALLOC));
/linux-master/fs/btrfs/
H A Ddisk-io.c4431 if (current->flags & PF_MEMALLOC)
/linux-master/fs/xfs/libxfs/
H A Dxfs_btree.c3055 new_pflags |= PF_MEMALLOC | PF_KSWAPD;
/linux-master/fs/ext4/
H A Dinode.c5156 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC))
5164 ext4_debug("called recursively, non-PF_MEMALLOC!\n");

Completed in 356 milliseconds