Searched refs:sdbc_max_devs (Results 1 – 12 of 12) sorted by relevance
79 sizeof (_sdbc_trace_t) * (sdbc_max_devs + 1)); in _sdbc_tr_unload()105 sizeof (_sdbc_trace_t) * (sdbc_max_devs + 1), in _sdbc_tr_load()194 for (i = -1, tt = &_sd_trace_table[-1]; i < sdbc_max_devs; i++, tt++) { in _sdbc_tr_deconfigure()234 if (cd < -1 || cd >= sdbc_max_devs) { in _sd_alert()304 if (cd < -1 || cd >= sdbc_max_devs) { in _sd_trace()365 for (cd = _last_cd + 1; cd < sdbc_max_devs; cd++) in _sd_scan_alert()384 for (cd = _last_cd + 1; cd < sdbc_max_devs; cd++) in _sd_scan_entries()435 if ((uap->cd > (long)sdbc_max_devs) || in _sd_adump()
779 #define FILE_OPENED(cd) (((cd) >= 0) && ((cd) < (sdbc_max_devs)) && \852 if (((cd) >= 0) && ((cd) < sdbc_max_devs))\855 if (((cd) >= 0) && ((cd) < sdbc_max_devs))\858 if (((cd) >= 0) && ((cd) < sdbc_max_devs))\861 if (((cd) >= 0) && ((cd) < sdbc_max_devs))\869 if ((cd) < sdbc_max_devs)\875 if (((cd) >= 0) && ((cd) < sdbc_max_devs))\881 if (((cd) >= 0) && ((cd) < sdbc_max_devs) && sdbc_cd_io_kstats[(cd)]) {\892 if (((cd) >= 0) && ((cd) < sdbc_max_devs) && sdbc_cd_io_kstats[(cd)]) {\904 if (((cd) >= 0) && ((cd) < sdbc_max_devs) && \[all …]
1215 kmem_zalloc(sdbc_max_devs * sizeof (ioerr_inject_t), KM_SLEEP); in _sdbc_ioj_load()1223 sdbc_max_devs * sizeof (ioerr_inject_t)); in _sdbc_ioj_unload()1233 for (cd = 0; cd < sdbc_max_devs; ++cd) in _sdbc_ioj_lookup()1251 for (i = 0; i < sdbc_max_devs; ++i) { in _sdbc_ioj_set_dev()1265 for (i = 0; i < sdbc_max_devs; ++i) { in _sdbc_ioj_set_err()1284 if ((cd < -1) || (cd >= sdbc_max_devs)) in _sdbc_inject_ioerr()1295 if ((cd < -1) || (cd >= sdbc_max_devs)) in _sdbc_clear_ioerr()
178 safestore_config.ssc_maxfiles = sdbc_max_devs; in sd_setup_ssconfig()513 for (i = 0; i < sdbc_max_devs; i++) {578 for (i = 0; i < sdbc_max_devs; i++) {594 for (i = 0; i < sdbc_max_devs; i++) {
557 for (i = 0; i < sdbc_max_devs; i++) in _sd_cache_mirror_enable()787 if (cd < 0 || cd >= sdbc_max_devs) in _sd_cd_online()937 for (cd = 0; cd < sdbc_max_devs; cd++) { in _sd_failover_file_open()1086 for (cd = 0; cd < sdbc_max_devs; cd++) { in _sd_failover_done()1180 for (cd = 0; cd < sdbc_max_devs; cd++) { in _sd_wait_for_dirty()
41 extern int sdbc_max_devs;
122 #define _SD_INVALID_CD(cd) ((cd) > sdbc_max_devs)
463 kmem_zalloc(sdbc_max_devs * sizeof (_sd_cd_info_t), in _sdbc_cache_configure()531 sdbc_max_devs * sizeof (_sd_cd_info_t)); in _sdbc_cache_deconfigure()577 for (i = 0; i < sdbc_max_devs; i++) { in _sdbc_stats_deconfigure()583 kmem_free(sdbc_cd_kstats, sizeof (kstat_t *) * sdbc_max_devs); in _sdbc_stats_deconfigure()594 for (i = 0; i < sdbc_max_devs; i++) { in _sdbc_stats_deconfigure()601 sdbc_max_devs); in _sdbc_stats_deconfigure()608 sizeof (kmutex_t) * sdbc_max_devs); in _sdbc_stats_deconfigure()616 (sdbc_max_devs - 1) * sizeof (_sd_shared_t)); in _sdbc_stats_deconfigure()622 (sdbc_max_devs - 1) * sizeof (_sd_shared_t)); in _sdbc_stats_deconfigure()633 (sdbc_max_devs - 1) * sizeof (_sd_shared_t), KM_SLEEP); in _sdbc_stats_configure()[all …]
585 } while (++cdi != &_sd_cache_files[sdbc_max_devs]); in _sdbc_power_flush()627 } while (++cdi != &_sd_cache_files[sdbc_max_devs]); in _sdbc_power_flush()671 cdi != &_sd_cache_files[sdbc_max_devs]; cdi++) { in _sdbc_power_flush()
70 int sdbc_max_devs = 0; variable507 sdbc_max_devs = nsc_max_devices(); in sdbcinit()1138 if (copyout(&sdbc_max_devs, (void *)args.arg0, in sdbcioctl()1139 sizeof (sdbc_max_devs))) in sdbcioctl()1304 for (i = 0; i < sdbc_max_devs; i++) { in _sd_zap_stats()
449 if ((cd < 0) || (cd >= sdbc_max_devs)) in test_control()
1892 (cd < sdbc_max_devs); cd++) { in _sd_flush_thread()