Searched refs:mpol (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/include/linux/ |
D | mempolicy.h | 131 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol); 151 struct mempolicy **mpol, nodemask_t **nodemask); 170 extern int mpol_parse_str(char *str, struct mempolicy **mpol); 232 struct mempolicy *mpol) in mpol_shared_policy_init() argument 273 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 275 *mpol = NULL; in huge_node() 296 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
|
D | shmem_fs.h | 37 struct mempolicy *mpol; /* default memory policy for mappings */ member
|
/Linux-v4.19/Documentation/filesystems/ |
D | tmpfs.txt | 85 mpol=default use the process allocation policy 87 mpol=prefer:Node prefers to allocate memory from the given Node 88 mpol=bind:NodeList allocates memory only from nodes in NodeList 89 mpol=interleave prefers to allocate from each node in turn 90 mpol=interleave:NodeList allocates from each node of NodeList in turn 91 mpol=local prefers to allocate memory from the local node 95 largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15 115 For example, mpol=bind=static:NodeList, is the equivalent of an 118 Note that trying to mount a tmpfs with an mpol option will fail if the 123 online, then it is advisable to omit the mpol option from automatic [all …]
|
/Linux-v4.19/mm/ |
D | shmem.c | 1384 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument 1388 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol() 1391 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol() 1398 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local 1399 if (sbinfo->mpol) { in shmem_get_sbmpol() 1401 mpol = sbinfo->mpol; in shmem_get_sbmpol() 1402 mpol_get(mpol); in shmem_get_sbmpol() 1405 return mpol; in shmem_get_sbmpol() 1408 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument 2122 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument [all …]
|
D | mempolicy.c | 1855 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 1859 *mpol = get_vma_policy(vma, addr); in huge_node() 1862 if (unlikely((*mpol)->mode == MPOL_INTERLEAVE)) { in huge_node() 1863 nid = interleave_nid(*mpol, vma, addr, in huge_node() 1866 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 1867 if ((*mpol)->mode == MPOL_BIND) in huge_node() 1868 *nodemask = &(*mpol)->v.nodes; in huge_node() 2481 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() argument 2488 if (mpol) { in mpol_shared_policy_init() 2496 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init() [all …]
|
D | hugetlb.c | 934 struct mempolicy *mpol; in dequeue_huge_page_vma() local 953 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma() 960 mpol_cond_put(mpol); in dequeue_huge_page_vma() 1617 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local 1622 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol() 1624 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol() 1674 struct mempolicy *mpol; in alloc_huge_page_vma() local 1681 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma() 1683 mpol_cond_put(mpol); in alloc_huge_page_vma()
|