Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc.conf47 rdc_max_sets=64;
H A Drdc_io.c269 for (i = 0; i < rdc_max_sets; i++) { in _rdc_unload()
296 kmem_free(rdc_k_info, sizeof (*rdc_k_info) * rdc_max_sets); in _rdc_unload()
298 kmem_free(rdc_u_info, sizeof (*rdc_u_info) * rdc_max_sets); in _rdc_unload()
301 rdc_max_sets = 0; in _rdc_unload()
329 if ((i = nsc_max_devices()) < rdc_max_sets) in _rdc_load()
330 rdc_max_sets = i; in _rdc_load()
332 if (!rdc_max_sets) in _rdc_load()
333 rdc_max_sets = 1024; in _rdc_load()
335 rdc_k_info = kmem_zalloc(sizeof (*rdc_k_info) * rdc_max_sets, KM_SLEEP); in _rdc_load()
339 rdc_u_info = kmem_zalloc(sizeof (*rdc_u_info) * rdc_max_sets, KM_SLEEP); in _rdc_load()
[all …]
H A Drdc.c183 int rdc_max_sets; variable
258 rdc_max_sets = ddi_prop_get_int(DDI_DEV_T_ANY, dip, in rdcattach()
367 for (rdcd = 0; rdcd < rdc_max_sets; rdcd++) { in rdcdetach()
627 max = min(nset, rdc_max_sets); in rdcstatus()
658 if (ddi_copyout(&rdc_max_sets, maxsetsp, sizeof (*maxsetsp), mode) != 0) in rdcstatus()
874 info_stats->m_maxsets.value.ul = rdc_max_sets; in sndr_info_stats_update()
1087 if ((index < 0) || (index >= rdc_max_sets)) { in rdc_clrkstat()
H A Drdc_health.c569 for (index = 0; index < rdc_max_sets; index++) { in rdc_remove_from_if()
739 for (index = 0; index < rdc_max_sets; index++) { in rdc_update_health()
H A Drdc_svc.c304 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) { in r_net_read()
462 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) { in r_net_read6()
631 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) { in r_net_write5()
843 if ((diskio.cd >= rdc_max_sets) || (diskio.cd < 0)) { in r_net_write6()
1281 if (b.cd >= 0 && b.cd < rdc_max_sets && IS_ENABLED(urdc) && in r_net_bmap()
1310 if (b.cd >= 0 && b.cd < rdc_max_sets && IS_ENABLED(urdc) && in r_net_bmap6()
1357 if (bd.cd >= 0 && bd.cd < rdc_max_sets && IS_ENABLED(urdc) && in r_net_bdata()
1397 if (bd.cd >= 0 && bd.cd < rdc_max_sets && IS_ENABLED(urdc) && in r_net_bdata6()
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_clnt.c1142 for (index = 0; index < rdc_max_sets; index++) { in rdc_dump_alloc_bufs()
2444 if (index > rdc_max_sets) in rdc_drain_disk_queue()
2537 if (index > rdc_max_sets) in rdc_drain_net_queue()
3132 for (index = 0; index < rdc_max_sets; index++) { in rdc_async6()
3153 if (index >= rdc_max_sets) { in rdc_async6()
H A Drdc_diskq.c122 for (index = 0; index < rdc_max_sets; index++) { in rdc_lookup_diskq()
270 for (index = 0; index < rdc_max_sets; index++) { in rdc_setid2idx()
274 if (index >= rdc_max_sets) in rdc_setid2idx()
2183 for (index = 0; index < rdc_max_sets; index++) { in rdc_diskq_inuse()
H A Drdc_dev.c346 for (index = 0; index < rdc_max_sets; index++) { in rdc_dev_open()
353 if (index == rdc_max_sets) { in rdc_dev_open()
/titanic_41/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c69 int rdc_max_sets; in rdc_k_info_winit() local
79 if (mdb_readvar(&rdc_max_sets, "rdc_max_sets") == -1) { in rdc_k_info_winit()
86 winfo->end = (uintptr_t)(rdc_k_info + rdc_max_sets); in rdc_k_info_winit()
138 int rdc_max_sets; in rdc_u_info_winit() local
148 if (mdb_readvar(&rdc_max_sets, "rdc_max_sets") == -1) { in rdc_u_info_winit()
155 winfo->end = (uintptr_t)(rdc_u_info + rdc_max_sets); in rdc_u_info_winit()
920 rdc_get_print(rdc_max_sets, "max sndr devices", "%d", i); in rdc()