Home
last modified time | relevance | path

Searched refs:free_list_lock (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/gdm724x/
Dgdm_mux.c116 spin_lock_irqsave(&rx->free_list_lock, flags); in get_rx_struct()
119 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
126 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
135 spin_lock_irqsave(&rx->free_list_lock, flags); in put_rx_struct()
137 spin_unlock_irqrestore(&rx->free_list_lock, flags); in put_rx_struct()
446 spin_lock_irqsave(&rx->free_list_lock, flags); in release_usb()
451 spin_unlock_irqrestore(&rx->free_list_lock, flags); in release_usb()
476 spin_lock_init(&rx->free_list_lock); in init_usb()
Dgdm_mux.h65 spinlock_t free_list_lock; member
/drivers/scsi/bnx2fc/
Dbnx2fc_io.c251 cmgr->free_list_lock = kcalloc(arr_sz, sizeof(*cmgr->free_list_lock), in bnx2fc_cmd_mgr_alloc()
253 if (!cmgr->free_list_lock) { in bnx2fc_cmd_mgr_alloc()
264 spin_lock_init(&cmgr->free_list_lock[i]); in bnx2fc_cmd_mgr_alloc()
373 kfree(cmgr->free_list_lock); in bnx2fc_cmd_mgr_free()
423 spin_lock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()
433 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()
445 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()
482 spin_lock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc()
487 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc()
500 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc()
[all …]
Dbnx2fc.h285 spinlock_t *free_list_lock; member