Lines Matching defs:lock
45 spinlock_t lock; member
61 static unsigned int __find_holder(struct block_lock *lock, in __find_holder()
75 static void __add_holder(struct block_lock *lock, struct task_struct *task) in __add_holder()
92 static void __del_holder(struct block_lock *lock, struct task_struct *task) in __del_holder()
100 static int __check_holder(struct block_lock *lock) in __check_holder()
150 static void __wake_many(struct block_lock *lock) in __wake_many()
175 static void bl_init(struct block_lock *lock) in bl_init()
186 static int __available_for_read(struct block_lock *lock) in __available_for_read()
193 static int bl_down_read(struct block_lock *lock) in bl_down_read()
224 static int bl_down_read_nonblock(struct block_lock *lock) in bl_down_read_nonblock()
245 static void bl_up_read(struct block_lock *lock) in bl_up_read()
256 static int bl_down_write(struct block_lock *lock) in bl_down_write()
292 static void bl_up_write(struct block_lock *lock) in bl_up_write()
352 struct block_lock lock; member