Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/net.c sock_has_rx_data() -> (struct proto_ops)->peek_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops->peek_len | 1-u64max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sock | $0 |
| CONTAINER | 0 | -192-32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
net/strparser/strparser.c strp_peek_len() -> (struct proto_ops)->peek_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops | 4096-ptr_max |
| CONTAINER | 0 | -192-32+0 | $(-1) |