lpfc_bsg_hba_get_event(9)
π lpfc_bsg_hba_get_event(9) β like, the Kernel API Manual page, bestie β¨
Okay so before we even start: this is a page from the Kernel API Manual, and the whole thing is about lpfc_bsg_hba_get_event. Yes, that's a mouthful. Yes, we're gonna get through it together. Grab your iced coffee π, because this is a tiny page and honestly? It ate.
β¨ NAME β¨
lpfc_bsg_hba_get_event β no cap, all it does is process a GET_EVENT bsg vendor command. That's the whole vibe. That's the whole function. π
πΈ SYNOPSIS πΈ
int lpfc_bsg_hba_get_event (struct bsg_job *job );
So it hands you back an int (iykyk, kernel functions just love returning an int), and it takes exactly one thing: a struct bsg_job * called job. That's it. That's the signature. Periodt. π
π¦ ARGUMENTS π¦
jobβ theGET_EVENTfc_bsg_job. That's the one and only thing you pass in, and likeβ¦ it's kind of the main character here. π
π SEE ALSO π
Okay bestie, buckle up, because this list is long and it is iconic. First up, the literal file this lives in:
Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c
Then the whole squad, in the exact order the page gives them:
lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9),
lpfc_bsg_rport_els_cmp(9), lpfc_bsg_rport_els(9),
lpfc_bsg_event_free(9), lpfc_bsg_event_ref(9), lpfc_bsg_event_unref(9),
lpfc_bsg_event_new(9), diag_cmd_data_free(9),
lpfc_bsg_ct_unsol_abort(9), lpfc_bsg_hba_set_event(9),
lpfc_issue_ct_rsp_cmp(9), lpfc_issue_ct_rsp(9),
lpfc_bsg_send_mgmt_rsp(9), lpfc_bsg_diag_mode_enter(9),
lpfc_bsg_diag_mode_exit(9), lpfc_sli3_bsg_diag_loopback_mode(9),
lpfc_sli4_bsg_set_link_diag_state(9),
lpfc_sli4_bsg_set_loopback_mode(9), lpfc_sli4_diag_fcport_reg_setup(9),
lpfc_sli4_bsg_diag_loopback_mode(9), lpfc_bsg_diag_loopback_mode(9),
lpfc_sli4_bsg_diag_mode_end(9), lpfc_sli4_bsg_link_diag_test(9),
lpfcdiag_loop_self_reg(9), lpfcdiag_loop_self_unreg(9),
lpfcdiag_loop_get_xri(9), lpfc_bsg_dma_page_alloc(9),
lpfc_bsg_dma_page_free(9), lpfc_bsg_dma_page_list_free(9),
diag_cmd_data_alloc(9), lpfcdiag_sli3_loop_post_rxbufs(9),
lpfc_bsg_diag_loopback_run(9), lpfc_bsg_get_dfc_rev(9),
lpfc_bsg_issue_mbox_cmpl(9), lpfc_bsg_check_cmd_access(9),
lpfc_bsg_mbox_ext_session_reset(9), lpfc_rd_obj_emb0_handle_job(9),
lpfc_bsg_issue_mbox_ext_handle_job(9),
lpfc_bsg_issue_read_mbox_ext_cmpl(9),
lpfc_bsg_issue_write_mbox_ext_cmpl(9), lpfc_bsg_sli_cfg_read_cmd_ext(9),
lpfc_bsg_sli_cfg_write_cmd_ext(9), lpfc_bsg_handle_sli_cfg_mbox(9),
lpfc_bsg_mbox_ext_abort(9), lpfc_bsg_read_ebuf_get(9),
lpfc_bsg_write_ebuf_set(9), lpfc_bsg_handle_sli_cfg_ebuf(9),
lpfc_bsg_handle_sli_cfg_ext(9), lpfc_bsg_issue_mbox(9),
lpfc_bsg_mbox_cmd(9), lpfc_check_fwlog_support(9),
lpfc_bsg_get_ras_config(9), lpfc_bsg_set_ras_config(9),
lpfc_bsg_get_ras_lwpd(9), lpfc_bsg_get_ras_fwlog(9),
lpfc_bsg_hst_vendor(9), lpfc_bsg_request(9), lpfc_bsg_timeout(9)
Like, that is a friend group. π«Ά Every single one of them is a (9) section reference, and yes, they all live right there next to this page. Lowkey obsessed with how thorough that is.
Heads up bestie π β I'm not adding anything to this page that isn't already on it. It's a short one. No hidden flags, no secret options, no surprise return values listed. If it's not up there, it's not here. Slay responsibly.
And that's the page!! π§β
Cute little sign-off, because the footer deserves love too: this one comes to you from ./drivers/scsi/lpfc, dated October 2026, and it goes by lpfc_bsg_hba_get_event(9). Bye bestie, go read some kernel source ππΈ
π¦ 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