#ifndef ISCSI_TARGET_STAT_H #define ISCSI_TARGET_STAT_H #include #include #include /* * For struct iscsi_tiqn->tiqn_wwn default groups */ extern struct config_item_type iscsi_stat_instance_cit; extern struct config_item_type iscsi_stat_sess_err_cit; extern struct config_item_type iscsi_stat_tgt_attr_cit; extern struct config_item_type iscsi_stat_login_cit; extern struct config_item_type iscsi_stat_logout_cit; /* * For struct iscsi_session->se_sess default groups */ extern struct config_item_type iscsi_stat_sess_cit; /* iSCSI session error types */ #define ISCSI_SESS_ERR_UNKNOWN 0 #define ISCSI_SESS_ERR_DIGEST 1 #define ISCSI_SESS_ERR_CXN_TIMEOUT 2 #define ISCSI_SESS_ERR_PDU_FORMAT 3 /* iSCSI session error stats */ struct iscsi_sess_err_stats { spinlock_t lock; u32 digest_errors; u32 cxn_timeout_errors; u32 pdu_format_errors; u32 last_sess_failure_type; char last_sess_fail_rem_name[224]; } ____cacheline_aligned; /* iSCSI login failure types (sub oids) */ #define ISCSI_LOGIN_FAIL_OTHER 2 #define ISCSI_LOGIN_FAIL_REDIRECT 3 #define ISCSI_LOGIN_FAIL_AUTHORIZE 4 #define ISCSI_LOGIN_FAIL_AUTHENTICATE 5 #define ISCSI_LOGIN_FAIL_NEGOTIATE 6 /* iSCSI login stats */ struct iscsi_login_stats { spinlock_t lock; u32 accepts; u32 other_fails; u32 redirects; u32 authorize_fails; u32 authenticate_fails; u32 negotiate_fails; /* used for notifications */ u64 last_fail_time; /* time stamp (jiffies) */ u32 last_fail_type; int last_intr_fail_ip_family; struct sockaddr_storage last_intr_fail_sockaddr; char last_intr_fail_name[224]; } ____cacheline_aligned; /* iSCSI logout stats */ struct iscsi_logout_stats { spinlock_t lock; u32 normal_logouts; u32 abnormal_logouts; } ____cacheline_aligned; #endif /*** ISCSI_TARGET_STAT_H ***/ a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/ipv4/proc.c?id=d0e287a401d9acf67b75180b26e2d62b7d482652'>commitdiff
diff options
context:
space:
mode:
authorRask Ingemann Lambertsen <rask@formelder.dk>2017-01-21 17:11:43 +0100
committerMark Brown <broonie@kernel.org>2017-01-23 18:10:05 +0000
commitd0e287a401d9acf67b75180b26e2d62b7d482652 (patch)
treef1ba3cd0583e38846c4f6e32eee74a25a2739a31 /net/ipv4/proc.c
parentd00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff)
regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce
A typo or copy-paste bug means that the register access intended for regulator dcdce goes to dcdcb instead. This patch corrects it. Fixes: 2ca342d391e3 (regulator: axp20x: Support AXP806 variant) Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'net/ipv4/proc.c')