Home
last modified time | relevance | path

Searched refs:snapshot_lock (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/net/core/
Ddevlink.c712 struct mutex snapshot_lock; /* protects snapshot_list, member
6004 lockdep_assert_held(&region->snapshot_lock); in __devlink_region_snapshot_create()
6042 lockdep_assert_held(&region->snapshot_lock); in devlink_region_snapshot_del()
6219 mutex_lock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
6222 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
6227 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
6275 mutex_lock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
6340 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
6347 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
6353 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
[all …]
/linux-6.1.9/fs/btrfs/
Dfile.c1388 if (!btrfs_drew_try_write_lock(&root->snapshot_lock)) in btrfs_check_nocow_lock()
1398 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_check_nocow_lock()
1407 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_check_nocow_lock()
1418 btrfs_drew_write_unlock(&inode->root->snapshot_lock); in btrfs_check_nocow_unlock()
Dinode.c5170 btrfs_drew_write_lock(&root->snapshot_lock); in btrfs_setsize()
5173 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
5179 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
5187 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
11029 if (!btrfs_drew_try_write_lock(&root->snapshot_lock)) { in btrfs_swap_activate()
11202 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_swap_activate()
Ddisk-io.c1447 ret = btrfs_drew_lock_init(&root->snapshot_lock); in btrfs_init_fs_root()
2163 btrfs_drew_lock_destroy(&root->snapshot_lock); in btrfs_put_root()
Dioctl.c1013 btrfs_drew_read_lock(&root->snapshot_lock); in btrfs_mksnapshot()
1034 btrfs_drew_read_unlock(&root->snapshot_lock); in btrfs_mksnapshot()
Dctree.h1438 struct btrfs_drew_lock snapshot_lock; member