Home
last modified time | relevance | path

Searched refs:cet (Results 1 – 1 of 1) sorted by relevance

/xnu-8792.41.9/bsd/skywalk/channel/
H A Dchannel.c1876 struct ch_ev_thresh *cet) in ch_ev_thresh_validate() argument
1882 if (cet->cet_unit != CHANNEL_THRESHOLD_UNIT_BYTES && in ch_ev_thresh_validate()
1883 cet->cet_unit != CHANNEL_THRESHOLD_UNIT_SLOTS) { in ch_ev_thresh_validate()
1900 switch (cet->cet_unit) { in ch_ev_thresh_validate()
1902 if (cet->cet_value < bmin) { in ch_ev_thresh_validate()
1903 cet->cet_value = bmin; in ch_ev_thresh_validate()
1904 } else if (cet->cet_value > bmax) { in ch_ev_thresh_validate()
1905 cet->cet_value = bmax; in ch_ev_thresh_validate()
1910 if (cet->cet_value < smin) { in ch_ev_thresh_validate()
1911 cet->cet_value = smin; in ch_ev_thresh_validate()
[all …]