Searched refs:alloc_blocks_lock (Results 1 – 2 of 2) sorted by relevance
238 down(&wqs->alloc_blocks_lock); in wqs_next_block()244 up(&wqs->alloc_blocks_lock); in wqs_next_block()257 up(&wqs->alloc_blocks_lock); in wqs_next_block()266 down(&wqs->alloc_blocks_lock); in wqs_return_block()276 up(&wqs->alloc_blocks_lock); in wqs_return_block()295 sema_init(&wqs->alloc_blocks_lock, 1); in init_wqs_blocks_arr()
65 struct semaphore alloc_blocks_lock; member