Home
last modified time | relevance | path

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

/drivers/staging/gdm724x/
Dgdm_mux.c129 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()
Dgdm_mux.h75 spinlock_t free_list_lock; member
/drivers/scsi/bnx2fc/
Dbnx2fc_io.c282 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 …]
Dbnx2fc.h281 spinlock_t *free_list_lock; member
/drivers/scsi/
Dscsi.c246 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()