/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 55 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()
|
D | prestera.h | 163 rwlock_t port_list_lock; member
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
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() 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()
|
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()
|
D | zfcp_fc.c | 238 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()
|
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()
|
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()
|
D | zfcp_def.h | 166 rwlock_t port_list_lock; /* port list lock */ member
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 600 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 …]
|
D | netdevsim.h | 200 struct mutex port_list_lock; /* protects port list */ member
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_vport.c | 210 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()
|
D | lpfc.h | 1034 spinlock_t port_list_lock; /* lock for port_list mutations */ member
|
D | lpfc_ct.c | 449 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()
|
D | lpfc_init.c | 4460 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()
|
D | lpfc_hbadisc.c | 6331 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()
|
D | lpfc_els.c | 8202 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/ |
D | q6afe.c | 372 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()
|