__genwqe_wait_ddcb(9)
π 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:
- Kernel file
./drivers/misc/genwqe/card_ddcb.c genwqe_crc16(9)ddcb_requ_finished(9)enqueue_ddcb(9)copy_ddcb_results(9)genwqe_check_ddcb_queue(9)get_next_ddcb(9)__genwqe_purge_ddcb(9)__genwqe_enqueue_ddcb(9)__genwqe_execute_raw_ddcb(9)genwqe_next_ddcb_ready(9)genwqe_ddcbs_in_flight(9)genwqe_card_thread(9)genwqe_setup_service_layer(9)queue_wake_up_all(9)genwqe_finish_queue(9)genwqe_release_service_layer(9)
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
- 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