Searched refs:free_list_lock (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/gdm724x/ |
D | gdm_mux.c | 129 spin_lock_irqsave(&rx->free_list_lock, flags); in get_rx_struct() 132 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct() 139 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct() 148 spin_lock_irqsave(&rx->free_list_lock, flags); in put_rx_struct() 150 spin_unlock_irqrestore(&rx->free_list_lock, flags); in put_rx_struct() 460 spin_lock_irqsave(&rx->free_list_lock, flags); in release_usb() 465 spin_unlock_irqrestore(&rx->free_list_lock, flags); in release_usb() 491 spin_lock_init(&rx->free_list_lock); in init_usb()
|
D | gdm_mux.h | 75 spinlock_t free_list_lock; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 282 cmgr->free_list_lock = kzalloc(sizeof(*cmgr->free_list_lock) * in bnx2fc_cmd_mgr_alloc() 284 if (!cmgr->free_list_lock) { in bnx2fc_cmd_mgr_alloc() 296 spin_lock_init(&cmgr->free_list_lock[i]); in bnx2fc_cmd_mgr_alloc() 405 kfree(cmgr->free_list_lock); in bnx2fc_cmd_mgr_free() 455 spin_lock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc() 465 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc() 477 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc() 514 spin_lock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc() 519 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc() 532 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_cmd_alloc() [all …]
|
D | bnx2fc.h | 281 spinlock_t *free_list_lock; member
|
/drivers/scsi/ |
D | scsi.c | 246 spin_lock_irqsave(&shost->free_list_lock, flags); in __scsi_get_command() 252 spin_unlock_irqrestore(&shost->free_list_lock, flags); in __scsi_get_command() 305 spin_lock_irqsave(&shost->free_list_lock, flags); in __scsi_put_command() 310 spin_unlock_irqrestore(&shost->free_list_lock, flags); in __scsi_put_command() 476 spin_lock_init(&shost->free_list_lock); in scsi_setup_command_freelist()
|