Lines Matching defs:range
417 * Make it of the form 2**N - 1 in the range
450 * Allocate an id space to manage minor numbers. The range of the
2725 * range of the device's current minimum and the device's current maximum. eg. a
3352 * Helper function to initialize the range structure for use in
3357 _mac_set_range(mac_propval_range_t *range, uint32_t min, uint32_t max)
3359 range->mpr_count = 1;
3360 range->mpr_type = MAC_PROPVAL_UINT32;
3361 range->mpr_range_uint32[0].mpur_min = min;
3362 range->mpr_range_uint32[0].mpur_max = max;
3371 void *default_val, uint_t default_size, mac_propval_range_t *range,
3410 * Currently, we support range for RX and TX rings properties.
3424 if (range != NULL)
3425 range->mpr_count = 0;
3426 } else if (range != NULL) {
3441 range->mpr_count = 0;
3447 _mac_set_range(range, 0, 0);
3456 range->mpr_count = 0;
3462 _mac_set_range(range, 0, 0);
3474 range->mpr_count = 0;
3480 _mac_set_range(range, 1, max - 1);
3507 * this number of range as the driver defines
3508 * supported range from its mc_propinfo().
3514 * On exit, the user-specified range mpr_count returns
3518 * accomodated by the specified range structure. In
3520 * allocate a larger range structure, and query the
3524 state.pr_range = range;
3530 range->mpr_count = state.pr_range_cur_count;
3534 * the user was too small for the range or default
3557 if (range != NULL && !(state.pr_flags &
3559 /* MTU range */
3560 _mac_set_range(range, sdu, sdu);