Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/vhost/vhost.c vhost_vq_reset() -> virtio_features_zero()

Type Parameter Key Value
BUF_SIZE 0 features 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/virtio/virtio_pci_modern_dev.c vp_modern_get_driver_extended_features() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 1978867266862616576
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &d->mutex

drivers/virtio/virtio_pci_modern_dev.c vp_modern_get_extended_features() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 2225163803325947904,3318700494157557760,4534496434731745280
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vdpa/pds/vdpa_dev.c virtio_features_from_u64() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 2820298325716721664
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vdpa_dev->cf_lock
HALF_LOCKED2 &d->mutex
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/vhost/net.c vhost_net_ioctl() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 7569705068722741248
BUF_SIZE 0 features 16
NOCHECK_CALL

drivers/vhost/net.c virtio_features_from_u64() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 7569705068722741248
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $0
NOCHECK_CALL

drivers/vdpa/virtio_pci/vp_vdpa.c virtio_features_from_u64() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 6147542192451092480
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vdpa->cf_lock
HALF_LOCKED2 &d->mutex
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/virtio/virtio_debug.c virtio_debug_filter_features_clear() -> virtio_features_zero()

Type Parameter Key Value
BUF_SIZE 0 features 16
NOCHECK_CALL
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/virtio/virtio_debug.c virtio_features_from_u64() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 2225163803325947904
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/virtio/virtio.c virtio_dev_probe() -> virtio_features_zero()

Type Parameter Key Value
PARAM_VALUE 0 features 7757374763253493760
BUF_SIZE 0 features 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/virtio/virtio.c virtio_features_from_u64() -> virtio_features_zero()

Type Parameter Key Value
BUF_SIZE 0 features 16
BUF_SIZE 0 features 16
DATA_SOURCE 0 features $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL