Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/vhost/vdpa.c vhost_vdpa_set_config() -> vdpa_set_config()

Type Parameter Key Value
PARAM_VALUE 0 vdev 4096-ptr_max
PARAM_VALUE 2 buf 16,4096-ptr_max
PARAM_VALUE 3 length 1-s32max
BUF_SIZE 2 buf 1-u32max
CAPPED_DATA 1 offset 1
CAPPED_DATA 3 length 1
DATA_SOURCE 2 buf r vmemdup_user
NOCHECK_CALL
USER_DATA 1 offset 0-u32max[c]
USER_DATA 3 length 1-s32max[c]
BYTE_COUNT 2 ==buf3 8050
USER_PTR 2 buf
LOCK2 &d->mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/virtio/virtio_vdpa.c virtio_vdpa_set() -> vdpa_set_config()

Type Parameter Key Value
PARAM_VALUE 1 offset 0-254
PARAM_VALUE 3 length 1,4
BUF_SIZE 2 buf (-1),4
BUF_SIZE 2 buf (-1),4
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 vdev r vd_get_vdpa
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 length $3
HARD_MAX 3 length 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex