Lines Matching refs:sf_throttle
147 static void sf_throttle(struct sf *);
557 sf->sf_throttle = handle->fcal_cmdmax;
2838 tsf->sf_throttle = SF_DECR_DELTA;
4032 tsf->sf_throttle = SF_DECR_DELTA;
5197 if ((sf->sf_ncmds >= sf->sf_throttle) ||
5661 sf_throttle(sf);
5785 if (ncmds >= (sf->sf_throttle - SF_HI_CMD_DELTA)) {
5827 (sf->sf_ncmds < sf->sf_throttle)) {
5887 sf_throttle(struct sf *sf)
5897 sf->sf_throttle = cmdmax / 2;
5900 sf->sf_throttle = sf->sf_ncmds - SF_DECR_DELTA;
5906 sf->sf_throttle = SF_DECR_DELTA;
5916 sf->sf_throttle = cmdmax / 2;
5919 sf->sf_throttle = sf->sf_ncmds - SF_DECR_DELTA;
5921 sf->sf_throttle = SF_DECR_DELTA;
5976 if (sf->sf_throttle < (cmdmax / 2)) {
5977 sf->sf_throttle = cmdmax / 2;
5978 } else if ((sf->sf_throttle += SF_INCR_DELTA) >
5980 sf->sf_throttle = cmdmax;
5988 if ((sf->sf_ncmds <= (sf->sf_throttle - SF_LO_CMD_DELTA)) &&
6000 sf->sf_ncmds < sf->sf_throttle) {
6758 sf->sf_stats.throttle_limit = sf->sf_throttle;