Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/sctp/bind_addr.c sctp_copy_one_addr() -> sctp_is_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 0 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
net/sctp/bind_addr.c sctp_is_ep_boundall() -> sctp_is_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | sk | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | &net->sctp.addr_wq_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | 0 | sk |
net/sctp/socket.c sctp_getsockopt_encap_port() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 65889778339041288 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_getsockopt_local_addrs() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_getsockopt_paddr_thresholds() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 214585007380897800 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_getsockopt_peer_addr_params() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 8366408487707959304 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_getsockopt_probe_interval() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 2319040952402165768 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_setsockopt_encap_port() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_setsockopt_paddr_thresholds() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_setsockopt_peer_addr_params() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| LOCK2 | 0 | sk |
net/sctp/socket.c sctp_setsockopt_probe_interval() -> sctp_is_any()
| 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 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| LOCK2 | 0 | sk |
net/sctp/ipv6.c sctp_inet6_cmp_addr() -> sctp_is_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | addr->sa.sa_family | 2,10 |
| DATA_SOURCE | 0 | sk | $2 |
| DATA_SOURCE | 1 | addr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/sctp/ipv6.c sctp_inet6_cmp_addr() -> sctp_is_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | addr->sa.sa_family | 2,10 |
| BUF_SIZE | 1 | addr | (-1)-s32max |
| BUF_SIZE | 1 | addr | (-1)-s32max |
| DATA_SOURCE | 0 | sk | $2 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr->v6.sin6_scope_id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr->sa.sa_family | 2,10 |
| 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 | 0-u16max |
| 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 |
| USER_DATA | 1 | addr->v6.sin6_scope_id | 0-u32max[u] |
| USER_PTR | 1 | addr | |
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |