Home
last modified time | relevance | path

Searched refs:alloc_blocks_lock (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c236 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()
H A Dhinic_hw_wq.h65 struct semaphore alloc_blocks_lock; member