Home
last modified time | relevance | path

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

/Linux-v6.6/net/devlink/
Dregion.c17 struct mutex snapshot_lock; /* protects snapshot_list, member
424 lockdep_assert_held(&region->snapshot_lock); in __devlink_region_snapshot_create()
462 lockdep_assert_held(&region->snapshot_lock); in devlink_region_snapshot_del()
624 mutex_lock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
627 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
632 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_del()
679 mutex_lock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
744 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
751 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
757 mutex_unlock(&region->snapshot_lock); in devlink_nl_cmd_region_new()
[all …]
/Linux-v6.6/fs/btrfs/
Dctree.h310 struct btrfs_drew_lock snapshot_lock; member
Dfile.c1074 if (!btrfs_drew_try_write_lock(&root->snapshot_lock)) in btrfs_check_nocow_lock()
1085 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_check_nocow_lock()
1095 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_check_nocow_lock()
1106 btrfs_drew_write_unlock(&inode->root->snapshot_lock); in btrfs_check_nocow_unlock()
Dinode.c4971 btrfs_drew_write_lock(&root->snapshot_lock); in btrfs_setsize()
4974 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4980 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4988 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
10605 if (!btrfs_drew_try_write_lock(&root->snapshot_lock)) { in btrfs_swap_activate()
10778 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_swap_activate()
Dioctl.c1025 btrfs_drew_read_lock(&root->snapshot_lock); in btrfs_mksnapshot()
1046 btrfs_drew_read_unlock(&root->snapshot_lock); in btrfs_mksnapshot()
Ddisk-io.c1100 btrfs_drew_lock_init(&root->snapshot_lock); in btrfs_init_fs_root()