Searched refs:match32 (Results 1 – 1 of 1) sorted by relevance
2072 static int ebt_size_mwt(const struct compat_ebt_entry_mwt *match32, in ebt_size_mwt() argument2076 const char *buf = (const char *)match32; in ebt_size_mwt()2086 if (size_left < sizeof(*match32)) in ebt_size_mwt()2095 ret = ebt_buf_add(state, buf, sizeof(*match32)); in ebt_size_mwt()2098 size_left -= sizeof(*match32); in ebt_size_mwt()2105 if (match32->match_size > size_left) in ebt_size_mwt()2108 size_left -= match32->match_size; in ebt_size_mwt()2110 ret = compat_mtw_from_user(match32, type, state, base); in ebt_size_mwt()2114 if (WARN_ON(ret < match32->match_size)) in ebt_size_mwt()2116 growth += ret - match32->match_size; in ebt_size_mwt()[all …]