get_next_ddcb(9)
β¨ NAME β¨
get_next_ddcb β bestie, this is the one that grabs you the next available DDCB π
This page is get_next_ddcb(9) from the Kernel API Manual, and we're gonna get through it together, no cap π«Ά
πΈ SYNOPSIS πΈ
struct ddcb * get_next_ddcb (struct genwqe_dev *cd , struct ddcb_queue
*queue , int *num );
π ARGUMENTS π
cdβ pointer to genwqe device descriptor β¨queueβ the DDCB queue, literally the queue in question πnumβ internal DDCB number π§
π¦ DESCRIPTION π¦
Okay so here's the tea: the DDCB's content is completely cleared, but there are presets for PRE and SEQNUM. That's the whole vibe π₯
β οΈ Real talk: this function must only be called when ddcb_lock is held. Not "probably held", not "held in spirit" β held. Periodt π
π RETURN π
It returns NULL if no empty DDCB is available. Otherwise? A pointer to the next DDCB, slay β¨
π SEE ALSO π
Kernel file ./drivers/misc/genwqe/card_ddcb.c and besties:
genwqe_crc16(9)ddcb_requ_finished(9)enqueue_ddcb(9)copy_ddcb_results(9)genwqe_check_ddcb_queue(9)__genwqe_wait_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)
That's the whole page, bestie β mwah π This came from ./drivers/misc/genwqe, dated October 2026, and it's giving very much kernel-manual main character energy ππ¦π
π¦ 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