Lines Matching full:clear
352 * @clear: Status flags to clear.
355 void zfcp_erp_adapter_reopen(struct zfcp_adapter *adapter, int clear, in zfcp_erp_adapter_reopen() argument
360 zfcp_erp_adapter_block(adapter, clear); in zfcp_erp_adapter_reopen()
372 * @clear: Status flags to clear.
375 void zfcp_erp_adapter_shutdown(struct zfcp_adapter *adapter, int clear, in zfcp_erp_adapter_shutdown() argument
379 zfcp_erp_adapter_reopen(adapter, clear | flags, dbftag); in zfcp_erp_adapter_shutdown()
385 * @clear: Status flags to clear.
388 void zfcp_erp_port_shutdown(struct zfcp_port *port, int clear, char *dbftag) in zfcp_erp_port_shutdown() argument
391 zfcp_erp_port_reopen(port, clear | flags, dbftag); in zfcp_erp_port_shutdown()
394 static void zfcp_erp_port_block(struct zfcp_port *port, int clear) in zfcp_erp_port_block() argument
397 ZFCP_STATUS_COMMON_UNBLOCKED | clear); in zfcp_erp_port_block()
400 static void _zfcp_erp_port_forced_reopen(struct zfcp_port *port, int clear, in _zfcp_erp_port_forced_reopen() argument
403 zfcp_erp_port_block(port, clear); in _zfcp_erp_port_forced_reopen()
413 * @clear: Status flags to clear.
416 void zfcp_erp_port_forced_reopen(struct zfcp_port *port, int clear, in zfcp_erp_port_forced_reopen() argument
423 _zfcp_erp_port_forced_reopen(port, clear, dbftag); in zfcp_erp_port_forced_reopen()
427 static void _zfcp_erp_port_reopen(struct zfcp_port *port, int clear, in _zfcp_erp_port_reopen() argument
430 zfcp_erp_port_block(port, clear); in _zfcp_erp_port_reopen()
440 * @clear: flags in port status to be cleared
443 void zfcp_erp_port_reopen(struct zfcp_port *port, int clear, char *dbftag) in zfcp_erp_port_reopen() argument
449 _zfcp_erp_port_reopen(port, clear, dbftag); in zfcp_erp_port_reopen()
459 static void _zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, in _zfcp_erp_lun_reopen() argument
465 zfcp_erp_lun_block(sdev, clear); in _zfcp_erp_lun_reopen()
474 * @clear: specifies flags in LUN status to be cleared
479 void zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_reopen() argument
487 _zfcp_erp_lun_reopen(sdev, clear, dbftag, 0); in zfcp_erp_lun_reopen()
494 * @clear: Status flags to clear.
497 void zfcp_erp_lun_shutdown(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_shutdown() argument
500 zfcp_erp_lun_reopen(sdev, clear | flags, dbftag); in zfcp_erp_lun_shutdown()
519 int clear = ZFCP_STATUS_COMMON_RUNNING | ZFCP_STATUS_COMMON_ERP_FAILED; in zfcp_erp_lun_shutdown_wait() local
522 _zfcp_erp_lun_reopen(sdev, clear, dbftag, ZFCP_STATUS_ERP_NO_REF); in zfcp_erp_lun_shutdown_wait()
645 int clear, char *dbftag) in zfcp_erp_port_forced_reopen_all() argument
653 _zfcp_erp_port_forced_reopen(port, clear, dbftag); in zfcp_erp_port_forced_reopen_all()
659 int clear, char *dbftag) in _zfcp_erp_port_reopen_all() argument
665 _zfcp_erp_port_reopen(port, clear, dbftag); in _zfcp_erp_port_reopen_all()
669 static void _zfcp_erp_lun_reopen_all(struct zfcp_port *port, int clear, in _zfcp_erp_lun_reopen_all() argument
677 _zfcp_erp_lun_reopen(sdev, clear, dbftag, 0); in _zfcp_erp_lun_reopen_all()
1427 * local link down (adapter erp_failed but not clear unblock) in zfcp_erp_try_rport_unblock()
1724 * zfcp_erp_clear_adapter_status - clear adapter status bits
1797 * zfcp_erp_clear_port_status - clear port status bits
1842 * zfcp_erp_clear_lun_status - clear lun status bits
1843 * @sdev: SCSi device / lun to clear the status bits