Home
last modified time | relevance | path

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

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