Lines Matching defs:bounds

459 	struct		bounds *bounds;
796 * Parameter is the bounds of legal block numbers.
798 bounds = (struct bounds *)&param->io_bounds;
804 bounds->lower);
805 pr_dblock(fmt_print, bounds->lower);
806 fmt_print(") to %llu (", bounds->upper);
807 pr_dblock(fmt_print, bounds->upper);
823 * Check to be sure it is within the legal bounds.
825 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
840 * Parameter is the bounds of legal integers.
842 bounds = (struct bounds *)&param->io_bounds;
848 bounds->lower);
849 fmt_print(" to %llu\n", bounds->upper);
858 * Check to be sure it is within the legal bounds.
860 if ((bn < bounds->lower) || (bn > bounds->upper)) {
870 * Parameter is the bounds of legal integers.
872 bounds = (struct bounds *)&param->io_bounds;
878 bounds->lower);
879 fmt_print(" to %llu\n", bounds->upper);
889 * Check to be sure it is within the legal bounds.
891 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
904 * Parameter is the bounds of legal integers.
906 bounds = (struct bounds *)&param->io_bounds;
912 bounds->lower);
913 fmt_print(" to %llu, or no input\n", bounds->upper);
922 * Check to be sure it is within the legal bounds.
924 if ((bn < bounds->lower) || (bn > bounds->upper)) {
1095 * Parameter is the bounds of legal block numbers.
1097 bounds = (struct bounds *)&param->io_bounds;
1098 assert(bounds->lower == 0);
1104 bounds->upper);
1105 fmt_print(" %u cylinders, ", bn2c(bounds->upper));
1106 fmt_print(" %1.2f megabytes, ", bn2mb(bounds->upper));
1107 fmt_print("or %1.2f gigabytes\n", bn2gb(bounds->upper));
1133 return (bounds->upper);
1157 if (geti64(cleantoken, &bn64, &bounds->upper))
1160 * Check to be sure it is within the legal bounds.
1162 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
1166 bn64, bounds->lower, bounds->upper);
1189 i = bn2c(bounds->upper);
1193 * Check the bounds - cyls is number of cylinders
1195 if (cyls > (bounds->upper/spc())) {
1213 * Check the bounds
1215 if (nmegs > bn2mb(bounds->upper)) {
1239 * Check the bounds
1241 if (ngigs > bn2gb(bounds->upper)) {
1265 * Parameter is the bounds of legal block numbers.
1267 bounds = (struct bounds *)&param->io_bounds;
1268 assert(bounds->lower == 0);
1275 bounds->upper);
1277 bn2c(bounds->upper));
1279 (uint_t)(bounds->upper / spc()));
1281 bn2mb(bounds->upper));
1283 bn2gb(bounds->upper));
1313 return (bounds->upper);
1342 if (geti64(cleantoken, &bn64, &bounds->upper))
1346 * legal bounds.
1348 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
1351 bn64, bounds->lower, bounds->upper);
1400 i = (bn2c(bounds->upper) + part_deflt->start_cyl - 1);
1421 i = bn2c(bounds->upper);
1426 * Check the bounds - cyls is number of
1429 if (cyls > (bounds->upper/spc())) {
1452 * Check the bounds
1454 if (nmegs > bn2mb(bounds->upper)) {
1483 * Check the bounds
1485 if (ngigs > bn2gb(bounds->upper)) {
1511 * Parameter is the bounds of legal block numbers.
1513 bounds = (struct bounds *)&param->io_bounds;
1559 return (bounds->upper - EFI_MIN_RESV_SIZE -
1592 if (blokno > bounds->upper) {
1647 * Check the bounds
1649 if (nmegs > bn2mb(bounds->upper - bounds->lower)) {
1662 if (nmegs > bn2gb(bounds->upper - bounds->lower)) {
1675 if (nmegs > bn2tb(bounds->upper - bounds->lower)) {