Searched refs:mpol (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/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 | 38 struct mempolicy *mpol; /* default memory policy for mappings */ member
|
| /Linux-v5.4/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-v5.4/mm/ |
| D | shmem.c | 114 struct mempolicy *mpol; member 1398 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument 1402 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol() 1405 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol() 1412 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local 1413 if (sbinfo->mpol) { in shmem_get_sbmpol() 1415 mpol = sbinfo->mpol; in shmem_get_sbmpol() 1416 mpol_get(mpol); in shmem_get_sbmpol() 1419 return mpol; in shmem_get_sbmpol() 1422 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument [all …]
|
| D | mempolicy.c | 1943 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 1947 *mpol = get_vma_policy(vma, addr); in huge_node() 1950 if (unlikely((*mpol)->mode == MPOL_INTERLEAVE)) { in huge_node() 1951 nid = interleave_nid(*mpol, vma, addr, in huge_node() 1954 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 1955 if ((*mpol)->mode == MPOL_BIND) in huge_node() 1956 *nodemask = &(*mpol)->v.nodes; in huge_node() 2580 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() argument 2587 if (mpol) { in mpol_shared_policy_init() 2595 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init() [all …]
|
| D | hugetlb.c | 944 struct mempolicy *mpol; in dequeue_huge_page_vma() local 963 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma() 970 mpol_cond_put(mpol); in dequeue_huge_page_vma() 1692 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local 1697 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol() 1699 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol() 1749 struct mempolicy *mpol; in alloc_huge_page_vma() local 1756 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma() 1758 mpol_cond_put(mpol); in alloc_huge_page_vma()
|