Lines Matching refs:v
188 pol->v.nodes = *nodes; in mpol_new_interleave()
199 pol->v.preferred_node = first_node(*nodes); in mpol_new_preferred()
207 pol->v.nodes = *nodes; in mpol_new_bind()
335 nodes_remap(tmp, pol->v.nodes, in mpol_rebind_nodemask()
349 nodes_or(pol->v.nodes, pol->v.nodes, tmp); in mpol_rebind_nodemask()
351 pol->v.nodes = tmp; in mpol_rebind_nodemask()
374 pol->v.preferred_node = node; in mpol_rebind_preferred()
380 pol->v.preferred_node = first_node(tmp); in mpol_rebind_preferred()
382 pol->v.preferred_node = node_remap(pol->v.preferred_node, in mpol_rebind_preferred()
829 nodes_weight(new->v.nodes)) in do_set_mempolicy()
830 current->il_next = first_node(new->v.nodes); in do_set_mempolicy()
854 *nodes = p->v.nodes; in get_policy_nodemask()
858 node_set(p->v.preferred_node, *nodes); in get_policy_nodemask()
1670 if (!nodes_intersects(policy->v.nodes, node_states[N_HIGH_MEMORY])) in apply_policy_zone()
1685 cpuset_nodemask_valid_mems_allowed(&policy->v.nodes)) in policy_nodemask()
1686 return &policy->v.nodes; in policy_nodemask()
1698 nd = policy->v.preferred_node; in policy_zonelist()
1708 unlikely(!node_isset(nd, policy->v.nodes))) in policy_zonelist()
1709 nd = first_node(policy->v.nodes); in policy_zonelist()
1724 next = next_node(nid, policy->v.nodes); in interleave_nodes()
1726 next = first_node(policy->v.nodes); in interleave_nodes()
1753 return policy->v.preferred_node; in mempolicy_slab_node()
1768 &policy->v.nodes, in mempolicy_slab_node()
1782 unsigned nnodes = nodes_weight(pol->v.nodes); in offset_il_node()
1792 nid = next_node(nid, pol->v.nodes); in offset_il_node()
1866 *nodemask = &(*mpol)->v.nodes; in huge_zonelist()
1902 nid = mempolicy->v.preferred_node; in init_nodemask_of_mempolicy()
1909 *mask = mempolicy->v.nodes; in init_nodemask_of_mempolicy()
1955 ret = nodes_intersects(mempolicy->v.nodes, *mask); in mempolicy_nodemask_intersects()
2149 return !!nodes_equal(a->v.nodes, b->v.nodes); in __mpol_equal()
2151 return a->v.preferred_node == b->v.preferred_node; in __mpol_equal()
2296 polnid = pol->v.preferred_node; in mpol_misplaced()
2306 if (node_isset(curnid, pol->v.nodes)) in mpol_misplaced()
2311 &pol->v.nodes, &zone); in mpol_misplaced()
2497 npol ? nodes_addr(npol->v.nodes)[0] : NUMA_NO_NODE); in mpol_set_shared_policy()
2597 .v = { .preferred_node = nid, }, in numa_policy_init()
2762 new->v.nodes = nodes; in mpol_parse_str()
2764 new->v.preferred_node = first_node(nodes); in mpol_parse_str()
2817 node_set(pol->v.preferred_node, nodes); in mpol_to_str()
2821 nodes = pol->v.nodes; in mpol_to_str()