Home
last modified time | relevance | path

Searched refs:mempolicy (Results 1 - 25 of 67) sorted by relevance

123

/kernel/linux/linux-6.6/include/linux/
H A Dmempolicy.h16 #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 Dshmem_fs.h7 #include <linux/mempolicy.h>
67 struct mempolicy *mpol; /* default memory policy for mappings */
H A Dmigrate.h6 #include <linux/mempolicy.h>
H A Dsched.h54 struct mempolicy;
1249 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */
1371 struct mempolicy *mempolicy; member
H A Dmm_types.h658 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
H A Dswap.h16 #include <uapi/linux/mempolicy.h>
/kernel/linux/linux-5.10/include/linux/
H A Dmempolicy.h17 #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 Dshmem_fs.h7 #include <linux/mempolicy.h>
42 struct mempolicy *mpol; /* default memory policy for mappings */
H A Dmigrate.h6 #include <linux/mempolicy.h>
H A Dmm_types.h392 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
H A Dsched.h50 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 Dmempolicy.c70 #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 Dshmem.c70 #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 DMakefile78 obj-$(CONFIG_NUMA) += mempolicy.o
/kernel/linux/linux-6.6/mm/
H A Dmempolicy.c73 #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 DMakefile79 obj-$(CONFIG_NUMA) += mempolicy.o
H A Dshmem.c69 #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 Dinternal.h18 struct mempolicy;
301 struct mempolicy *task_mempolicy;
/kernel/linux/linux-6.6/fs/proc/
H A Dinternal.h18 struct mempolicy;
294 struct mempolicy *task_mempolicy;
/kernel/linux/linux-5.10/fs/kernfs/
H A Dfile.c396 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 Dfile.c434 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 Dfork.c34 #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 Dfork.c34 #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 Dmkdirty.c23 #include <linux/mempolicy.h>
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_userptr.c38 #include <linux/mempolicy.h>

Completed in 40 milliseconds

123