Searched refs:cf_lock (Results 1 – 2 of 2) sorted by relevance
86 struct rw_semaphore cf_lock; /* Protects get/set config */ member435 down_write(&vdev->cf_lock); in vdpa_reset()438 up_write(&vdev->cf_lock); in vdpa_reset()457 down_write(&vdev->cf_lock); in vdpa_set_features()459 up_write(&vdev->cf_lock); in vdpa_set_features()
26 down_write(&vdev->cf_lock); in vdpa_set_status()28 up_write(&vdev->cf_lock); in vdpa_set_status()197 init_rwsem(&vdev->cf_lock); in __vdpa_alloc_device()393 down_read(&vdev->cf_lock); in vdpa_get_config()395 up_read(&vdev->cf_lock); in vdpa_get_config()409 down_write(&vdev->cf_lock); in vdpa_set_config()411 up_write(&vdev->cf_lock); in vdpa_set_config()881 down_read(&vdev->cf_lock); in vdpa_dev_config_fill()922 up_read(&vdev->cf_lock); in vdpa_dev_config_fill()929 up_read(&vdev->cf_lock); in vdpa_dev_config_fill()[all …]