__genwqe_wait_ddcb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

__genwqe_wait_ddcb β€” waits until DDCB is completed. Welcome to the __genwqe_wait_ddcb(9) page from the Kernel API Manual, bestie ✨ This is the function that literally waits for your DDCB to finish, and it’s giving β€œI’ll hold your spot in the queue” energy 🫢


🌸 SYNOPSIS 🌸

int __genwqe_wait_ddcb (struct genwqe_dev *cd , struct ddcb_requ *req );

πŸŽ€ ARGUMENTS πŸŽ€

  • cd β€” pointer to genwqe device descriptor. That’s your device bestie πŸ’–
  • req β€” pointer to requsted DDCB parameters. The request in question, no cap πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the Service Layer will update the RETC in DDCB when processing is pending or done. That’s the status-check moment, bestie β€” RETC gets refreshed while things are pending or when they’re done ✨

When an error is returned, the caller needs to ensure that purge_ddcb is being called to get the req removed from the queue. Do not skip this, fr fr β€” the req needs its queue exit πŸ’…


πŸ”₯ RETURN πŸ”₯

  • > 0 β€” remaining jiffies, DDCB completed. Slay, it finished ⭐
  • -ETIMEDOUT β€” when timeout 😭
  • -ERESTARTSYS β€” when ^C πŸ’€
  • -EINVAL β€” when unknown error condition πŸ™ˆ

🌈 SEE ALSO 🌈

the whole friend group is here:

bye bestie 🫢 β€” source/version corner: ./drivers/misc/genwqe, October 2026, __genwqe_wait_ddcb(9) edition. Catch you on the next man page! πŸ’…

πŸ“¦ where this page comes from