/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_aux.c | 195 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn() 200 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn() 203 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn() 393 rwlock_init(&adapter->port_list_lock); in zfcp_adapter_enqueue() 558 write_lock_irq(&adapter->port_list_lock); in zfcp_port_enqueue() 560 write_unlock_irq(&adapter->port_list_lock); in zfcp_port_enqueue()
|
H A D | zfcp_ccw.c | 126 write_lock_irq(&adapter->port_list_lock); in zfcp_ccw_remove() 133 write_unlock_irq(&adapter->port_list_lock); in zfcp_ccw_remove()
|
H A D | zfcp_fc.c | 249 read_lock_irqsave(&adapter->port_list_lock, flags); in _zfcp_fc_incoming_rscn() 254 read_unlock_irqrestore(&adapter->port_list_lock, flags); in _zfcp_fc_incoming_rscn() 279 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_incoming_rscn() 287 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_incoming_rscn() 308 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_incoming_wwpn() 314 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_incoming_wwpn() 785 write_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_eval_gpn_ft() 788 write_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_eval_gpn_ft()
|
H A D | zfcp_erp.c | 114 read_lock(&adapter->port_list_lock); in zfcp_erp_action_dismiss_adapter() 117 read_unlock(&adapter->port_list_lock); in zfcp_erp_action_dismiss_adapter() 651 read_lock(&adapter->port_list_lock); in zfcp_erp_port_forced_reopen_all() 654 read_unlock(&adapter->port_list_lock); in zfcp_erp_port_forced_reopen_all() 663 read_lock(&adapter->port_list_lock); in _zfcp_erp_port_reopen_all() 666 read_unlock(&adapter->port_list_lock); in _zfcp_erp_port_reopen_all() 1705 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_erp_set_adapter_status() 1708 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_erp_set_adapter_status() 1746 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_erp_clear_adapter_status() 1752 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_erp_clear_adapter_status()
|
H A D | zfcp_scsi.c | 528 read_lock_irq(&adapter->port_list_lock); in zfcp_scsi_adapter_unregister() 531 read_unlock_irq(&adapter->port_list_lock); in zfcp_scsi_adapter_unregister() 793 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_scsi_schedule_rports_block() 796 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_scsi_schedule_rports_block()
|
H A D | zfcp_def.h | 165 rwlock_t port_list_lock; /* port list lock */ member
|
H A D | zfcp_sysfs.c | 326 write_lock_irq(&adapter->port_list_lock); in zfcp_sysfs_port_remove_store() 328 write_unlock_irq(&adapter->port_list_lock); in zfcp_sysfs_port_remove_store()
|
H A D | zfcp_fsf.c | 114 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fsf_status_read_port_closed() 120 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fsf_status_read_port_closed()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_vport.c | 207 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_unique_wwpn() 215 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_unique_wwpn() 219 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_unique_wwpn() 784 spin_lock_irq(&phba->port_list_lock); in lpfc_vport_delete() 786 spin_unlock_irq(&phba->port_list_lock); in lpfc_vport_delete() 803 spin_lock_irq(&phba->port_list_lock); in lpfc_create_vport_work_array() 816 spin_unlock_irq(&phba->port_list_lock); in lpfc_create_vport_work_array()
|
H A D | lpfc_ct.c | 703 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_find_vport_by_did() 706 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_did() 710 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_did()
|
H A D | lpfc_init.c | 4843 spin_lock_irq(&phba->port_list_lock); in lpfc_create_port() 4845 spin_unlock_irq(&phba->port_list_lock); in lpfc_create_port() 4874 spin_lock_irq(&phba->port_list_lock); in destroy_port() 4876 spin_unlock_irq(&phba->port_list_lock); in destroy_port() 7685 spin_lock_init(&phba->port_list_lock); in lpfc_setup_driver_resource_phase1() 14165 spin_lock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s3() 14167 spin_unlock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s3() 15011 spin_lock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s4() 15013 spin_unlock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s4()
|
H A D | lpfc.h | 1304 spinlock_t port_list_lock; /* lock for port_list mutations */ member
|
H A D | lpfc_hbadisc.c | 6570 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid() 6573 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid() 6577 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid()
|
H A D | lpfc_els.c | 9771 spin_lock_irq(&phba->port_list_lock); in lpfc_els_flush_all_cmd() 9774 spin_unlock_irq(&phba->port_list_lock); in lpfc_els_flush_all_cmd()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 98 read_lock(&sw->port_list_lock); in prestera_port_find_by_hwid() 105 read_unlock(&sw->port_list_lock); in prestera_port_find_by_hwid() 114 read_lock(&sw->port_list_lock); in prestera_find_port() 121 read_unlock(&sw->port_list_lock); in prestera_find_port() 591 write_lock(&port->sw->port_list_lock); in prestera_port_list_add() 593 write_unlock(&port->sw->port_list_lock); in prestera_port_list_add() 598 write_lock(&port->sw->port_list_lock); in prestera_port_list_del() 600 write_unlock(&port->sw->port_list_lock); in prestera_port_list_del() 1372 rwlock_init(&sw->port_list_lock); in prestera_switch_init()
|
H A D | prestera.h | 298 rwlock_t port_list_lock; member
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe.c | 374 spinlock_t port_list_lock; member 845 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_port_free() 847 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_port_free() 858 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_find_port() 866 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_find_port() 1632 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_port_get_from_id() 1634 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_port_get_from_id() 1746 spin_lock_init(&afe->port_list_lock); in q6afe_probe()
|