Lines Matching refs:owner
99 #define btrfs_might_wait_for_event(owner, lock) \ argument
101 rwsem_acquire(&owner->lock##_map, 0, 0, _THIS_IP_); \
102 rwsem_release(&owner->lock##_map, _THIS_IP_); \
116 #define btrfs_lockdep_acquire(owner, lock) \ argument
117 rwsem_acquire_read(&owner->lock##_map, 0, 0, _THIS_IP_)
123 #define btrfs_lockdep_release(owner, lock) \ argument
124 rwsem_release(&owner->lock##_map, _THIS_IP_)
130 #define btrfs_might_wait_for_state(owner, i) \ argument
132 rwsem_acquire(&owner->btrfs_state_change_map[i], 0, 0, _THIS_IP_); \
133 rwsem_release(&owner->btrfs_state_change_map[i], _THIS_IP_); \
136 #define btrfs_trans_state_lockdep_acquire(owner, i) \ argument
137 rwsem_acquire_read(&owner->btrfs_state_change_map[i], 0, 0, _THIS_IP_)
139 #define btrfs_trans_state_lockdep_release(owner, i) \ argument
140 rwsem_release(&owner->btrfs_state_change_map[i], _THIS_IP_)
143 #define btrfs_lockdep_init_map(owner, lock) \ argument
146 lockdep_init_map(&owner->lock##_map, #lock, &lock##_key, 0); \
150 #define btrfs_state_lockdep_init_map(owner, lock, state) \ argument
153 lockdep_init_map(&owner->btrfs_state_change_map[state], #lock, \