Home
last modified time | relevance | path

Searched refs:btrfs_drew_lock (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dlocking.h120 struct btrfs_drew_lock { struct
127 int btrfs_drew_lock_init(struct btrfs_drew_lock *lock); argument
128 void btrfs_drew_lock_destroy(struct btrfs_drew_lock *lock);
129 void btrfs_drew_write_lock(struct btrfs_drew_lock *lock);
130 bool btrfs_drew_try_write_lock(struct btrfs_drew_lock *lock);
131 void btrfs_drew_write_unlock(struct btrfs_drew_lock *lock);
132 void btrfs_drew_read_lock(struct btrfs_drew_lock *lock);
133 void btrfs_drew_read_unlock(struct btrfs_drew_lock *lock);
Dlocking.c327 int btrfs_drew_lock_init(struct btrfs_drew_lock *lock) in btrfs_drew_lock_init()
342 void btrfs_drew_lock_destroy(struct btrfs_drew_lock *lock) in btrfs_drew_lock_destroy()
348 bool btrfs_drew_try_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_try_write_lock()
365 void btrfs_drew_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_write_lock()
374 void btrfs_drew_write_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_write_unlock()
380 void btrfs_drew_read_lock(struct btrfs_drew_lock *lock) in btrfs_drew_read_lock()
396 void btrfs_drew_read_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_read_unlock()
Dctree.h1438 struct btrfs_drew_lock snapshot_lock;