Searched refs:mempolicy (Results 1 – 14 of 14) sorted by relevance
| /linux/include/linux/ |
| H A D | mempolicy.h | 47 struct mempolicy { struct 66 extern void __mpol_put(struct mempolicy *pol); 67 static inline void mpol_put(struct mempolicy *pol) in mpol_put() 77 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref() 82 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put() 88 extern struct mempolicy *__mpol_dup(struct mempolicy *pol); 89 static inline struct mempolicy *mpol_dup(struct mempolicy *pol) in mpol_dup() 96 static inline void mpol_get(struct mempolicy *pol) in mpol_get() 102 extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b); 103 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-mempolicy-weighted-interleave | 1 What: /sys/kernel/mm/mempolicy/weighted_interleave/ 6 What: /sys/kernel/mm/mempolicy/weighted_interleave/nodeN 12 utilized by tasks which have set their mempolicy to 29 What: /sys/kernel/mm/mempolicy/weighted_interleave/auto
|
| H A D | sysfs-kernel-mm-mempolicy | 1 What: /sys/kernel/mm/mempolicy/
|
| /linux/tools/testing/vma/include/ |
| H A D | stubs.h | 37 struct mempolicy {}; struct 181 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal() 373 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
|
| H A D | dup.h | 608 struct mempolicy *vm_policy; /* NUMA policy for the VMA */ 706 * set_policy() op must add a reference to any non-NULL @new mempolicy 710 * mempolicy. 712 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); 717 * in mm/mempolicy.c will do this automatically. 720 * If no [shared/vma] mempolicy exists at the addr, get_policy() op 724 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
|
| /linux/mm/ |
| H A D | swap_state.c | 13 #include <linux/mempolicy.h> 412 struct mempolicy *mpol, pgoff_t ilx) in __swap_cache_alloc() 516 struct mempolicy *mpol, pgoff_t ilx) in swap_cache_alloc_folio() 643 swp_entry_t entry, gfp_t gfp, struct mempolicy *mpol, in swap_cache_read_folio() 684 struct vm_fault *vmf, struct mempolicy *mpol, pgoff_t ilx) in swapin_sync() 714 struct mempolicy *mpol; in read_swap_cache_async() 731 struct mempolicy *mpol, pgoff_t ilx) in __swapin_nr_pages() 821 struct mempolicy *mpol, pgoff_t ilx) in swap_cluster_readahead() 916 struct mempolicy *mpol, pgoff_t targ_ilx, struct vm_fault *vmf) in swap_vma_readahead() 990 struct mempolicy *mpo [all...] |
| H A D | slub.c | 4612 struct mempolicy *mpol = current->mempolicy; in apply_strict_numa_policy()
|
| /linux/Documentation/driver-api/cxl/allocation/ |
| H A D | page-allocator.rst | 15 NUMA nodes and mempolicy 17 Unless a task explicitly registers a mempolicy, the default memory policy
|
| /linux/fs/proc/ |
| H A D | internal.h | 19 struct mempolicy; 401 struct mempolicy *task_mempolicy;
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | mm-api.rst | 117 mm/mempolicy.c
|
| /linux/virt/kvm/ |
| H A D | guest_memfd.c | 7 #include <linux/mempolicy.h> 86 struct mempolicy *policy; in kvm_gmem_prepare_folio() 400 static int kvm_gmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in kvm_gmem_fault_user_mapping() 407 static struct mempolicy *kvm_gmem_get_policy(struct vm_area_struct *vma, in kvm_gmem_fault_user_mapping()
|
| /linux/kernel/ |
| H A D | fork.c | 2243 p->mempolicy = mpol_dup(p->mempolicy); in copy_process() 2244 if (IS_ERR(p->mempolicy)) { in copy_process() 2245 retval = PTR_ERR(p->mempolicy); in copy_process() 2246 p->mempolicy = NULL; in copy_process() 2628 mpol_put(p->mempolicy); in copy_process()
|
| /linux/kernel/futex/ |
| H A D | core.c | 40 #include <linux/mempolicy.h> 294 struct mempolicy *mpol; in __futex_key_to_node()
|
| /linux/ |
| H A D | MAINTAINERS | 17230 F: Documentation/ABI/testing/sysfs-kernel-mm-mempolicy 17231 F: Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave 17232 F: include/linux/mempolicy.h 17233 F: include/uapi/linux/mempolicy.h 17236 F: mm/mempolicy.c
|