/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_userptr.c | 38 #include <linux/mempolicy.h>
|
/linux-master/drivers/pci/ |
H A D | pci-driver.c | 11 #include <linux/mempolicy.h>
|
/linux-master/fs/proc/ |
H A D | internal.h | 18 struct mempolicy; 294 struct mempolicy *task_mempolicy;
|
H A D | task_mmu.c | 13 #include <linux/mempolicy.h> 2710 struct mempolicy *pol;
|
/linux-master/fs/ |
H A D | userfaultfd.c | 28 #include <linux/mempolicy.h>
|
/linux-master/include/linux/ |
H A D | gfp.h | 11 struct mempolicy; 267 struct mempolicy *mpol, pgoff_t ilx, int nid); 277 struct mempolicy *mpol, pgoff_t ilx, int nid)
|
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 182 struct mempolicy {}; struct [all...] |
H A D | migrate.h | 6 #include <linux/mempolicy.h>
|
H A D | mm.h | 34 struct mempolicy; 615 * set_policy() op must add a reference to any non-NULL @new mempolicy 619 * mempolicy. 621 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); 626 * in mm/mempolicy.c will do this automatically. 629 * If no [shared/vma] mempolicy exists at the addr, get_policy() op 633 struct mempolicy *(*get_policy)(struct vm_area_struct *vma, 3293 struct mempolicy *policy, 3330 struct mempolicy *new_pol)
|
H A D | mm_types.h | 739 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
|
H A D | sched.h | 62 struct mempolicy; 1141 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */ 1263 struct mempolicy *mempolicy; member in struct:task_struct
|
H A D | shmem_fs.h | 7 #include <linux/mempolicy.h> 71 struct mempolicy *mpol; /* default memory policy for mappings */
|
H A D | swap.h | 16 #include <uapi/linux/mempolicy.h>
|
/linux-master/init/ |
H A D | main.c | 63 #include <linux/mempolicy.h>
|
/linux-master/ipc/ |
H A D | shm.c | 566 static int shm_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) 576 static struct mempolicy *shm_get_policy(struct vm_area_struct *vma, 580 struct mempolicy *mpol = vma->vm_policy;
|
/linux-master/kernel/cgroup/ |
H A D | cpuset.c | 32 #include <linux/mempolicy.h> 433 * Now, the task_struct fields mems_allowed and mempolicy may be changed 2720 * cpuset_change_task_nodemask - change task's mems_allowed and mempolicy 2725 * and rebind an eventual tasks' mempolicy. If the task is allocating in 2867 * update mems_allowed and rebind task's mempolicy and any vma
|
/linux-master/kernel/ |
H A D | exit.c | 38 #include <linux/mempolicy.h>
|
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 | workqueue.c | 41 #include <linux/mempolicy.h>
|
/linux-master/kernel/sched/ |
H A D | build_utility.c | 32 #include <linux/mempolicy.h>
|
H A D | fair.c | 44 #include <linux/mempolicy.h>
|
/linux-master/mm/ |
H A D | Makefile | 76 obj-$(CONFIG_NUMA) += mempolicy.o
|
H A D | hugetlb.c | 15 #include <linux/mempolicy.h> 1396 struct mempolicy *mpol; 2584 struct mempolicy *mpol; 4148 * hstate attribute for optionally mempolicy-based constraint on persistent 4887 struct mempolicy *mpol = get_task_policy(current); 6638 struct mempolicy *mpol;
|
H A D | madvise.c | 12 #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 2132 struct mempolicy *mempolicy; local 2174 struct mempolicy *mempolicy; local [all...] |