ENUM PDS_CORE_INTR_CREDITS_BITS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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.h enum
  • 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