Searched refs:shared_policy (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/include/linux/ |
D | mempolicy.h | 122 struct shared_policy { struct 128 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol); argument 129 int mpol_set_shared_policy(struct shared_policy *info, 132 void mpol_free_shared_policy(struct shared_policy *p); 133 struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp, 214 struct shared_policy {}; struct 216 static inline void mpol_shared_policy_init(struct shared_policy *sp, in mpol_shared_policy_init() 221 static inline void mpol_free_shared_policy(struct shared_policy *p) in mpol_free_shared_policy() 226 mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx) in mpol_shared_policy_lookup()
|
D | shmem_fs.h | 24 struct shared_policy policy; /* NUMA memory alloc policy */
|
D | hugetlb.h | 482 struct shared_policy policy;
|
/linux-5.19.10/mm/ |
D | mempolicy.c | 2460 sp_lookup(struct shared_policy *sp, unsigned long start, unsigned long end) in sp_lookup() 2493 static void sp_insert(struct shared_policy *sp, struct sp_node *new) in sp_insert() 2517 mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx) in mpol_shared_policy_lookup() 2647 static void sp_delete(struct shared_policy *sp, struct sp_node *n) in sp_delete() 2684 static int shared_policy_replace(struct shared_policy *sp, unsigned long start, in shared_policy_replace() 2760 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() 2799 int mpol_set_shared_policy(struct shared_policy *info, in mpol_set_shared_policy() 2824 void mpol_free_shared_policy(struct shared_policy *p) in mpol_free_shared_policy()
|