ddcb_requ_finished(9)
β¨ ddcb_requ_finished(9) β¨
okay so bestie, this one lives in the Kernel API Manual β we're in kernel-land now, put your big-girl hat on π
π NAME π
ddcb_requ_finished β literally just returns the hardware state of the associated DDCB, that's the whole gig π«Ά
πΈ SYNOPSIS πΈ
int ddcb_requ_finished (struct genwqe_dev *cd , struct ddcb_requ *req );
π¦ ARGUMENTS π¦
cdβ pointer to the genwqe device descriptor, aka the device's little ID card πreqβ the DDCB work request itself, the main character of this whole function ngl π
π DESCRIPTION π
So here's the tea β β the status of ddcb_requ mirrors this hardware state, but it actually gets copied into the ddcb_requ over in the interrupt/polling function. Lowkey important distinction, so pay attention bestie:
- the lowlevel code should check the hardware state directly π₯
- the higher level code should check the copy β¨
Like, know your lane, y'know? iykyk π
This function will also return true if the state of the queue is not GENWQE_CARD_USED. And why do we care? Because that's what enables us to purge all the DDCBs in the shutdown case π§Ήπ β very cleanup, very demure, very slay.
π SEE ALSO π
Kernel file ./drivers/misc/genwqe/card_ddcb.c plus the whole friend group:
genwqe_crc16(9)enqueue_ddcb(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)
π reminder: lowlevel = hardware state direct, higher level = the copy. do not mix them up or it's giving undefined-vibes.
aaaand that's a wrap bestie π this page came to you from ./drivers/misc/genwqe, dated October 2026, and it's called ddcb_requ_finished(9) β go forth and check those hardware states, ily, bye πβ¨π¦
π¦ 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