Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ipv4/netfilter/ip_tables.c compat_copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
PARAM_VALUE 0 table->private->entries->elems->u.kernel.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.user.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.user.revision 0-255
PARAM_VALUE 0 table->private->number 1-268435455
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH

net/ipv4/netfilter/ip_tables.c copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH

net/ipv6/netfilter/ip6_tables.c compat_copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
PARAM_VALUE 0 table->private->entries->elems->u.kernel.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.user.match_size 0-u16max
PARAM_VALUE 0 table->private->entries->elems->u.user.revision 0-255
PARAM_VALUE 0 table->private->number 1-268435455
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH

net/ipv6/netfilter/ip6_tables.c copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH

net/ipv4/netfilter/arp_tables.c compat_copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
PARAM_VALUE 0 table->private->number 1-268435455
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH

net/ipv4/netfilter/arp_tables.c copy_entries_to_user() -> alloc_counters()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->me 0,4096-ptr_max
PARAM_VALUE 0 table->private 4096-ptr_max
CAPPED_DATA 0 table->me 1
DATA_SOURCE 0 table $1
NS_CAPABLE 0 12
RX_PATH