bounds
bounds = (struct bounds *)¶m->io_bounds;
assert(bounds->lower == 0);
bounds->upper);
fmt_print(" %u cylinders, ", bn2c(bounds->upper));
fmt_print(" %1.2f megabytes, ", bn2mb(bounds->upper));
fmt_print("or %1.2f gigabytes\n", bn2gb(bounds->upper));
return (bounds->upper);
if (geti64(cleantoken, &bn64, &bounds->upper))
if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
bn64, bounds->lower, bounds->upper);
i = bn2c(bounds->upper);
if (cyls > (bounds->upper / spc())) {
cyls, bounds->upper / spc());
if (nmegs > bn2mb(bounds->upper)) {
"[0-%1.2f]\n", nmegs, bn2mb(bounds->upper));
if (ngigs > bn2gb(bounds->upper)) {
"[0-%1.2f]\n", ngigs, bn2gb(bounds->upper));
bounds = (struct bounds *)¶m->io_bounds;
assert(bounds->lower == 0);
bounds->upper);
bn2c(bounds->upper));
(uint_t)(bounds->upper / spc()));
bn2mb(bounds->upper));
bn2gb(bounds->upper));
return (bounds->upper);
if (geti64(cleantoken, &bn64, &bounds->upper))
if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
bn64, bounds->lower, bounds->upper);
i = (bn2c(bounds->upper) + part_deflt->start_cyl - 1);
i = bn2c(bounds->upper);
if (cyls > (bounds->upper / spc())) {
cyls, bounds->upper / spc());
if (nmegs > bn2mb(bounds->upper)) {
"[0-%1.2f]\n", nmegs, bn2mb(bounds->upper));
if (ngigs > bn2gb(bounds->upper)) {
"[0-%1.2f]\n", ngigs, bn2gb(bounds->upper));
bounds = (struct bounds *)¶m->io_bounds;
return (bounds->upper - reserved -
if (blokno > bounds->upper) {
if (nmegs > bn2mb(bounds->upper - bounds->lower)) {
bn2mb(bounds->upper - bounds->lower));
if (nmegs > bn2gb(bounds->upper - bounds->lower)) {
bn2gb(bounds->upper - bounds->lower));
if (nmegs > bn2tb(bounds->upper - bounds->lower)) {
bn2tb(bounds->upper - bounds->lower));
struct bounds *bounds;
bounds = (struct bounds *)¶m->io_bounds;
bounds->lower);
pr_dblock(fmt_print, bounds->lower);
fmt_print(") to %llu (", bounds->upper);
pr_dblock(fmt_print, bounds->upper);
if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
bounds->lower, bounds->upper);
bounds = (struct bounds *)¶m->io_bounds;
bounds->lower);
fmt_print(" to %llu\n", bounds->upper);
if ((bn < bounds->lower) || (bn > bounds->upper)) {
bounds->lower, bounds->upper);
bounds = (struct bounds *)¶m->io_bounds;
bounds->lower);
fmt_print(" to %llu\n", bounds->upper);
if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) {
bn64, bounds->lower, bounds->upper);
bounds = (struct bounds *)¶m->io_bounds;
bounds->lower);
fmt_print(" to %llu, or no input\n", bounds->upper);
if ((bn < bounds->lower) || (bn > bounds->upper)) {
bounds->lower, bounds->upper);
struct bounds io_bounds;
if (pl & SC_PAYLOAD_INSTANCE && bounds != -1)
err |= nvlist_add_int64(attr, "instance", bounds);
bounds = read_number_from_file("bounds", 0);
bounds = filebounds;
(void) sprintf(corefile, "vmdump.%ld", bounds);
(void) sprintf(namelist, "unix.%ld", bounds);
(void) sprintf(corefile, "vmcore.%ld", bounds);
corefile, savedir, bounds);
savedir, bounds);
(void) sprintf(boundstr, "%ld\n", bounds + 1);
static long bounds = -1; /* numeric suffix */
brange_t bounds;
brange_t bounds;
bslcvtfull(const bslabel_t *label, const blrange_t *bounds, int flags,
bsfcall.bounds.upper_bound = *bounds->upper_bound;
bsfcall.bounds.lower_bound = *bounds->lower_bound;
sbounds.upper_bound = *bounds->upper_bound;
sbounds.lower_bound = *bounds->lower_bound;
bsccall.bounds = sbounds; /* save from last bslcvtfull() call */
bclearcvtfull(const bclear_t *clearance, const blrange_t *bounds,
bcfcall.bounds.upper_bound = *bounds->upper_bound;
bcfcall.bounds.lower_bound = *bounds->lower_bound;
cbounds.upper_bound = *bounds->upper_bound;
cbounds.lower_bound = *bounds->lower_bound;
bcccall.bounds = cbounds; /* save from last bslcvtfull() call */
struct v4l2_rect bounds;