enqueue_ddcb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enqueue_ddcb(9) β€” Kernel API Manual πŸ’…

πŸŽ€ NAME πŸŽ€

enqueue_ddcb β€” Enqueue a DDCB ✨

✨ SYNOPSIS ✨

int enqueue_ddcb (struct genwqe_dev *cd , struct ddcb_queue *queue ,
struct ddcb *pddcb , int ddcb_no );

🫢 ARGUMENTS 🫢

  • cd β€” pointer to the genwqe device descriptor; it’s giving main-character device energy πŸ‘‘
  • queue β€” the queue this operation should be done on πŸ’…
  • pddcb β€” pointer to the ddcb structure πŸ¦‹
  • ddcb_no β€” pointer to the ddcb number being tapped πŸ‘€

🌸 DESCRIPTION 🌸

Okay so this function starts execution of a DDCB by tapping it, or appends it to the queue via the NEXT bit. It does that with an atomic "compare and swap" instruction and by checking SHI and HSI of the previous DDCB. No cap. ✨

⚠️ This function must only be called with ddcb_lock held. Like, for real, bestie β€” do not skip that lock. πŸ’€

πŸ”₯ RETURN πŸ”₯

  • 1 β€” if new DDCB is appended to previous
  • 2 β€” if DDCB queue is tapped via register/simulation

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/misc/genwqe/card_ddcb.c β€” and here’s the whole squad:


πŸ’Œ okay that’s the page, bestie β€” source/version is ./drivers/misc/genwqe, date is October 2026, and the manual page is enqueue_ddcb(9). mwah, go enqueue something cute πŸ’‹

πŸ“¦ where this page comes from