Searched refs:free_list_lock (Results 1 – 4 of 4) sorted by relevance
116 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()
65 spinlock_t free_list_lock; member
251 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()499 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc()[all …]
282 spinlock_t *free_list_lock; member