Lines Matching defs:mnode

731 	/* Validate that no large pages cross mnode boundaries. */
810 * an mnode based on the supplied memory segment.
871 mpo_plat_assign_lgrphand_to_mem_node(lgrp_handle_t plathand, int mnode)
874 "mnode index: %d\n", plathand, mnode);
875 plat_assign_lgrphand_to_mem_node(plathand, mnode);
891 * The stripe of an mnode that falls within an mblock is described by the type
892 * mem_stripe_t, and there is one mem_stripe_t per mnode per mblock. The
894 * this array is predetermined. The mem_stripe_t that describes mnode m
999 int i, mnode;
1007 * The mnode is defined to be 1:1 with the lgroup handle, which
1017 mnode = (((pfn + ra_to_pa_pfn) & home_mask_pfn) >>
1019 ASSERT(mnode < max_mem_nodes);
1021 return (mnode);
1067 * Initialize cookie "it" to iterate over pfn's in an mnode. There is
1072 * mnode: desired mnode.
1077 * within the mnode.
1080 * starting pfn within the mnode.
1085 * Returns: starting pfn for the iteration for the mnode/mblock,
1088 * valid pfn of the mnode.
1102 plat_mem_node_iterator_init(pfn_t pfn, int mnode, uchar_t szc,
1113 ASSERT(mnode >= 0 && mnode < max_mem_nodes);
1131 it->mi_mnode = mnode;
1136 it->mi_mblock_base = mem_node_config[mnode].physbase;
1137 it->mi_mblock_end = mem_node_config[mnode].physmax;
1152 mem_stripes[i * max_locality_groups + mnode].physmax);
1160 * Find mblock that contains pfn for mnode's stripe, or first such an
1168 ms = &mem_stripes[i * max_locality_groups + mnode];
1186 it->mi_mnode = mnode;
1210 int mnode, pgcnt_t *npages_out)
1219 if (!mem_node_config[mnode].exists || test_len == 0)
1222 base = mem_node_config[mnode].physbase;
1223 end = mem_node_config[mnode].physmax;
1238 * Iterate over all the stripes for this mnode (one per mblock),
1251 for (i = mnode; i < n_mem_stripes; i += max_locality_groups) {
1314 * Return 1 if pages are valid and do not cross mnode boundaries
1353 * within one mnode to use MPO.
1360 "mnode slice = %lx\n", max_coalesce_len, ptob(mnode_pages));
1396 * mnode does not change.
1778 int i, mnode;
1834 mnode = lgrphand;
1835 ASSERT(mnode < max_mem_nodes);
1839 * belong to the mnode in the last partial stride.
1853 ms = &mc->mc_stripes[i * max_locality_groups + mnode];
1881 * Read stripes from mc and update mnode extents. The mnode extents are
1889 int i, j, mnode, found;
1901 panic("mnode update: %d: invalid\n", utype);
1907 for (mnode = 0; mnode < max_locality_groups; mnode++) {
1909 j = i * max_locality_groups + mnode;
1930 mnode, mnode);
1986 * - Update (expand) the mnode extents and install the modified mblocks as
1999 * - Update (shrink) the mnode extents and install the modified mblocks as