free_wrb_handle(9)
π NAME π
okay so this is free_wrb_handle(9) from the Kernel API Manual, and its whole thing is to free the wrb handle back to pool β yes bestie, that's the name and that's the job. lowkey iconic. π
β¨ SYNOPSIS β¨
void free_wrb_handle (struct beiscsi_hba *phba , struct hwi_wrb_context *pwrb_context , struct wrb_handle *pwrb_handle );
three arguments, one function, zero mystery. π«Ά
πΈ ARGUMENTS πΈ
phbaβ thehbapointer. literally the HBA pointer, no cap.pwrb_contextβ the context to free from. this is the context you're freeing out of.pwrb_handleβ thewrb_handleto free. yep, the actual handle getting freed.
π DESCRIPTION π
okay so the important detail: this happens under session_lock until submission to chip. that's the whole description, bestie β the lock is in the mix until the chip submission moment. periodt. π₯
π¦ SEE ALSO π¦
- Kernel file
./drivers/scsi/be2iscsi/be_main.cβ the main-character file, iykyk. beiscsi_get_params(9)be_isr_mcc(9)be_isr_msix(9)be_isr(9)alloc_wrb_handle(9)beiscsi_process_cq(9)hwi_write_buffer(9)beiscsi_find_mem_req(9)beiscsi_free_mgmt_task_handles(9)beiscsi_cleanup_task(9)beiscsi_alloc_pdu(9)beiscsi_bsg_request(9)
byeee π β this page is from ./drivers/scsi/be2iscsi, dated October 2026, and it's still free_wrb_handle(9) szn. π«Ά
π¦ 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