Lines Matching refs:nvals
242 if (cb->nvals >= ARRAY_SIZE(cb->val.u32_range)) in xtopt_mint_value_to_cb()
245 cb->val.u8_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
247 cb->val.u16_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
249 cb->val.u32_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
251 cb->val.u64_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
305 cb->nvals = 0; in xtopt_parse_mint()
307 if (cb->nvals == maxiter) in xtopt_parse_mint()
314 value = (cb->nvals == 1) ? lmax : 0; in xtopt_parse_mint()
328 ++cb->nvals; in xtopt_parse_mint()
620 cb->nvals = 0; in xtopt_parse_mport()
623 if (cb->nvals == maxiter) in xtopt_parse_mport()
628 ++cb->nvals; in xtopt_parse_mport()
639 if (cb->nvals < ARRAY_SIZE(cb->val.port_range)) in xtopt_parse_mport()
640 cb->val.port_range[cb->nvals] = value; in xtopt_parse_mport()
641 ++cb->nvals; in xtopt_parse_mport()
644 if (cb->nvals == 1) { in xtopt_parse_mport()
646 ++cb->nvals; in xtopt_parse_mport()
650 (cb->nvals <= maxiter ? cb->nvals : maxiter)); in xtopt_parse_mport()
850 cb->nvals = 1; in xtables_option_parse()