Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/ipv6.c sctp_v6_get_dst() -> sctp_v6_cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 3174047735849267200
PARAM_VALUE 0 addr1->sa.sa_family 10
PARAM_VALUE 0 addr1->v6.sin6_scope_id 0
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 1 addr2->sa.sa_family 10
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/sctp/bind_addr.c sctp_bind_addr_state() -> (struct sctp_af)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 1 addr2->sa.sa_family 2,10
CAPPED_DATA 1 addr2->sa.sa_family 1
DATA_SOURCE 1 addr2 $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/sctp/bind_addr.c sctp_bind_addrs_check() -> (struct sctp_af)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &head->lock
LOCK2 bh
LOCK2 rcu_read
LOCK2 sk
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex
HALF_LOCKED2 global &pernet_ops_rwsem
TYPE_LOCK (struct sctp_hashbucket)->lock

net/sctp/proc.c sctp_seq_dump_local_addrs() -> (struct sctp_af)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
BUF_SIZE 0 addr1 28
BUF_SIZE 1 addr2 28
RX_PATH
TASK_NOT_RUNNING
LOCK2 &seq->lock
LOCK2 rcu_read
HALF_LOCKED2 &head->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct seq_file)->lock

net/sctp/proc.c sctp_seq_dump_remote_addrs() -> (struct sctp_af)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
BUF_SIZE 0 addr1 28
BUF_SIZE 1 addr2 28
RX_PATH
TASK_NOT_RUNNING
LOCK2 &seq->lock
TYPE_LOCK (struct seq_file)->lock

net/sctp/associola.c sctp_cmp_addr_exact() -> (struct sctp_af)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 0 addr1->sa.sa_family 2,10
BUF_SIZE 0 addr1 (-1)-s32max
BUF_SIZE 0 addr1 (-1)-s32max
BUF_SIZE 1 addr2 (-1)-135168
BUF_SIZE 1 addr2 (-1)-135168
DATA_SOURCE 0 addr1 $0
DATA_SOURCE 1 addr2 $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 addr1->sa.sa_family 2,10[c]
USER_DATA 0 addr1->v4.sin_addr.s_addr 1-4294967294
USER_DATA 0 addr1->v4.sin_family 0-u16max
USER_DATA 0 addr1->v4.sin_port 0-u16max
USER_DATA 0 addr1->v6.sin6_family 0-u16max
USER_DATA 0 addr1->v6.sin6_flowinfo 0-u32max
USER_DATA 0 addr1->v6.sin6_port 0-u16max
USER_DATA 0 addr1->v6.sin6_scope_id 0-u32max
USER_DATA 1 addr2->sa.sa_family 0-u16max[u]
USER_DATA 1 addr2->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr2->v4.sin_family 0-u16max[u]
USER_DATA 1 addr2->v4.sin_port 0-u16max
USER_DATA 1 addr2->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr2->v6.sin6_port 0-u16max
USER_DATA 1 addr2->v6.sin6_scope_id 0-u32max[u]
USER_PTR 0 addr1
USER_PTR 1 addr2
HALF_LOCKED2 bh