Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/core/skmsg.c sk_psock_backlog() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| HALF_LOCKED2 | &pool->lock |
net/core/skmsg.c sk_psock_backlog() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| CAPPED_DATA | 0 | psock->sk | 1 |
| CAPPED_DATA | 0 | psock->sk->sk_user_data | 1 |
| CAPPED_DATA | 0 | &psock->ingress_skb | 1 |
| CAPPED_DATA | 0 | &psock->work_mutex | 1 |
| LOCK2 | 0 | &psock->work_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sk_psock)->work_mutex |
net/core/skmsg.c sk_psock_done_strp() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 1 |
| DATA_SOURCE | 0 | psock | $0 |
| HALF_LOCKED2 | &pool->lock |
net/core/skmsg.c sk_psock_queue_msg() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| CAPPED_DATA | 0 | psock->sk | 1 |
| DATA_SOURCE | 0 | psock | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NO_OVERFLOW_SIMPLE | 0 | psock->ingress_bytes | |
| LOCK2 | bh | ||
| LOCK2 | 0 | &psock->ingress_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &psock->work_mutex | |
| TYPE_LOCK | (struct sk_psock)->ingress_lock |
net/core/skmsg.c sk_psock_skb_redirect() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| DATA_SOURCE | 0 | psock | r sk_psock |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &psock->ingress_lock | |
| TYPE_LOCK | (struct sk_psock)->ingress_lock |
net/core/skmsg.c sk_psock_skb_state() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| CAPPED_DATA | 0 | psock->sk | 1 |
| CAPPED_DATA | 0 | psock->sk->sk_user_data | 1 |
| DATA_SOURCE | 0 | psock | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &psock->ingress_lock | |
| LOCK2 | 0 | &psock->work_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sk_psock)->ingress_lock | ||
| TYPE_LOCK | (struct sk_psock)->work_mutex |
net/core/skmsg.c sk_psock_verdict_apply() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| DATA_SOURCE | 0 | psock | $0 |
| LOCK2 | rcu_read |
net/core/skmsg.c sk_psock_verdict_apply() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| CAPPED_DATA | 0 | &psock->ingress_skb | 1 |
| DATA_SOURCE | 0 | psock | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &psock->ingress_lock | |
| TYPE_LOCK | (struct sk_psock)->ingress_lock |
net/core/skmsg.c sk_psock_write_space() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 8-u64max |
| PARAM_VALUE | 1 | bit | 0 |
| DATA_SOURCE | 0 | psock | r sk_psock |
| LOCK2 | rcu_read |
net/ipv4/tcp_bpf.c sk_psock_queue_msg() -> sk_psock_test_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psock | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0 |
| DATA_SOURCE | 0 | psock | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &psock->ingress_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct sk_psock)->ingress_lock |