/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright 2014 Cisco Systems, Inc. All rights reserved. */ #ifndef __SNIC_STATS_H #define __SNIC_STATS_H struct snic_io_stats { … }; struct snic_abort_stats { … }; struct snic_reset_stats { … }; struct snic_fw_stats { … }; struct snic_misc_stats { … }; struct snic_stats { … }; void snic_stats_debugfs_init(struct snic *); void snic_stats_debugfs_remove(struct snic *); /* Auxillary function to update active IO counter */ static inline void snic_stats_update_active_ios(struct snic_stats *s_stats) { … } /* Auxillary function to update IO completion counter */ static inline void snic_stats_update_io_cmpl(struct snic_stats *s_stats) { … } #endif /* __SNIC_STATS_H */