Home
last modified time | relevance | path

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

/xnu-10002.1.13/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-10002.1.13/osfmk/libsa/
H A Dstring.h188 extern int memset_s(void *s __sized_by(smax), size_t smax, int c, size_t n);
/xnu-10002.1.13/bsd/skywalk/channel/
H A Dchannel.c1877 uint32_t bmin, bmax, smin, smax; in ch_ev_thresh_validate() local
1891 smax = (nxp->nxp_tx_slots - 1); in ch_ev_thresh_validate()
1894 smax = (nxp->nxp_rx_slots - 1); in ch_ev_thresh_validate()
1896 bmax = (smax * nxp->nxp_buf_size); in ch_ev_thresh_validate()
1910 } else if (cet->cet_value > smax) { in ch_ev_thresh_validate()
1911 cet->cet_value = smax; in ch_ev_thresh_validate()