__genwqe_purge_ddcb(9)
π
__genwqe_purge_ddcb β NAME
okay so welcome to the Kernel API Manual, bestie β this is __genwqe_purge_ddcb(9), and what it does is Remove a DDCB from the workqueue β¨ no cap, that's literally it.
π SYNOPSIS
int __genwqe_purge_ddcb (struct genwqe_dev *cd , struct ddcb_requ *req
);
like, it hands you back an int, and it takes those two things up there π that's the whole signature, periodt.
π§Έ ARGUMENTS
- ​
cdβ the genwqe device descriptor π«Ά (your cute little handle to the device, iykyk) reqβ the DDCB request π the one we're purging, the main character of this whole function
π₯ DESCRIPTION
okay so here's the tea π΅ β this will fail when the request was already FETCHED. and in that case? you literally cannot just yank it, you need to wait until it is finished. no shortcuts, bestie π. else β meaning if it wasn't already FETCHED β the DDCB can be reused, slay π .
this function also ensures that the request data structure is removed from ddcb_req[] β¨ so like, the cleanup is baked in, iconic behaviour honestly.
π do not forget to call this function whengenwqe_wait_ddcbfails, such that the request gets really removed fromddcb_req[]. like fr fr, don't leave it floating in there, that's not the vibe.
π RETURN
0β success πΈ that's it, that's the return value
π¦ SEE ALSO
the whole friend group π«Ά β Kernel file ./drivers/misc/genwqe/card_ddcb.c, plus:
genwqe_crc16(9)ddcb_requ_finished(9)enqueue_ddcb(9)copy_ddcb_results(9)genwqe_check_ddcb_queue(9)__genwqe_wait_ddcb(9)get_next_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)
β¨ and that's the whole page, bestie β¨ this little gem lives in ./drivers/misc/genwqe, and the source/version + date on the original footer say October 2026 β so like, go forth and purge those DDCBs responsibly ππ stay hydrated, and remember: wait for FETCHED requests to finish before you touch them π§
π¦ 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