Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/skywalk/channel/
H A Dchannel.c1874 struct ch_ev_thresh *cet) in ch_ev_thresh_validate() argument
1880 if (cet->cet_unit != CHANNEL_THRESHOLD_UNIT_BYTES && in ch_ev_thresh_validate()
1881 cet->cet_unit != CHANNEL_THRESHOLD_UNIT_SLOTS) { in ch_ev_thresh_validate()
1898 switch (cet->cet_unit) { in ch_ev_thresh_validate()
1900 if (cet->cet_value < bmin) { in ch_ev_thresh_validate()
1901 cet->cet_value = bmin; in ch_ev_thresh_validate()
1902 } else if (cet->cet_value > bmax) { in ch_ev_thresh_validate()
1903 cet->cet_value = bmax; in ch_ev_thresh_validate()
1908 if (cet->cet_value < smin) { in ch_ev_thresh_validate()
1909 cet->cet_value = smin; in ch_ev_thresh_validate()
[all …]