Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/sctp/protocol.c sctp_inetaddr_event() -> sctp_addr_wq_mgmt()

Type Parameter Key Value
PARAM_VALUE 0 net->sctp.local_addr_list.prev 4096-ptr_max
PARAM_VALUE 0 net->sctp.local_addr_list.prev->next 4096-ptr_max
PARAM_VALUE 0 net->sctp.local_addr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->a.v4.sin_family 2
PARAM_VALUE 1 addr->list.next 4096-ptr_max
PARAM_VALUE 1 addr->valid 1
PARAM_VALUE 2 cmd 0
BUF_SIZE 1 addr 64
DATA_SOURCE 1 addr r _kzalloc_noprof
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 bh
LOCK2 0 &net->sctp.local_addr_lock
TYPE_LOCK (struct netns_sctp)->local_addr_lock

net/sctp/protocol.c sctp_inetaddr_event() -> sctp_addr_wq_mgmt()

Type Parameter Key Value
PARAM_VALUE 0 net->sctp.local_addr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->a.sa.sa_family 2
PARAM_VALUE 1 addr->list.next->prev 4096-ptr_max
PARAM_VALUE 1 addr->valid 0
PARAM_VALUE 2 cmd 2
CAPPED_DATA 0 &net->sctp.local_addr_list 1
CAPPED_DATA 1 addr->a.v4.sin_addr.s_addr 1
CAPPED_DATA 1 &addr->list 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 bh
LOCK2 0 &net->sctp.local_addr_lock
TYPE_LOCK (struct netns_sctp)->local_addr_lock

net/sctp/ipv6.c sctp_inet6addr_event() -> sctp_addr_wq_mgmt()

Type Parameter Key Value
PARAM_VALUE 0 net->sctp.local_addr_list.prev 4096-ptr_max
PARAM_VALUE 0 net->sctp.local_addr_list.prev->next 4096-ptr_max
PARAM_VALUE 0 net->sctp.local_addr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->a.v6.sin6_family 10
PARAM_VALUE 1 addr->list.next 4096-ptr_max
PARAM_VALUE 1 addr->valid 1
PARAM_VALUE 2 cmd 0
BUF_SIZE 1 addr 64
DATA_SOURCE 1 addr r _kzalloc_noprof
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 bh
LOCK2 0 &net->sctp.local_addr_lock
TYPE_LOCK (struct netns_sctp)->local_addr_lock

net/sctp/ipv6.c sctp_inet6addr_event() -> sctp_addr_wq_mgmt()

Type Parameter Key Value
PARAM_VALUE 0 net->sctp.local_addr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->a.sa.sa_family 10
PARAM_VALUE 1 addr->list.next->prev 4096-ptr_max
PARAM_VALUE 1 addr->valid 0
PARAM_VALUE 2 cmd 2
CAPPED_DATA 0 &net->sctp.local_addr_list 1
CAPPED_DATA 1 addr->a.v6.sin6_scope_id 1
CAPPED_DATA 1 &addr->list 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 bh
LOCK2 0 &net->sctp.local_addr_lock
TYPE_LOCK (struct netns_sctp)->local_addr_lock