Home
last modified time | relevance | path

Searched refs:port_list_lock (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c55 read_lock(&sw->port_list_lock); in prestera_port_find_by_hwid()
62 read_unlock(&sw->port_list_lock); in prestera_port_find_by_hwid()
71 read_lock(&sw->port_list_lock); in prestera_find_port()
78 read_unlock(&sw->port_list_lock); in prestera_find_port()
267 write_lock(&port->sw->port_list_lock); in prestera_port_list_add()
269 write_unlock(&port->sw->port_list_lock); in prestera_port_list_add()
274 write_lock(&port->sw->port_list_lock); in prestera_port_list_del()
276 write_unlock(&port->sw->port_list_lock); in prestera_port_list_del()
566 rwlock_init(&sw->port_list_lock); in prestera_switch_init()
Dprestera.h163 rwlock_t port_list_lock; member
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_aux.c195 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()
383 rwlock_init(&adapter->port_list_lock); in zfcp_adapter_enqueue()
537 write_lock_irq(&adapter->port_list_lock); in zfcp_port_enqueue()
539 write_unlock_irq(&adapter->port_list_lock); in zfcp_port_enqueue()
Dzfcp_ccw.c126 write_lock_irq(&adapter->port_list_lock); in zfcp_ccw_remove()
133 write_unlock_irq(&adapter->port_list_lock); in zfcp_ccw_remove()
Dzfcp_fc.c238 read_lock_irqsave(&adapter->port_list_lock, flags); in _zfcp_fc_incoming_rscn()
243 read_unlock_irqrestore(&adapter->port_list_lock, flags); in _zfcp_fc_incoming_rscn()
268 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_incoming_rscn()
276 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_incoming_rscn()
297 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_incoming_wwpn()
303 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_incoming_wwpn()
778 write_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fc_eval_gpn_ft()
781 write_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fc_eval_gpn_ft()
Dzfcp_erp.c114 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()
Dzfcp_scsi.c528 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()
Dzfcp_def.h166 rwlock_t port_list_lock; /* port list lock */ member
Dzfcp_sysfs.c326 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()
Dzfcp_fsf.c114 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()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Ddev.c600 mutex_lock(&nsim_dev->port_list_lock); in nsim_dev_trap_report_work()
607 mutex_unlock(&nsim_dev->port_list_lock); in nsim_dev_trap_report_work()
973 mutex_lock(&nsim_dev->port_list_lock); in nsim_dev_port_del_all()
977 mutex_unlock(&nsim_dev->port_list_lock); in nsim_dev_port_del_all()
1007 mutex_init(&nsim_dev->port_list_lock); in nsim_dev_reload_create()
1068 mutex_init(&nsim_dev->port_list_lock); in nsim_dev_probe()
1161 mutex_destroy(&nsim_dev->port_list_lock); in nsim_dev_reload_destroy()
1199 mutex_lock(&nsim_dev->port_list_lock); in nsim_dev_port_add()
1204 mutex_unlock(&nsim_dev->port_list_lock); in nsim_dev_port_add()
1215 mutex_lock(&nsim_dev->port_list_lock); in nsim_dev_port_del()
[all …]
Dnetdevsim.h200 struct mutex port_list_lock; /* protects port list */ member
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_vport.c210 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_unique_wwpn()
218 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_unique_wwpn()
222 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_unique_wwpn()
807 spin_lock_irq(&phba->port_list_lock); in lpfc_vport_delete()
809 spin_unlock_irq(&phba->port_list_lock); in lpfc_vport_delete()
826 spin_lock_irq(&phba->port_list_lock); in lpfc_create_vport_work_array()
839 spin_unlock_irq(&phba->port_list_lock); in lpfc_create_vport_work_array()
Dlpfc.h1034 spinlock_t port_list_lock; /* lock for port_list mutations */ member
Dlpfc_ct.c449 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_find_vport_by_did()
452 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_did()
456 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_did()
Dlpfc_init.c4460 spin_lock_irq(&phba->port_list_lock); in lpfc_create_port()
4462 spin_unlock_irq(&phba->port_list_lock); in lpfc_create_port()
4488 spin_lock_irq(&phba->port_list_lock); in destroy_port()
4490 spin_unlock_irq(&phba->port_list_lock); in destroy_port()
6308 spin_lock_init(&phba->port_list_lock); in lpfc_setup_driver_resource_phase1()
12447 spin_lock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s3()
12449 spin_unlock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s3()
13304 spin_lock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s4()
13306 spin_unlock_irq(&phba->port_list_lock); in lpfc_pci_remove_one_s4()
Dlpfc_hbadisc.c6331 spin_lock_irqsave(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid()
6334 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid()
6338 spin_unlock_irqrestore(&phba->port_list_lock, flags); in lpfc_find_vport_by_vpid()
Dlpfc_els.c8202 spin_lock_irq(&phba->port_list_lock); in lpfc_els_flush_all_cmd()
8205 spin_unlock_irq(&phba->port_list_lock); in lpfc_els_flush_all_cmd()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe.c372 spinlock_t port_list_lock; member
839 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_port_free()
841 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_port_free()
852 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_find_port()
860 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_find_port()
1625 spin_lock_irqsave(&afe->port_list_lock, flags); in q6afe_port_get_from_id()
1627 spin_unlock_irqrestore(&afe->port_list_lock, flags); in q6afe_port_get_from_id()
1739 spin_lock_init(&afe->port_list_lock); in q6afe_probe()