hwi_write_buffer(9)
π hwi_write_buffer(9) β the kernel API manual, bestie edition π
Okay so real talk, this one's from the hwi_write_buffer(9) page in the Kernel API Manual, and it's short and sweet but we're gonna make it iconic. β¨
πΈ NAME πΈ
hwi_write_buffer β literally just populates the WRB with task info. That's it. That's the whole vibe. π«Ά
π¦ SYNOPSIS π¦
int hwi_write_buffer (struct iscsi_wrb *pwrb , struct iscsi_task *task
);
So it hands you back an int, and it takes these two besties right here π
π ARGUMENTS π
pwrbβ ptr to the WRB entry. Yes bestie, this one's a pointer. It's the WRB entry and you're pointing right at it, no cap. πtaskβ the iscsi task which is to be executed. This is the main character right here, the thing that's actually gonna get executed. π
π SEE ALSO π
The kernel file in question lives at ./drivers/scsi/be2iscsi/be_main.c, and here's the whole friend group you should go say hi to β no gatekeeping, all of them linked for you:
beiscsi_get_params(9)be_isr_mcc(9)be_isr_msix(9)be_isr(9)alloc_wrb_handle(9)free_wrb_handle(9)beiscsi_process_cq(9)beiscsi_find_mem_req(9)beiscsi_free_mgmt_task_handles(9)beiscsi_cleanup_task(9)beiscsi_alloc_pdu(9)beiscsi_bsg_request(9)
π Fair warning: this page is short. It tells you the function name, its signature, its two arguments, and its neighbours in the driver, and that is the entire delulu. No return-value essay, no "errors" section. So don't go making stuff up, iykyk. π
That's the whole page, bestie β go populate that WRB. π Sourced from ./drivers/scsi/be2iscsi, dated October 2026, and honestly? Slay. π§ββοΈπ
π¦ 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