Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/socket.c sctp_get_port_local() -> sctp_bind_addr_conflict()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->v4.sin_port 1-u16max
PARAM_VALUE 2 bp_sp 4096-ptr_max
BUF_SIZE 1 addr (-1)-s32max
BUF_SIZE 1 addr (-1)-s32max
DATA_SOURCE 1 addr $1
NOSPEC 1 addr->v6.sin6_scope_id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr->sa.sa_family 2,10[u]
USER_DATA 1 addr->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr->v4.sin_family 0-u16max[u]
USER_DATA 1 addr->v4.sin_port 1-u16max[c]
USER_DATA 1 addr->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr->v6.sin6_port 0-u16max[u]
USER_DATA 1 addr->v6.sin6_scope_id 0-u32max[u]
USER_PTR 1 addr
LOCK2 &head->lock
LOCK2 bh
HALF_LOCKED2 sk
TYPE_LOCK (struct sctp_bind_hashbucket)->lock