Lines Matching refs:lock
88 read_lock_bh(&ctbl->lock); in cxgb4_clip_get()
98 read_unlock_bh(&ctbl->lock); in cxgb4_clip_get()
102 read_unlock_bh(&ctbl->lock); in cxgb4_clip_get()
104 write_lock_bh(&ctbl->lock); in cxgb4_clip_get()
110 spin_lock_init(&ce->lock); in cxgb4_clip_get()
120 write_unlock_bh(&ctbl->lock); in cxgb4_clip_get()
129 write_unlock_bh(&ctbl->lock); in cxgb4_clip_get()
132 write_unlock_bh(&ctbl->lock); in cxgb4_clip_get()
151 read_lock_bh(&ctbl->lock); in cxgb4_clip_release()
161 read_unlock_bh(&ctbl->lock); in cxgb4_clip_release()
165 read_unlock_bh(&ctbl->lock); in cxgb4_clip_release()
169 write_lock_bh(&ctbl->lock); in cxgb4_clip_release()
170 spin_lock_bh(&ce->lock); in cxgb4_clip_release()
179 spin_unlock_bh(&ce->lock); in cxgb4_clip_release()
180 write_unlock_bh(&ctbl->lock); in cxgb4_clip_release()
199 read_lock_bh(&idev->lock); in cxgb4_update_dev_clip()
205 read_unlock_bh(&idev->lock); in cxgb4_update_dev_clip()
250 read_lock_bh(&ctbl->lock); in clip_tbl_show()
263 read_unlock_bh(&ctbl->lock); in clip_tbl_show()
292 rwlock_init(&ctbl->lock); in t4_init_clip_tbl()