Searched refs:cf_lock (Results 1 – 2 of 2) sorted by relevance
93 struct rw_semaphore cf_lock; /* Protects get/set config */ member533 down_write(&vdev->cf_lock); in vdpa_reset()539 up_write(&vdev->cf_lock); in vdpa_reset()558 down_write(&vdev->cf_lock); in vdpa_set_features()560 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()202 init_rwsem(&vdev->cf_lock); in __vdpa_alloc_device()398 down_read(&vdev->cf_lock); in vdpa_get_config()400 up_read(&vdev->cf_lock); in vdpa_get_config()414 down_write(&vdev->cf_lock); in vdpa_set_config()416 up_write(&vdev->cf_lock); in vdpa_set_config()1166 down_read(&vdev->cf_lock); in vdpa_dev_config_fill()1210 up_read(&vdev->cf_lock); in vdpa_dev_config_fill()1217 up_read(&vdev->cf_lock); in vdpa_dev_config_fill()[all …]