Home
last modified time | relevance | path

Searched refs:mbox_lock (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/scsi/be2iscsi/
Dbe_mgmt.c33 spin_lock(&ctrl->mbox_lock); in beiscsi_get_boot_target()
36 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_boot_target()
49 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_boot_target()
65 spin_lock(&ctrl->mbox_lock); in beiscsi_get_session_info()
68 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_session_info()
91 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_session_info()
102 spin_lock(&ctrl->mbox_lock); in mgmt_get_fw_config()
135 spin_unlock(&ctrl->mbox_lock); in mgmt_get_fw_config()
160 spin_lock(&ctrl->mbox_lock); in mgmt_check_supported_fw()
183 spin_unlock(&ctrl->mbox_lock); in mgmt_check_supported_fw()
[all …]
Dbe_cmds.c133 spin_lock(&ctrl->mbox_lock); in free_mcc_tag()
141 spin_unlock(&ctrl->mbox_lock); in free_mcc_tag()
529 spin_lock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()
556 spin_unlock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()
567 spin_lock(&ctrl->mbox_lock); in be_cmd_fw_initialize()
585 spin_unlock(&ctrl->mbox_lock); in be_cmd_fw_initialize()
601 spin_lock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()
635 spin_unlock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()
659 spin_lock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()
689 spin_unlock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()
[all …]
Dbe.h105 spinlock_t mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c606 spin_lock_init(&ctrl->mbox_lock); in be_ctrl_init()
/linux-2.6.39/drivers/net/benet/
Dbe_cmds.c503 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_init()
518 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_init()
533 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_clean()
548 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_clean()
559 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_eq_create()
590 mutex_unlock(&adapter->mbox_lock); in be_cmd_eq_create()
602 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_mac_addr_query()
628 mutex_unlock(&adapter->mbox_lock); in be_cmd_mac_addr_query()
714 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_cq_create()
769 mutex_unlock(&adapter->mbox_lock); in be_cmd_cq_create()
[all …]
Dbe.h268 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c2759 mutex_init(&adapter->mbox_lock); in be_ctrl_init()
/linux-2.6.39/drivers/net/appletalk/
Dltpc.c240 static DEFINE_SPINLOCK(mbox_lock);
358 spin_lock_irqsave(&mbox_lock, flags); in getmbox()
361 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()
364 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()