Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/sctp/socket.c sctp_getsockopt_auto_asconf() -> sctp_is_ep_boundall()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.owned 1
PARAM_VALUE 0 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
DATA_SOURCE 0 sk $0
RX_PATH
LOCK2 0 sk

net/sctp/socket.c sctp_setsockopt_auto_asconf() -> sctp_is_ep_boundall()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.owned 1
PARAM_VALUE 0 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
DATA_SOURCE 0 sk $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
LOCK2 0 sk

net/sctp/protocol.c sctp_addr_wq_timeout_handler() -> sctp_is_ep_boundall()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &net->sctp.addr_wq_lock
LOCK2 bh
TYPE_LOCK (struct netns_sctp)->addr_wq_lock

net/sctp/input.c __sctp_hash_endpoint() -> sctp_is_ep_boundall()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_reuseport 1
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sk unit_byte
LOCK2 &head->lock
LOCK2 bh
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