Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dmemset_s.c44 memset_s(void *s, size_t smax, int c, size_t n) in memset_s() argument
51 if (smax > RSIZE_MAX) { in memset_s()
54 if (n > smax) { in memset_s()
55 n = smax; in memset_s()
/xnu-8019.80.24/osfmk/libsa/
H A Dstring.h68 extern int memset_s(void *s __sized_by(smax), size_t smax, int c, size_t n);
/xnu-8019.80.24/bsd/skywalk/channel/
H A Dchannel.c1888 uint32_t bmin, bmax, smin, smax; in ch_ev_thresh_validate() local
1902 smax = (nxp->nxp_tx_slots - 1); in ch_ev_thresh_validate()
1905 smax = (nxp->nxp_rx_slots - 1); in ch_ev_thresh_validate()
1907 bmax = (smax * nxp->nxp_buf_size); in ch_ev_thresh_validate()
1921 } else if (cet->cet_value > smax) { in ch_ev_thresh_validate()
1922 cet->cet_value = smax; in ch_ev_thresh_validate()