Lines Matching refs:snapshot_lock
17 struct mutex snapshot_lock; /* protects snapshot_list, member
424 lockdep_assert_held(®ion->snapshot_lock); in __devlink_region_snapshot_create()
462 lockdep_assert_held(®ion->snapshot_lock); in devlink_region_snapshot_del()
624 mutex_lock(®ion->snapshot_lock); in devlink_nl_cmd_region_del()
627 mutex_unlock(®ion->snapshot_lock); in devlink_nl_cmd_region_del()
632 mutex_unlock(®ion->snapshot_lock); in devlink_nl_cmd_region_del()
679 mutex_lock(®ion->snapshot_lock); in devlink_nl_cmd_region_new()
744 mutex_unlock(®ion->snapshot_lock); in devlink_nl_cmd_region_new()
751 mutex_unlock(®ion->snapshot_lock); in devlink_nl_cmd_region_new()
757 mutex_unlock(®ion->snapshot_lock); in devlink_nl_cmd_region_new()
1069 mutex_init(®ion->snapshot_lock); in devl_region_create()
1145 mutex_init(®ion->snapshot_lock); in devlink_port_region_create()
1171 mutex_lock(®ion->snapshot_lock); in devl_region_destroy()
1174 mutex_unlock(®ion->snapshot_lock); in devl_region_destroy()
1177 mutex_destroy(®ion->snapshot_lock); in devl_region_destroy()
1255 mutex_lock(®ion->snapshot_lock); in devlink_region_snapshot_create()
1257 mutex_unlock(®ion->snapshot_lock); in devlink_region_snapshot_create()