/linux-master/mm/ |
H A D | zswap.c | 26 #include <linux/mempolicy.h> 1034 struct mempolicy *mpol;
|
H A D | swap_state.c | 13 #include <linux/mempolicy.h> 430 struct mempolicy *mpol, pgoff_t ilx, bool *new_page_allocated, 557 struct mempolicy *mpol; 651 struct mempolicy *mpol, pgoff_t ilx) 816 struct mempolicy *mpol, pgoff_t targ_ilx, struct vm_fault *vmf) 897 struct mempolicy *mpol;
|
H A D | slub.c | 28 #include <linux/mempolicy.h>
|
H A D | shmem.c | 69 #include <linux/mempolicy.h> 116 struct mempolicy *mpol; 1532 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) 1544 static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) 1546 struct mempolicy *mpol = NULL; 1556 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) 1559 static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) 1565 static struct mempolicy *shmem_get_pgoff_policy(struct shmem_inode_info *info, 1571 struct mempolicy *mpol; 1609 struct mempolicy *mpo [all...] |
H A D | oom_kill.c | 38 #include <linux/mempolicy.h> 84 * shares the same mempolicy nodes as current if it is bound by such a policy 101 * If this is a mempolicy constrained oom, tsk's 103 * mempolicy intersects current, otherwise it may be 109 * This is not a mempolicy constrained oom, so only 283 * the page allocator means a mempolicy is in effect. Cpuset policy 420 * memcg, not in the same cpuset, or bound to a disjoint set of mempolicy nodes 1070 * does not panic for cpuset, mempolicy, or memcg allocation
|
H A D | mremap.c | 27 #include <linux/mempolicy.h>
|
H A D | mprotect.c | 19 #include <linux/mempolicy.h>
|
H A D | mmap.c | 33 #include <linux/mempolicy.h> 865 unsigned long vm_flags, pgoff_t pgoff, struct mempolicy *policy, 2477 struct mempolicy *policy,
|
H A D | mlock.c | 18 #include <linux/mempolicy.h>
|
H A D | migrate.c | 30 #include <linux/mempolicy.h>
|
H A D | mempolicy.c | 80 #include <linux/mempolicy.h> 134 static struct mempolicy default_policy = { 139 static struct mempolicy preferred_node_policy[MAX_NUMNODES]; 199 struct mempolicy *get_task_policy(struct task_struct *p) 201 struct mempolicy *pol = p->mempolicy; 219 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 220 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 223 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) 236 static int mpol_new_nodemask(struct mempolicy *po 2133 struct mempolicy *mempolicy; local 2175 struct mempolicy *mempolicy; local [all...] |
H A D | madvise.c | 12 #include <linux/mempolicy.h>
|
H A D | hugetlb.c | 15 #include <linux/mempolicy.h> 1396 struct mempolicy *mpol; 2575 struct mempolicy *mpol; 4143 * hstate attribute for optionally mempolicy-based constraint on persistent 4882 struct mempolicy *mpol = get_task_policy(current); 6637 struct mempolicy *mpol;
|
H A D | Makefile | 77 obj-$(CONFIG_NUMA) += mempolicy.o
|
/linux-master/kernel/sched/ |
H A D | fair.c | 44 #include <linux/mempolicy.h>
|
/linux-master/kernel/ |
H A D | fork.c | 34 #include <linux/mempolicy.h> 2321 p->mempolicy = mpol_dup(p->mempolicy); 2322 if (IS_ERR(p->mempolicy)) { 2323 retval = PTR_ERR(p->mempolicy); 2324 p->mempolicy = NULL; 2670 mpol_put(p->mempolicy);
|
H A D | exit.c | 38 #include <linux/mempolicy.h>
|
/linux-master/init/ |
H A D | main.c | 63 #include <linux/mempolicy.h>
|
/linux-master/include/linux/ |
H A D | swap.h | 16 #include <uapi/linux/mempolicy.h>
|
H A D | sched.h | 62 struct mempolicy; 1146 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */ 1268 struct mempolicy *mempolicy; member in struct:task_struct
|
H A D | mm_types.h | 740 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
|
H A D | mm.h | 35 struct mempolicy; 616 * set_policy() op must add a reference to any non-NULL @new mempolicy 620 * mempolicy. 622 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); 627 * in mm/mempolicy.c will do this automatically. 630 * If no [shared/vma] mempolicy exists at the addr, get_policy() op 634 struct mempolicy *(*get_policy)(struct vm_area_struct *vma, 3335 struct mempolicy *policy, 3372 struct mempolicy *new_pol)
|
H A D | mempolicy.h | 16 #include <uapi/linux/mempolicy.h> 27 * A mempolicy can be either associated with a process or with a VMA. 38 * Mempolicy objects are reference counted. A mempolicy will be freed when 42 * mpol_dup() allocates a new mempolicy and copies the specified mempolicy 46 struct mempolicy { struct 60 * Support for managing mempolicy data objects (clone, copy, destroy) 64 extern void __mpol_put(struct mempolicy *pol); 65 static inline void mpol_put(struct mempolicy *pol) 72 * Does mempolicy po 183 struct mempolicy {}; struct [all...] |
H A D | gfp.h | 13 struct mempolicy; 279 struct mempolicy *mpol, pgoff_t ilx, int nid); 289 struct mempolicy *mpol, pgoff_t ilx, int nid)
|
/linux-master/fs/ |
H A D | userfaultfd.c | 28 #include <linux/mempolicy.h>
|