Searched refs:rdc_max_sets (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc.conf41 # rdc_max_sets
47 rdc_max_sets=64;
H A Drdc_io.c270 for (i = 0; i < rdc_max_sets; i++) {
297 kmem_free(rdc_k_info, sizeof (*rdc_k_info) * rdc_max_sets);
299 kmem_free(rdc_u_info, sizeof (*rdc_u_info) * rdc_max_sets);
302 rdc_max_sets = 0;
330 if ((i = nsc_max_devices()) < rdc_max_sets)
331 rdc_max_sets = i;
333 if (!rdc_max_sets)
334 rdc_max_sets = 1024;
336 rdc_k_info = kmem_zalloc(sizeof (*rdc_k_info) * rdc_max_sets, KM_SLEEP);
340 rdc_u_info = kmem_zalloc(sizeof (*rdc_u_info) * rdc_max_sets, KM_SLEE
[all...]
H A Drdc.c184 int rdc_max_sets; variable
256 * rdc_max_sets must be set before calling _rdc_load().
259 rdc_max_sets = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
260 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, "rdc_max_sets", 64);
368 for (rdcd = 0; rdcd < rdc_max_sets; rdcd++) {
620 max = min(nset, rdc_max_sets);
649 /* copyout rdc_max_sets value */
651 if (ddi_copyout(&rdc_max_sets, maxsetsp, sizeof (*maxsetsp), mode) != 0)
867 info_stats->m_maxsets.value.ul = rdc_max_sets;
1080 if ((index < 0) || (index >= rdc_max_sets)) {
[all...]
H A Drdc_health.c569 for (index = 0; index < rdc_max_sets; index++) {
739 for (index = 0; index < rdc_max_sets; index++) {
H A Drdc_io.h702 #define IS_VALID_INDEX(index) ((index) >= 0 && (index) < rdc_max_sets && \
742 extern int rdc_max_sets;
H A Drdc_svc.c304 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) {
462 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) {
631 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) {
843 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) {
1281 if (b.cd >= 0 && b.cd < rdc_max_sets && IS_ENABLED(urdc) &&
1310 if (b.cd >= 0 && b.cd < rdc_max_sets && IS_ENABLED(urdc) &&
1357 if (bd.cd >= 0 && bd.cd < rdc_max_sets && IS_ENABLED(urdc) &&
1397 if (bd.cd >= 0 && bd.cd < rdc_max_sets && IS_ENABLED(urdc) &&
H A Drdc_diskq.c122 for (index = 0; index < rdc_max_sets; index++) {
270 for (index = 0; index < rdc_max_sets; index++) {
274 if (index >= rdc_max_sets)
2183 for (index = 0; index < rdc_max_sets; index++) {
H A Drdc_clnt.c1142 for (index = 0; index < rdc_max_sets; index++) {
2444 if (index > rdc_max_sets)
2537 if (index > rdc_max_sets)
3132 for (index = 0; index < rdc_max_sets; index++) {
3153 if (index >= rdc_max_sets) {
H A Drdc_dev.c346 for (index = 0; index < rdc_max_sets; index++) {
353 if (index == rdc_max_sets) {
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c69 int rdc_max_sets; local
79 if (mdb_readvar(&rdc_max_sets, "rdc_max_sets") == -1) {
80 mdb_warn("failed to read 'rdc_max_sets'");
86 winfo->end = (uintptr_t)(rdc_k_info + rdc_max_sets);
138 int rdc_max_sets; local
148 if (mdb_readvar(&rdc_max_sets, "rdc_max_sets") == -1) {
149 mdb_warn("failed to read 'rdc_max_sets'");
155 winfo->end = (uintptr_t)(rdc_u_info + rdc_max_sets);
[all...]

Completed in 110 milliseconds