/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-mem.h | 63 #define memory_pressure_get() (current->flags & PF_MEMALLOC) 64 #define memory_pressure_set() do { current->flags |= PF_MEMALLOC; } while (0) 65 #define memory_pressure_clr() do { current->flags &= ~PF_MEMALLOC; } while (0)
|
/linux-4.4.14/kernel/ |
D | softirq.c | 245 current->flags &= ~PF_MEMALLOC; in __do_softirq() 301 tsk_restore_flags(current, old_flags, PF_MEMALLOC); in __do_softirq()
|
/linux-4.4.14/mm/ |
D | vmscan.c | 3444 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in kswapd() 3501 tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); in kswapd() 3559 p->flags |= PF_MEMALLOC; in shrink_all_memory() 3568 p->flags &= ~PF_MEMALLOC; in shrink_all_memory() 3748 p->flags |= PF_MEMALLOC | PF_SWAPWRITE; in __zone_reclaim() 3764 current->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE); in __zone_reclaim() 3794 if (!gfpflags_allow_blocking(gfp_mask) || (current->flags & PF_MEMALLOC)) in zone_reclaim()
|
D | page_alloc.c | 2675 (current->flags & (PF_MEMALLOC | PF_EXITING))) in warn_alloc_failed() 2784 current->flags |= PF_MEMALLOC; in __alloc_pages_direct_compact() 2787 current->flags &= ~PF_MEMALLOC; in __alloc_pages_direct_compact() 2850 current->flags |= PF_MEMALLOC; in __perform_reclaim() 2860 current->flags &= ~PF_MEMALLOC; in __perform_reclaim() 2965 else if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in gfp_to_alloc_flags() 2968 ((current->flags & PF_MEMALLOC) || in gfp_to_alloc_flags() 3085 if (current->flags & PF_MEMALLOC) in __alloc_pages_slowpath()
|
D | migrate.c | 806 if (current->flags & PF_MEMALLOC) in __unmap_and_move()
|
/linux-4.4.14/drivers/scsi/ |
D | iscsi_tcp.c | 377 current->flags |= PF_MEMALLOC; in iscsi_sw_tcp_pdu_xmit() 390 tsk_restore_flags(current, pflags, PF_MEMALLOC); in iscsi_sw_tcp_pdu_xmit()
|
/linux-4.4.14/drivers/block/ |
D | nbd.c | 189 current->flags |= PF_MEMALLOC; in sock_xmit() 216 tsk_restore_flags(current, pflags, PF_MEMALLOC); in sock_xmit()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_trans_ail.c | 499 current->flags |= PF_MEMALLOC; in xfsaild()
|
D | xfs_aops.c | 974 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_vm_writepage() 975 PF_MEMALLOC)) in xfs_vm_writepage()
|
/linux-4.4.14/drivers/mmc/card/ |
D | queue.c | 54 current->flags |= PF_MEMALLOC; in mmc_queue_thread()
|
/linux-4.4.14/fs/ |
D | mpage.c | 75 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in mpage_alloc()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nandsim.c | 1378 if (current->flags & PF_MEMALLOC) in set_memalloc() 1380 current->flags |= PF_MEMALLOC; in set_memalloc() 1387 current->flags &= ~PF_MEMALLOC; in clear_memalloc()
|
/linux-4.4.14/fs/nfs/blocklayout/ |
D | blocklayout.c | 125 if (!bio && (current->flags & PF_MEMALLOC)) { in bl_alloc_init_bio()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_io.c | 588 !(current->flags & PF_MEMALLOC); in lov_io_submit()
|
/linux-4.4.14/fs/ext4/ |
D | inode.c | 1892 if ((current->flags & PF_MEMALLOC) || in ext4_writepage() 1899 WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) in ext4_writepage() 1900 == PF_MEMALLOC); in ext4_writepage() 4659 if (WARN_ON_ONCE(current->flags & PF_MEMALLOC)) in ext4_write_inode()
|
/linux-4.4.14/net/core/ |
D | sock.c | 375 current->flags |= PF_MEMALLOC; in __sk_backlog_rcv() 377 tsk_restore_flags(current, pflags, PF_MEMALLOC); in __sk_backlog_rcv()
|
D | dev.c | 3979 current->flags |= PF_MEMALLOC; in __netif_receive_skb() 3981 tsk_restore_flags(current, pflags, PF_MEMALLOC); in __netif_receive_skb()
|
/linux-4.4.14/fs/reiserfs/ |
D | inode.c | 1789 if (wbc->sync_mode == WB_SYNC_ALL && !(current->flags & PF_MEMALLOC)) { in reiserfs_write_inode() 2541 if (checked && (current->flags & PF_MEMALLOC)) { in reiserfs_write_full_page()
|
/linux-4.4.14/fs/jbd2/ |
D | transaction.c | 1750 if (handle->h_sync && !(current->flags & PF_MEMALLOC)) in jbd2_journal_stop()
|
/linux-4.4.14/fs/ceph/ |
D | addr.c | 511 WARN_ON((current->flags & PF_MEMALLOC) == 0); in writepage_nounlock()
|
/linux-4.4.14/include/linux/ |
D | sched.h | 2080 #define PF_MEMALLOC 0x00000800 /* Allocating memory */ macro
|
/linux-4.4.14/Documentation/sysctl/ |
D | vm.txt | 432 Some minimal amount of memory is needed to satisfy PF_MEMALLOC
|
/linux-4.4.14/kernel/locking/ |
D | lockdep.c | 2745 if ((curr->flags & PF_MEMALLOC) && !(gfp_mask & __GFP_NOMEMALLOC)) in __lockdep_trace_alloc()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_btree.c | 2552 new_pflags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; in xfs_btree_split_worker()
|
/linux-4.4.14/fs/cifs/ |
D | connect.c | 857 current->flags |= PF_MEMALLOC; in cifs_demultiplex_thread()
|
/linux-4.4.14/fs/btrfs/ |
D | disk-io.c | 3983 if (current->flags & PF_MEMALLOC) in __btrfs_btree_balance_dirty()
|
D | extent_io.c | 2760 if (bio == NULL && (current->flags & PF_MEMALLOC)) { in btrfs_bio_alloc()
|
D | inode.c | 8552 if (current->flags & PF_MEMALLOC) { in btrfs_writepage()
|