Lines Matching defs:rd_max_disks
114 static uint32_t rd_max_disks = RD_DFLT_DISKS;
136 for (minor = 1; minor <= rd_max_disks; ++minor) {
154 for (minor = 1; minor <= rd_max_disks; ++minor) {
174 for (minor = 1; minor <= rd_max_disks; ++minor) {
194 for (minor = 1; minor <= rd_max_disks; ++minor) {
264 * Ensure sanity of 'rd_max_disks', which may be tuned in ramdisk.conf.
269 rd_max_disks = (uint32_t)stoi(&p);
272 if (rd_max_disks >= RD_MAX_DISKS) {
273 cmn_err(CE_WARN, "ramdisk: rd_max_disks (%u) too big;"
274 " using default (%u).", rd_max_disks, RD_MAX_DISKS - 1);
276 rd_max_disks = RD_MAX_DISKS - 1;