SCCS-vsn: sys/luna68k/dev/sc.c 7.2
SCCS-vsn: sys/luna68k/dev/sd.c 7.2
SCCS-vsn: sys/luna68k/dev/st.c 7.2
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)sc.c 7.1 (Berkeley) %G%
+ * @(#)sc.c 7.2 (Berkeley) %G%
if (dq->dq_imin == -1)
dq->dq_imin = wait;
else
if (dq->dq_imin == -1)
dq->dq_imin = wait;
else
- dq->dq_imin = MIN(wait, dq->dq_imin);
- dq->dq_imax = MAX(wait, dq->dq_imax);
+ dq->dq_imin = min(wait, dq->dq_imin);
+ dq->dq_imax = max(wait, dq->dq_imax);
} else {
if ((wait = ixfer_out(hd, len, buf)) == -1) {
goto time_out;
} else {
if ((wait = ixfer_out(hd, len, buf)) == -1) {
goto time_out;
if (dq->dq_omin == -1)
dq->dq_omin = wait;
else
if (dq->dq_omin == -1)
dq->dq_omin = wait;
else
- dq->dq_omin = MIN(wait, dq->dq_omin);
- dq->dq_omax = MAX(wait, dq->dq_omax);
+ dq->dq_omin = min(wait, dq->dq_omin);
+ dq->dq_omax = max(wait, dq->dq_omax);
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)sd.c 7.1 (Berkeley) %G%
+ * @(#)sd.c 7.2 (Berkeley) %G%
}
if (bp->b_flags & B_READ) {
}
if (bp->b_flags & B_READ) {
- sd_iostat[unit].imin = MIN(dq->dq_imin, sd_iostat[unit].imin);
+ sd_iostat[unit].imin = min(dq->dq_imin, sd_iostat[unit].imin);
if (dq->dq_imax > sd_iostat[unit].imax) {
sd_iostat[unit].imax = dq->dq_imax;
#ifdef SD_IOSTAT
if (dq->dq_imax > sd_iostat[unit].imax) {
sd_iostat[unit].imax = dq->dq_imax;
#ifdef SD_IOSTAT
- sd_iostat[unit].omin = MIN(dq->dq_omin, sd_iostat[unit].omin);
+ sd_iostat[unit].omin = min(dq->dq_omin, sd_iostat[unit].omin);
if (dq->dq_omax > sd_iostat[unit].omax) {
sd_iostat[unit].omax = dq->dq_omax;
#ifdef SD_IOSTAT
if (dq->dq_omax > sd_iostat[unit].omax) {
sd_iostat[unit].omax = dq->dq_omax;
#ifdef SD_IOSTAT
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)st.c 7.1 (Berkeley) %G%
+ * @(#)st.c 7.2 (Berkeley) %G%
int slave = dq->dq_slave;
if (bp->b_flags & B_READ) {
int slave = dq->dq_slave;
if (bp->b_flags & B_READ) {
- st_iostat[unit].imin = MIN(dq->dq_imin, st_iostat[unit].imin);
+ st_iostat[unit].imin = min(dq->dq_imin, st_iostat[unit].imin);
if (dq->dq_imax > st_iostat[unit].imax) {
st_iostat[unit].imax = dq->dq_imax;
#ifdef ST_IOSTAT
if (dq->dq_imax > st_iostat[unit].imax) {
st_iostat[unit].imax = dq->dq_imax;
#ifdef ST_IOSTAT
- st_iostat[unit].omin = MIN(dq->dq_omin, st_iostat[unit].omin);
+ st_iostat[unit].omin = min(dq->dq_omin, st_iostat[unit].omin);
if (dq->dq_omax > st_iostat[unit].omax) {
st_iostat[unit].omax = dq->dq_omax;
#ifdef ST_IOSTAT
if (dq->dq_omax > st_iostat[unit].omax) {
st_iostat[unit].omax = dq->dq_omax;
#ifdef ST_IOSTAT