ENUM PDS_CORE_INTR_CREDITS_BITS(9)
π enum pds_core_intr_credits_bits(9) π
okay bestie so we're in the Kernel API Manual today β yes, that Kernel API Manual β and this page is all about enum pds_core_intr_credits_bits. no cap, it's a lil enum that gives you the bitwise composition of credits values. tiny icon, huge main character energy. β¨
π NAME π
enum pds_core_intr_credits_bits β bitwise composition of credits values.
like literally, it's a set of bit masks and bits you can stack together to talk about interrupt credits. π§
πΈ SYNOPSIS πΈ
enum pds_core_intr_credits_bits {
PDS_CORE_INTR_CRED_COUNT ,
PDS_CORE_INTR_CRED_COUNT_SIGNED ,
PDS_CORE_INTR_CRED_UNMASK ,
PDS_CORE_INTR_CRED_RESET_COALESCE ,
PDS_CORE_INTR_CRED_REARM
};
she's short, she's sweet, she's five constants long. periodt. π
π¦ Constants π¦
okay so these are the members, and ngl each one is doing its own lil job:
PDS_CORE_INTR_CRED_COUNTβ bit mask of credit count, no shift needed. she's already where she needs to be, no shifting required, we love a low-maintenance icon. πPDS_CORE_INTR_CRED_COUNT_SIGNEDβ bit mask of credit count, including sign bit. same vibe as above but she brought the sign bit along too. π«ΆPDS_CORE_INTR_CRED_UNMASKβ unmask the interrupt. let her out, let her breathe. πPDS_CORE_INTR_CRED_RESET_COALESCEβ reset the coalesce timer. timer? reset. we move. β±οΈPDS_CORE_INTR_CRED_REARMβ unmask the and reset the timer. yes, that's the original wording, i'm not editing the queen's tweet π β it unmask the and reset the timer, fr fr.
π tiny note bestie: keep the names exactly as written above when you use them, casing and underscores and all. the kernel does not accept vibes as a substitute for correct identifiers.
β SEE ALSO β
- Kernel file
./include/linux/pds/pds_intr.henum pds_core_intr_mask_vals(9)
like go read those too, iykyk π₯
and that's the whole page, bestie! straight from ./include/linux/pds, dated October 2026, in the Kernel API Manual β 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