STRUCT XSDFEC_STATS(9)
πΈ NAME πΈ
okay bestie, welcome to the Kernel API Manual β this page is struct xsdfec_stats(9), and it's lowkey iconic for one job: holding stats. These are the stats retrived by ioctl XSDFEC_GET_STATS (yes, the page really says βretrivedβ β keeping the lore). It's used to buffer atomic_t variables from struct xsdfec_dev. The counts are accumulated until the user clears them. Periodt. π
β¨ SYNOPSIS β¨
Here's the whole struct, no cap β three __u32 fields and zero drama:
struct xsdfec_stats {
__u32 isr_err_count;
__u32 cecc_count;
__u32 uecc_count;
};
π Members π
okay so each field is a little count girlie:
isr_err_countβ count of ISR errors. π₯cecc_countβ count of Correctable ECC errors (SBE). β¨uecc_countβ count of Uncorrectable ECC errors (MBE). π
π₯ SEE ALSO π₯
bestie, the cross-refs are giving linked-list energy β here's the whole squad:
- Kernel file:
./include/uapi/misc/xilinx_sdfec.h - Enums:
enum xsdfec_code(9),enum xsdfec_order(9),enum xsdfec_turbo_alg(9),enum xsdfec_state(9),enum xsdfec_axis_width(9),enum xsdfec_axis_word_include(9) - Structs:
struct xsdfec_turbo(9),struct xsdfec_ldpc_params(9),struct xsdfec_status(9),struct xsdfec_irq(9),struct xsdfec_config(9),struct xsdfec_ldpc_param_table_sizes(9) - XSDFEC refs:
XSDFEC_START_DEV(9),XSDFEC_STOP_DEV(9),XSDFEC_GET_STATUS(9),XSDFEC_SET_IRQ(9),XSDFEC_SET_TURBO(9),XSDFEC_ADD_LDPC_CODE_PARAMS(9),XSDFEC_GET_CONFIG(9),XSDFEC_GET_TURBO(9),XSDFEC_SET_ORDER(9),XSDFEC_SET_BYPASS(9),XSDFEC_IS_ACTIVE(9),XSDFEC_CLEAR_STATS(9),XSDFEC_GET_STATS(9),XSDFEC_SET_DEFAULT_CONFIG(9)
kiss kiss bestie π β this cutie is from ./include/uapi/misc, dated October 2026, and it's struct xsdfec_stats(9). byeee π«Ά
π¦ 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