Searched refs:smax (Results 1 – 3 of 3) sorted by relevance
44 memset_s(void *s, size_t smax, int c, size_t n) in memset_s() argument51 if (smax > RSIZE_MAX) { in memset_s()54 if (n > smax) { in memset_s()55 n = smax; in memset_s()
1901 uint32_t bmin, bmax, smin, smax; in ch_ev_thresh_validate() local1915 smax = (nxp->nxp_tx_slots - 1); in ch_ev_thresh_validate()1918 smax = (nxp->nxp_rx_slots - 1); in ch_ev_thresh_validate()1920 bmax = (smax * nxp->nxp_buf_size); in ch_ev_thresh_validate()1934 } else if (cet->cet_value > smax) { in ch_ev_thresh_validate()1935 cet->cet_value = smax; in ch_ev_thresh_validate()
392 extern int memset_s(void *s __sized_by(smax), size_t smax, int c, size_t n);