Lines Matching refs:nvals
238 if (cb->nvals >= ARRAY_SIZE(cb->val.u32_range)) in xtopt_mint_value_to_cb()
241 cb->val.u8_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
243 cb->val.u16_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
245 cb->val.u32_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
247 cb->val.u64_range[cb->nvals] = value; in xtopt_mint_value_to_cb()
301 cb->nvals = 0; in xtopt_parse_mint()
303 if (cb->nvals == maxiter) in xtopt_parse_mint()
310 value = (cb->nvals == 1) ? lmax : 0; in xtopt_parse_mint()
324 ++cb->nvals; in xtopt_parse_mint()
636 cb->nvals = 0; in xtopt_parse_mport()
639 if (cb->nvals == maxiter) in xtopt_parse_mport()
644 ++cb->nvals; in xtopt_parse_mport()
655 if (cb->nvals < ARRAY_SIZE(cb->val.port_range)) in xtopt_parse_mport()
656 cb->val.port_range[cb->nvals] = value; in xtopt_parse_mport()
657 ++cb->nvals; in xtopt_parse_mport()
660 if (cb->nvals == 1) { in xtopt_parse_mport()
662 ++cb->nvals; in xtopt_parse_mport()
666 (cb->nvals <= maxiter ? cb->nvals : maxiter)); in xtopt_parse_mport()
866 cb->nvals = 1; in xtables_option_parse()