Lines Matching defs:hw_avail
1946 int swptr, hwptr, hw_avail, sw_avail, swidx;
1955 hw_avail = (hwmax - hw_unavail) & -fragsize;
1974 if (!sw_avail || !hw_avail)
1985 nb = hw_avail;
1995 DBGP("hw_avail = %d\n", hw_avail);
2071 int swptr, hwptr, hw_avail, sw_avail, swidx;
2077 hw_avail = (hwptr - swptr + hwsize) % hwsize & -fragsize;
2078 if (hw_avail > hwmax)
2079 hw_avail = hwmax;
2090 if (!sw_avail || !hw_avail)
2101 nb = hw_avail;
2111 DBGP("hw_avail = %d\n", hw_avail);