Searched refs:alloc_blocks_lock (Results 1 – 2 of 2) sorted by relevance
236 down(&wqs->alloc_blocks_lock); in wqs_next_block()242 up(&wqs->alloc_blocks_lock); in wqs_next_block()255 up(&wqs->alloc_blocks_lock); in wqs_next_block()264 down(&wqs->alloc_blocks_lock); in wqs_return_block()274 up(&wqs->alloc_blocks_lock); in wqs_return_block()293 sema_init(&wqs->alloc_blocks_lock, 1); in init_wqs_blocks_arr()
65 struct semaphore alloc_blocks_lock; member