Lines Matching refs:_origins_lock
342 static struct rw_semaphore _origins_lock; variable
372 init_rwsem(&_origins_lock); in init_origin_hash()
561 down_write(&_origins_lock); in register_snapshot()
586 up_write(&_origins_lock); in register_snapshot()
598 down_write(&_origins_lock); in reregister_snapshot()
603 up_write(&_origins_lock); in reregister_snapshot()
610 down_write(&_origins_lock); in unregister_snapshot()
619 up_write(&_origins_lock); in unregister_snapshot()
1478 down_read(&_origins_lock); in snapshot_dtr()
1487 up_read(&_origins_lock); in snapshot_dtr()
1560 up_read(&_origins_lock); in wait_for_in_progress()
2208 down_read(&_origins_lock); in snapshot_preresume()
2221 up_read(&_origins_lock); in snapshot_preresume()
2234 down_read(&_origins_lock); in snapshot_resume()
2251 up_read(&_origins_lock); in snapshot_resume()
2261 down_read(&_origins_lock); in snapshot_resume()
2272 up_read(&_origins_lock); in snapshot_resume()
2293 down_read(&_origins_lock); in get_origin_minimum_chunksize()
2295 up_read(&_origins_lock); in get_origin_minimum_chunksize()
2407 down_read(&_origins_lock); in snapshot_io_hints()
2417 up_read(&_origins_lock); in snapshot_io_hints()
2564 down_read(&_origins_lock); in do_origin()
2577 up_read(&_origins_lock); in do_origin()
2606 down_read(&_origins_lock); in origin_write_extent()
2612 up_read(&_origins_lock); in origin_write_extent()
2702 down_write(&_origins_lock); in origin_resume()
2704 up_write(&_origins_lock); in origin_resume()
2711 down_write(&_origins_lock); in origin_postsuspend()
2713 up_write(&_origins_lock); in origin_postsuspend()