Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/vhost/net.c
- drivers/vhost/scsi.c
- drivers/vhost/test.c, line 87
- drivers/vhost/vsock.c
- fs/fuse/ioctl.c
- fs/ocfs2/cluster/tcp.c, line 1074
- tools/testing/selftests/bpf/test_sockmap.c
Smatch caller information:
drivers/vhost/net.c get_rx_bufs() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iov | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_segs | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/net.c init_iov_iter() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr_segs | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | iov | 16384 |
| DATA_SOURCE | 1 | nr_segs | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
fs/ocfs2/cluster/tcp.c o2net_send_message_vec() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iov | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_segs | 1-2 |
| BUF_SIZE | 0 | iov | (-1),32 |
| BUF_SIZE | 0 | iov | (-1),32 |
| DATA_SOURCE | 0 | iov | $2 |
| DATA_SOURCE | 1 | nr_segs | $3 |
| FUZZY_MAX | 1 | nr_segs | 2 |
| HARD_MAX | 1 | nr_segs | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vhost/vsock.c vhost_transport_do_send_pkt() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iov | 4096-ptr_max |
| BUF_SIZE | 0 | iov | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/vsock.c vhost_vsock_alloc_skb() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | iov | 16384 |
| DATA_SOURCE | 1 | nr_segs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
fs/fuse/ioctl.c fuse_do_ioctl() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iov | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nr_segs | 0-256 |
| BUF_SIZE | 0 | iov | 0,4096 |
| BUF_SIZE | 0 | iov | 0,4096 |
| CAPPED_DATA | 1 | nr_segs | 1 |
| FUZZY_MAX | 1 | nr_segs | 1 |
| USER_DATA | 0 | iov->iov_len | 0-16383[c] |
fs/fuse/ioctl.c fuse_do_ioctl() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr_segs | 0-256 |
| BUF_SIZE | 0 | iov | 0,4096,u64max |
| BUF_SIZE | 0 | iov | 0,4096,u64max |
| CAPPED_DATA | 1 | nr_segs | 1 |
| FUZZY_MAX | 1 | nr_segs | 1 |
| USER_DATA | 0 | iov->iov_len | 0-16383[c] |
drivers/vhost/scsi.c vhost_scsi_get_desc() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | iov | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/scsi.c vhost_scsi_get_desc() -> iov_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iov | 4096-ptr_max |
| BUF_SIZE | 0 | iov | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |