Searched refs:n_units_per_set (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_mem.c1613 int n_units_per_set; local
1651 n_units_per_set = max_boards * MAX_MEM_UNITS_PER_BOARD;
1652 sets = GETSTRUCT(sbd_mem_unit_t *, n_units_per_set * n_sets);
1717 idx = n_units_per_set * preference;
1721 ASSERT(idx < n_units_per_set * n_sets);
1736 for (idx = 0; idx < n_units_per_set * n_sets; idx++) {
2001 FREESTRUCT(sets, sbd_mem_unit_t *, n_units_per_set * n_sets);
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c2075 int n_units_per_set; local
2095 n_units_per_set = MAX_BOARDS * MAX_MEM_UNITS_PER_BOARD;
2096 sets = GETSTRUCT(dr_mem_unit_t *, n_units_per_set * n_sets);
2331 idx = n_units_per_set * preference;
2335 ASSERT(idx < n_units_per_set * n_sets);
2350 for (idx = 0; idx < n_units_per_set * n_sets; idx++) {
2616 FREESTRUCT(sets, dr_mem_unit_t *, n_units_per_set * n_sets);

Completed in 85 milliseconds