Defined in 4 files as a function:

Referenced in 4 files:

Smatch caller information:

net/ipv6/udp.c udp6_lib_lookup1() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 4 dif 4096-ptr_max
BUF_SIZE 2 hnum (-1),16
BUF_SIZE 2 hnum (-1),16
BUF_SIZE 4 dif (-1),16
BUF_SIZE 4 dif (-1),16
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $1
DATA_SOURCE 3 daddr $2
DATA_SOURCE 4 dif $3
DATA_SOURCE 5 sdif $4
DATA_SOURCE 6 dif $5
DATA_SOURCE 7 sdif $6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 daddr 0-u16max
USER_DATA 5 sdif 0-u16max
USER_DATA 6 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 6 dif unit_array_size
UNITS 7 sdif unit_array_size
HALF_LOCKED2 rcu_read

net/ipv6/udp.c udp6_lib_lookup2() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 4 dif 4096-ptr_max
BUF_SIZE 2 hnum (-1),16
BUF_SIZE 2 hnum (-1),16
BUF_SIZE 4 dif (-1),16
BUF_SIZE 4 dif (-1),16
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $1
DATA_SOURCE 3 daddr $2
DATA_SOURCE 4 dif $3
DATA_SOURCE 5 sdif $4
DATA_SOURCE 6 dif $5
DATA_SOURCE 7 sdif $6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 daddr 0-u16max
USER_DATA 5 sdif 0-u16max
USER_DATA 6 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 6 dif unit_array_size
UNITS 7 sdif unit_array_size
HALF_LOCKED2 rcu_read

net/ipv6/inet6_hashtables.c inet6_lhash2_lookup() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 3 daddr 4096-ptr_max
BUF_SIZE 3 daddr (-1),16
BUF_SIZE 3 daddr (-1),16
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $7
DATA_SOURCE 3 daddr $6
DATA_SOURCE 4 dif $8
DATA_SOURCE 5 sdif $9
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 hnum 0-u16max
USER_DATA 4 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 4 dif unit_array_size
UNITS 5 sdif unit_array_size
HALF_LOCKED2 rcu_read

net/ipv4/udp.c udp4_lib_lookup1() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $1
DATA_SOURCE 3 daddr $2
DATA_SOURCE 4 dif $3
DATA_SOURCE 5 sdif $4
DATA_SOURCE 6 dif $5
DATA_SOURCE 7 sdif $6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 hnum 0-u32max[u]
USER_DATA 3 daddr 0-u16max
USER_DATA 4 dif 0-u32max
USER_DATA 5 sdif 0-u16max
USER_DATA 6 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 2 hnum unit_byte
UNITS 4 dif unit_byte
UNITS 6 dif unit_array_size
UNITS 7 sdif unit_array_size
HALF_LOCKED2 rcu_read

net/ipv4/udp.c udp4_lib_lookup2() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 1-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $1
DATA_SOURCE 3 daddr $2
DATA_SOURCE 4 dif $3
DATA_SOURCE 5 sdif $4
DATA_SOURCE 6 dif $5
DATA_SOURCE 7 sdif $6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 hnum 0-u32max[u]
USER_DATA 3 daddr 0-u16max
USER_DATA 4 dif 0-u32max
USER_DATA 5 sdif 0-u16max
USER_DATA 6 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 2 hnum unit_byte
UNITS 4 dif unit_byte
UNITS 6 dif unit_array_size
UNITS 7 sdif unit_array_size
HALF_LOCKED2 rcu_read

net/ipv4/inet_hashtables.c inet_lhash2_lookup() -> compute_score()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
CAPPED_DATA 1 net 1
DATA_SOURCE 1 net $0
DATA_SOURCE 2 hnum $7
DATA_SOURCE 3 daddr $6
DATA_SOURCE 4 dif $8
DATA_SOURCE 5 sdif $9
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 hnum 0-u16max
USER_DATA 4 dif s32min-s32max
UNITS 1 net unit_byte
UNITS 3 daddr unit_byte
UNITS 4 dif unit_array_size
UNITS 5 sdif unit_array_size
HALF_LOCKED2 rcu_read