Searched refs:buf_kern_offset (Results 1 – 1 of 1) sorted by relevance
1906 u32 buf_kern_offset; /* amount of data copied so far */ member1912 state->buf_kern_offset += sz; in ebt_buf_count()1913 return state->buf_kern_offset >= sz ? 0 : -EINVAL; in ebt_buf_count()1922 if (WARN_ON(state->buf_kern_offset + sz > state->buf_kern_len)) in ebt_buf_add()1925 memcpy(state->buf_kern_start + state->buf_kern_offset, data, sz); in ebt_buf_add()1936 if (WARN_ON(b && state->buf_kern_offset > state->buf_kern_len)) in ebt_buf_add_pad()1940 memset(b + state->buf_kern_offset, 0, sz); in ebt_buf_add_pad()1967 dst = state->buf_kern_start + state->buf_kern_offset; in compat_mtw_from_user()2012 state->buf_kern_offset += match_size + off; in compat_mtw_from_user()2019 if (WARN_ON(state->buf_kern_offset - (match_size + off) + size_kern > state->buf_kern_len - pad)) in compat_mtw_from_user()[all …]