Searched refs:mem_ratio (Results 1 – 2 of 2) sorted by relevance
182 uint32_t mem_ratio, tot_buf; in sctp_listen() local196 mem_ratio = MB / tot_buf; in sctp_listen()197 slc->slc_max = maxusers / ratio * mem_ratio; in sctp_listen()199 mem_ratio = tot_buf / MB; in sctp_listen()200 slc->slc_max = maxusers / ratio / mem_ratio; in sctp_listen()
4450 uint32_t mem_ratio, tot_buf; in tcp_do_listen() local4465 mem_ratio = MB / tot_buf; in tcp_do_listen()4467 mem_ratio; in tcp_do_listen()4469 mem_ratio = tot_buf / MB; in tcp_do_listen()4471 mem_ratio; in tcp_do_listen()