STRUCT UFS_STATS(9)
π struct ufs_stats(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct ufs_stats(9), and she is literally here to keep usage/err statistics. no cap. π«Ά
β¨ NAME β¨
struct ufs_stats β keeps usage/err statistics. periodt. π
π¦ SYNOPSIS π¦
struct ufs_stats {
u32 hibern8_exit_cnt;
u64 last_hibern8_exit_tstamp;
struct ufs_event_hist event[UFS_EVT_CNT];
};
that's the whole struct, laid out exactly like that. β¨
πΈ Members πΈ
hibern8_exit_cntβ counter to keep track of the number of exits, bestie. reset this after link-startup. πlast_hibern8_exit_tstampβ set the time after the hibern8 exit. clear it after the first successful command completion. β°eventβ array with event history. ποΈ
π₯ SEE ALSO π₯
Kernel file ./include/ufs/ufshcd.h β and the whole reference friend group is:
struct uic_command(9)struct ufshcd_lrb(9)struct ufs_query_req(9)struct ufs_query_res(9)struct ufs_query(9)struct ufs_dev_cmd(9)struct ufs_clk_info(9)struct tx_eqtr_iter(9)struct ufshcd_tx_eq_settings(9)struct ufshcd_tx_eqtr_data(9)struct ufshcd_tx_eqtr_record(9)struct ufshcd_tx_eq_params(9)struct ufs_hba_variant_ops(9)struct ufs_clk_gating(9)struct ufs_clk_scaling(9)struct ufs_event_hist(9)enum ufshcd_state(9)enum ufshcd_pmc_policy(9)struct ufshcd_mcq_opr_info_t(9)struct ufs_hba(9)struct ufs_hw_queue(9)ufshcd_rmwl(9)ufshcd_set_variant(9)ufshcd_get_variant(9)
that's the whole page, bestie β sourced from ./include/ufs, dated October 2026, and signed struct ufs_stats(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms