Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/skywalk/channel/
H A Dchannel.c1885 struct ch_ev_thresh *cet) in ch_ev_thresh_validate() argument
1891 if (cet->cet_unit != CHANNEL_THRESHOLD_UNIT_BYTES && in ch_ev_thresh_validate()
1892 cet->cet_unit != CHANNEL_THRESHOLD_UNIT_SLOTS) { in ch_ev_thresh_validate()
1909 switch (cet->cet_unit) { in ch_ev_thresh_validate()
1911 if (cet->cet_value < bmin) { in ch_ev_thresh_validate()
1912 cet->cet_value = bmin; in ch_ev_thresh_validate()
1913 } else if (cet->cet_value > bmax) { in ch_ev_thresh_validate()
1914 cet->cet_value = bmax; in ch_ev_thresh_validate()
1919 if (cet->cet_value < smin) { in ch_ev_thresh_validate()
1920 cet->cet_value = smin; in ch_ev_thresh_validate()
[all …]