Lines Matching full:flags

22 	unsigned long	flags;  in bfad_iocmd_ioc_enable()  local
24 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
27 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
35 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
45 unsigned long flags; in bfad_iocmd_ioc_disable() local
47 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_disable()
49 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_disable()
55 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_disable()
62 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_disable()
78 unsigned long flags; in bfad_iocmd_ioc_get_info() local
80 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_info()
93 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_info()
114 unsigned long flags; in bfad_iocmd_ioc_get_attr() local
116 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_attr()
118 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_attr()
156 unsigned long flags; in bfad_iocmd_ioc_get_fwstats() local
166 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_fwstats()
168 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_fwstats()
183 unsigned long flags; in bfad_iocmd_ioc_reset_stats() local
189 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_reset_stats()
191 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_reset_stats()
226 unsigned long flags; in bfad_iocmd_ioc_fw_sig_inv() local
228 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_fw_sig_inv()
230 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_fw_sig_inv()
238 unsigned long flags; in bfad_iocmd_iocfc_set_intr() local
240 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_iocfc_set_intr()
242 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_iocfc_set_intr()
252 unsigned long flags; in bfad_iocmd_port_enable() local
255 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_enable()
258 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_enable()
273 unsigned long flags; in bfad_iocmd_port_disable() local
276 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_disable()
279 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_disable()
295 unsigned long flags; in bfad_iocmd_port_get_attr() local
297 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_attr()
300 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_attr()
325 unsigned long flags; in bfad_iocmd_port_get_stats() local
337 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_stats()
340 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_stats()
357 unsigned long flags; in bfad_iocmd_port_reset_stats() local
360 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_reset_stats()
363 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_reset_stats()
377 unsigned long flags; in bfad_iocmd_set_port_cfg() local
379 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_set_port_cfg()
388 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_set_port_cfg()
398 unsigned long flags; in bfad_iocmd_port_cfg_maxfrsize() local
400 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_maxfrsize()
402 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_maxfrsize()
412 unsigned long flags; in bfad_iocmd_port_cfg_bbcr() local
415 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_bbcr()
421 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_bbcr()
424 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_bbcr()
434 unsigned long flags; in bfad_iocmd_port_get_bbcr_attr() local
436 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_bbcr_attr()
439 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_get_bbcr_attr()
450 unsigned long flags; in bfad_iocmd_lport_get_attr() local
452 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_attr()
456 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_attr()
462 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_attr()
474 unsigned long flags; in bfad_iocmd_lport_get_stats() local
476 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_stats()
480 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_stats()
486 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_stats()
501 unsigned long flags; in bfad_iocmd_lport_reset_stats() local
503 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lport_reset_stats()
507 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_reset_stats()
520 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_reset_stats()
532 unsigned long flags; in bfad_iocmd_lport_get_iostats() local
534 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_iostats()
538 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_iostats()
545 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_iostats()
558 unsigned long flags; in bfad_iocmd_lport_get_rports() local
574 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_rports()
578 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_rports()
587 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lport_get_rports()
599 unsigned long flags; in bfad_iocmd_rport_get_attr() local
601 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_attr()
606 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_attr()
618 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_attr()
624 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_attr()
638 unsigned long flags; in bfad_iocmd_rport_get_addr() local
640 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_addr()
645 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_addr()
653 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_addr()
664 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_addr()
670 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_addr()
686 unsigned long flags; in bfad_iocmd_rport_get_stats() local
688 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_stats()
693 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_stats()
701 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_stats()
714 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_get_stats()
728 unsigned long flags; in bfad_iocmd_rport_clr_stats() local
730 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_rport_clr_stats()
734 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_clr_stats()
741 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_clr_stats()
750 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_clr_stats()
763 unsigned long flags; in bfad_iocmd_rport_set_speed() local
765 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_rport_set_speed()
769 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_set_speed()
776 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_set_speed()
786 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_rport_set_speed()
797 unsigned long flags; in bfad_iocmd_vport_get_attr() local
799 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_attr()
803 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_attr()
809 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_attr()
821 unsigned long flags; in bfad_iocmd_vport_get_stats() local
823 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_stats()
827 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_stats()
837 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_get_stats()
849 unsigned long flags; in bfad_iocmd_vport_clr_stats() local
851 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vport_clr_stats()
855 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_clr_stats()
862 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vport_clr_stats()
876 unsigned long flags; in bfad_iocmd_fabric_get_lports() local
894 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fabric_get_lports()
897 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fabric_get_lports()
902 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fabric_get_lports()
914 unsigned long flags; in bfad_iocmd_qos_set_bw() local
916 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos_set_bw()
918 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos_set_bw()
928 unsigned long flags; in bfad_iocmd_ratelim() local
930 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ratelim()
947 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ratelim()
957 unsigned long flags; in bfad_iocmd_ratelim_speed() local
959 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ratelim_speed()
965 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ratelim_speed()
976 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ratelim_speed()
985 unsigned long flags; in bfad_iocmd_cfg_fcpim() local
987 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_cfg_fcpim()
989 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cfg_fcpim()
1002 unsigned long flags; in bfad_iocmd_fcpim_get_modstats() local
1004 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_get_modstats()
1011 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_get_modstats()
1024 unsigned long flags; in bfad_iocmd_fcpim_clr_modstats() local
1026 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_clr_modstats()
1033 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_clr_modstats()
1044 unsigned long flags; in bfad_iocmd_fcpim_get_del_itn_stats() local
1046 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_get_del_itn_stats()
1049 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_get_del_itn_stats()
1060 unsigned long flags; in bfad_iocmd_itnim_get_attr() local
1062 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_attr()
1070 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_attr()
1081 unsigned long flags; in bfad_iocmd_itnim_get_iostats() local
1083 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_iostats()
1101 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_iostats()
1112 unsigned long flags; in bfad_iocmd_itnim_reset_stats() local
1114 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_reset_stats()
1129 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_reset_stats()
1141 unsigned long flags; in bfad_iocmd_itnim_get_itnstats() local
1143 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_itnstats()
1159 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_itnstats()
1167 unsigned long flags; in bfad_iocmd_fcport_enable() local
1169 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_enable()
1171 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_enable()
1180 unsigned long flags; in bfad_iocmd_fcport_disable() local
1182 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_disable()
1184 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_disable()
1194 unsigned long flags; in bfad_iocmd_ioc_get_pcifn_cfg() local
1197 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_pcifn_cfg()
1201 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_get_pcifn_cfg()
1216 unsigned long flags; in bfad_iocmd_pcifn_create() local
1219 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_create()
1224 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_create()
1239 unsigned long flags; in bfad_iocmd_pcifn_delete() local
1242 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_delete()
1246 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_delete()
1261 unsigned long flags; in bfad_iocmd_pcifn_bw() local
1264 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_bw()
1268 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_pcifn_bw()
1286 unsigned long flags = 0; in bfad_iocmd_adapter_cfg_mode() local
1289 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_adapter_cfg_mode()
1293 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_adapter_cfg_mode()
1309 unsigned long flags = 0; in bfad_iocmd_port_cfg_mode() local
1312 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_mode()
1317 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_port_cfg_mode()
1332 unsigned long flags; in bfad_iocmd_ablk_optrom() local
1335 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ablk_optrom()
1342 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ablk_optrom()
1358 unsigned long flags; in bfad_iocmd_faa_query() local
1362 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_faa_query()
1365 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_faa_query()
1383 unsigned long flags; in bfad_iocmd_cee_attr() local
1397 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_cee_attr()
1400 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cee_attr()
1420 unsigned long flags; in bfad_iocmd_cee_get_stats() local
1434 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_cee_get_stats()
1437 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cee_get_stats()
1453 unsigned long flags; in bfad_iocmd_cee_reset_stats() local
1455 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_cee_reset_stats()
1457 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cee_reset_stats()
1468 unsigned long flags; in bfad_iocmd_sfp_media() local
1471 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_sfp_media()
1474 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_sfp_media()
1490 unsigned long flags; in bfad_iocmd_sfp_speed() local
1493 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_sfp_speed()
1496 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_sfp_speed()
1512 unsigned long flags; in bfad_iocmd_flash_get_attr() local
1515 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_flash_get_attr()
1518 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_flash_get_attr()
1532 unsigned long flags; in bfad_iocmd_flash_erase_part() local
1535 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_flash_erase_part()
1538 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_flash_erase_part()
1554 unsigned long flags; in bfad_iocmd_flash_update_part() local
1566 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_flash_update_part()
1570 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_flash_update_part()
1586 unsigned long flags; in bfad_iocmd_flash_read_part() local
1598 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_flash_read_part()
1602 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_flash_read_part()
1617 unsigned long flags; in bfad_iocmd_diag_temp() local
1620 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_temp()
1623 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_temp()
1639 unsigned long flags; in bfad_iocmd_diag_memtest() local
1642 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_memtest()
1646 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_memtest()
1662 unsigned long flags; in bfad_iocmd_diag_loopback() local
1665 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_loopback()
1669 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_loopback()
1685 unsigned long flags; in bfad_iocmd_diag_fwping() local
1688 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_fwping()
1692 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_fwping()
1708 unsigned long flags; in bfad_iocmd_diag_queuetest() local
1711 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_queuetest()
1715 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_queuetest()
1730 unsigned long flags; in bfad_iocmd_diag_sfp() local
1733 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_sfp()
1736 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_sfp()
1751 unsigned long flags; in bfad_iocmd_diag_led() local
1753 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_led()
1756 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_led()
1765 unsigned long flags; in bfad_iocmd_diag_beacon_lport() local
1767 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_beacon_lport()
1771 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_beacon_lport()
1780 unsigned long flags; in bfad_iocmd_diag_lb_stat() local
1782 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_lb_stat()
1784 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_lb_stat()
1795 unsigned long flags; in bfad_iocmd_diag_dport_enable() local
1799 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_enable()
1802 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_enable()
1816 unsigned long flags; in bfad_iocmd_diag_dport_disable() local
1820 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_disable()
1822 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_disable()
1837 unsigned long flags; in bfad_iocmd_diag_dport_start() local
1841 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_start()
1845 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_start()
1862 unsigned long flags; in bfad_iocmd_diag_dport_show() local
1864 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_show()
1866 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_diag_dport_show()
1878 unsigned long flags; in bfad_iocmd_phy_get_attr() local
1881 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_phy_get_attr()
1884 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_phy_get_attr()
1899 unsigned long flags; in bfad_iocmd_phy_get_stats() local
1902 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_phy_get_stats()
1905 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_phy_get_stats()
1920 unsigned long flags; in bfad_iocmd_phy_read() local
1931 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_phy_read()
1935 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_phy_read()
1952 unsigned long flags; in bfad_iocmd_vhba_query() local
1954 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vhba_query()
1961 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vhba_query()
1971 unsigned long flags; in bfad_iocmd_phy_update() local
1982 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_phy_update()
1986 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_phy_update()
2021 unsigned long flags; in bfad_iocmd_debug_fw_core() local
2039 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_debug_fw_core()
2044 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_debug_fw_core()
2053 unsigned long flags; in bfad_iocmd_debug_ctl() local
2056 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_debug_ctl()
2058 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_debug_ctl()
2089 unsigned long flags; in bfad_iocmd_fcpim_cfg_profile() local
2091 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_cfg_profile()
2096 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_cfg_profile()
2108 unsigned long flags; in bfad_iocmd_itnim_get_ioprofile() local
2110 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_ioprofile()
2124 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_itnim_get_ioprofile()
2134 unsigned long flags; in bfad_iocmd_fcport_get_stats() local
2140 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_get_stats()
2142 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_get_stats()
2158 unsigned long flags; in bfad_iocmd_fcport_reset_stats() local
2164 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_reset_stats()
2166 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcport_reset_stats()
2182 unsigned long flags; in bfad_iocmd_boot_cfg() local
2185 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_boot_cfg()
2190 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_boot_cfg()
2204 unsigned long flags; in bfad_iocmd_boot_query() local
2207 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_boot_query()
2212 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_boot_query()
2227 unsigned long flags; in bfad_iocmd_preboot_query() local
2229 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_preboot_query()
2235 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_preboot_query()
2245 unsigned long flags; in bfad_iocmd_ethboot_cfg() local
2248 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ethboot_cfg()
2254 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ethboot_cfg()
2268 unsigned long flags; in bfad_iocmd_ethboot_query() local
2271 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ethboot_query()
2277 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ethboot_query()
2292 unsigned long flags; in bfad_iocmd_cfg_trunk() local
2294 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_cfg_trunk()
2297 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cfg_trunk()
2321 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_cfg_trunk()
2332 unsigned long flags; in bfad_iocmd_trunk_get_attr() local
2334 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_trunk_get_attr()
2344 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_trunk_get_attr()
2354 unsigned long flags; in bfad_iocmd_qos() local
2356 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos()
2372 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos()
2382 unsigned long flags; in bfad_iocmd_qos_get_attr() local
2384 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_attr()
2398 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_attr()
2410 unsigned long flags; in bfad_iocmd_qos_get_vc_attr() local
2413 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_vc_attr()
2429 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_vc_attr()
2441 unsigned long flags; in bfad_iocmd_qos_get_stats() local
2449 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_stats()
2456 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos_get_stats()
2472 unsigned long flags; in bfad_iocmd_qos_reset_stats() local
2480 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_qos_reset_stats()
2487 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_qos_reset_stats()
2504 unsigned long flags; in bfad_iocmd_vf_get_stats() local
2506 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vf_get_stats()
2509 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vf_get_stats()
2515 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vf_get_stats()
2527 unsigned long flags; in bfad_iocmd_vf_clr_stats() local
2529 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_vf_clr_stats()
2532 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vf_clr_stats()
2537 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_vf_clr_stats()
2550 /* Set the scsi device LUN SCAN flags for base port */ in bfad_iocmd_lunmask_reset_lunscan_mode()
2553 /* Set the scsi device LUN SCAN flags for the vports */ in bfad_iocmd_lunmask_reset_lunscan_mode()
2562 unsigned long flags; in bfad_iocmd_lunmask() local
2564 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_lunmask()
2577 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_lunmask()
2587 unsigned long flags; in bfad_iocmd_fcpim_lunmask_query() local
2589 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_lunmask_query()
2591 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_lunmask_query()
2600 unsigned long flags; in bfad_iocmd_fcpim_cfg_lunmask() local
2602 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_cfg_lunmask()
2610 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_cfg_lunmask()
2619 unsigned long flags; in bfad_iocmd_fcpim_throttle_query() local
2621 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_throttle_query()
2624 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_throttle_query()
2634 unsigned long flags; in bfad_iocmd_fcpim_throttle_set() local
2636 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_throttle_set()
2639 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fcpim_throttle_set()
2650 unsigned long flags = 0; in bfad_iocmd_tfru_read() local
2653 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_tfru_read()
2657 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_tfru_read()
2672 unsigned long flags = 0; in bfad_iocmd_tfru_write() local
2675 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_tfru_write()
2679 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_tfru_write()
2694 unsigned long flags = 0; in bfad_iocmd_fruvpd_read() local
2697 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_read()
2701 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_read()
2716 unsigned long flags = 0; in bfad_iocmd_fruvpd_update() local
2719 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_update()
2723 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_update()
2737 unsigned long flags = 0; in bfad_iocmd_fruvpd_get_max_size() local
2739 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_get_max_size()
2742 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_fruvpd_get_max_size()
3307 unsigned long flags; in bfad_fcxp_bsg_send() local
3310 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_fcxp_bsg_send()
3322 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_fcxp_bsg_send()
3336 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_fcxp_bsg_send()
3355 unsigned long flags; in bfad_im_bsg_els_ct_request() local
3394 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()
3399 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()
3406 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()
3428 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()
3435 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()
3439 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_im_bsg_els_ct_request()