Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/virtio_net.c virtnet_clear_guest_offloads() -> virtnet_set_guest_offloads()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 0 vi->guest_offloads 1-u64max
PARAM_VALUE 0 vi->rq 4096-ptr_max
PARAM_VALUE 0 vi->rss_hdr->indirection_table_mask 0-65534
PARAM_VALUE 0 vi->rss_hdr->unclassified_queue 0
PARAM_VALUE 1 offloads 0
CAPPED_DATA 0 vi->max_queue_pairs 1
DATA_SOURCE 0 vi $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock

drivers/net/virtio_net.c virtnet_restore_guest_offloads() -> virtnet_set_guest_offloads()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 0 vi->guest_offloads 1-u64max
PARAM_VALUE 0 vi->max_queue_pairs 1-u16max
PARAM_VALUE 0 vi->rq 4096-ptr_max
PARAM_VALUE 1 offloads 1-u64max
CAPPED_DATA 0 vi->max_queue_pairs 1
DATA_SOURCE 0 vi $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock

drivers/net/virtio_net.c virtnet_set_features() -> virtnet_set_guest_offloads()

Type Parameter Key Value
PARAM_VALUE 0 vi 4096-ptr_max
PARAM_VALUE 0 vi->xdp_enabled 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 global &rtnl_mutex