enqueue_ddcb(9)
π 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 previous2β if DDCB queue is tapped via register/simulation
π¦ SEE ALSO π¦
Kernel file: ./drivers/misc/genwqe/card_ddcb.c β and hereβs the whole squad:
genwqe_crc16(9)ddcb_requ_finished(9)copy_ddcb_results(9)genwqe_check_ddcb_queue(9)__genwqe_wait_ddcb(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)
π 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
- 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