/kernel/linux/linux-6.6/include/linux/ |
H A D | mempolicy.h | 16 #include <uapi/linux/mempolicy.h> 25 * A mempolicy can be either associated with a process or with a VMA. 36 * Mempolicy objects are reference counted. A mempolicy will be freed when 40 * mpol_dup() allocates a new mempolicy and copies the specified mempolicy 44 struct mempolicy { struct 58 * Support for managing mempolicy data objects (clone, copy, destroy) 62 extern void __mpol_put(struct mempolicy *pol); 63 static inline void mpol_put(struct mempolicy *pol) in mpol_put() 70 * Does mempolicy po 189 struct mempolicy {}; global() struct [all...] |
H A D | shmem_fs.h | 7 #include <linux/mempolicy.h> 67 struct mempolicy *mpol; /* default memory policy for mappings */
|
H A D | migrate.h | 6 #include <linux/mempolicy.h>
|
H A D | sched.h | 54 struct mempolicy; 1249 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */ 1371 struct mempolicy *mempolicy; member
|
H A D | mm_types.h | 658 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
|
H A D | swap.h | 16 #include <uapi/linux/mempolicy.h>
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mempolicy.h | 17 #include <uapi/linux/mempolicy.h> 26 * A mempolicy can be either associated with a process or with a VMA. 37 * Mempolicy objects are reference counted. A mempolicy will be freed when 41 * mpol_dup() allocates a new mempolicy and copies the specified mempolicy 45 struct mempolicy { struct 61 * Support for managing mempolicy data objects (clone, copy, destroy) 65 extern void __mpol_put(struct mempolicy *pol); 66 static inline void mpol_put(struct mempolicy *pol) in mpol_put() 73 * Does mempolicy po 192 struct mempolicy {}; global() struct [all...] |
H A D | shmem_fs.h | 7 #include <linux/mempolicy.h> 42 struct mempolicy *mpol; /* default memory policy for mappings */
|
H A D | migrate.h | 6 #include <linux/mempolicy.h>
|
H A D | mm_types.h | 392 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
|
H A D | sched.h | 50 struct mempolicy; 1141 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */ 1264 struct mempolicy *mempolicy; member
|
/kernel/linux/linux-5.10/mm/ |
H A D | mempolicy.c | 70 #include <linux/mempolicy.h> 122 static struct mempolicy default_policy = { 128 static struct mempolicy preferred_node_policy[MAX_NUMNODES]; 156 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy() 158 struct mempolicy *pol = p->mempolicy; in get_task_policy() 176 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 177 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 180 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) in mpol_store_user_nodemask() 193 static int mpol_new_interleave(struct mempolicy *po 2051 struct mempolicy *mempolicy; init_nodemask_of_mempolicy() local 2095 struct mempolicy *mempolicy; mempolicy_nodemask_intersects() local [all...] |
H A D | shmem.c | 70 #include <linux/mempolicy.h> 113 struct mempolicy *mpol; 1471 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1483 static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 1485 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() 1495 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1498 static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 1617 * NUMA mempolicy, and applied also to anonymous pages in do_swap_page(); 2216 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() 2222 static struct mempolicy *shmem_get_polic [all...] |
H A D | Makefile | 78 obj-$(CONFIG_NUMA) += mempolicy.o
|
/kernel/linux/linux-6.6/mm/ |
H A D | mempolicy.c | 73 #include <linux/mempolicy.h> 126 static struct mempolicy default_policy = { 131 static struct mempolicy preferred_node_policy[MAX_NUMNODES]; 165 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy() 167 struct mempolicy *pol = p->mempolicy; in get_task_policy() 185 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 186 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 189 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) in mpol_store_user_nodemask() 202 static int mpol_new_nodemask(struct mempolicy *po 2073 struct mempolicy *mempolicy; init_nodemask_of_mempolicy() local 2114 struct mempolicy *mempolicy; mempolicy_in_oom_domain() local [all...] |
H A D | Makefile | 79 obj-$(CONFIG_NUMA) += mempolicy.o
|
H A D | shmem.c | 69 #include <linux/mempolicy.h> 115 struct mempolicy *mpol; 1553 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1565 static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 1567 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() 1577 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1580 static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 1722 * NUMA mempolicy, and applied also to anonymous pages in do_swap_page(); 2343 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() 2349 static struct mempolicy *shmem_get_polic [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | internal.h | 18 struct mempolicy; 301 struct mempolicy *task_mempolicy;
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | internal.h | 18 struct mempolicy; 294 struct mempolicy *task_mempolicy;
|
/kernel/linux/linux-5.10/fs/kernfs/ |
H A D | file.c | 396 struct mempolicy *new) in kernfs_vma_set_policy() 416 static struct mempolicy *kernfs_vma_get_policy(struct vm_area_struct *vma, in kernfs_vma_get_policy() 421 struct mempolicy *pol; in kernfs_vma_get_policy()
|
/kernel/linux/linux-6.6/fs/kernfs/ |
H A D | file.c | 434 struct mempolicy *new) in kernfs_vma_set_policy() 454 static struct mempolicy *kernfs_vma_get_policy(struct vm_area_struct *vma, in kernfs_vma_get_policy() 459 struct mempolicy *pol; in kernfs_vma_get_policy()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | fork.c | 34 #include <linux/mempolicy.h> 2081 p->mempolicy = mpol_dup(p->mempolicy); in copy_process() 2082 if (IS_ERR(p->mempolicy)) { in copy_process() 2083 retval = PTR_ERR(p->mempolicy); in copy_process() 2084 p->mempolicy = NULL; in copy_process() 2415 mpol_put(p->mempolicy); in copy_process()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | fork.c | 34 #include <linux/mempolicy.h> 2446 p->mempolicy = mpol_dup(p->mempolicy); in copy_process() 2447 if (IS_ERR(p->mempolicy)) { in copy_process() 2448 retval = PTR_ERR(p->mempolicy); in copy_process() 2449 p->mempolicy = NULL; in copy_process() 2797 mpol_put(p->mempolicy); in copy_process()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mkdirty.c | 23 #include <linux/mempolicy.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_userptr.c | 38 #include <linux/mempolicy.h>
|