fc_get_event_number(9)
π fc_get_event_number β bestie edition π
okay so real talk, this is fc_get_event_number(9) from the Kernel API Manual, and honestly? it's a little guy with one job and it slays at it. let's get into it π
β¨ NAME β¨
fc_get_event_number β grab the next sequential FC event number, no thoughts head empty, just numbers going up π«
πΈ SYNOPSIS πΈ
u32 fc_get_event_number (void );
likeβ¦ that's it. that's the whole vibe. returns a u32, takes nothing. iconic behavior honestly π
π¦ ARGUMENTS π¦
voidβ literally no arguments. zero. nada. it said "i work alone" and meant it π
π NOTES π
so here's the tea, bestie β β the devs could have inlined this, but doing that would've meant exposing fc_event_seq to the whole world, and likeβ¦ no. privacy matters. so for now, live with the subroutine call, fr fr. π
and the atomic bit? that's there to avoid lock/unlock, which is giving efficiency main character energy ngl π₯
π SEE ALSO π
the whole friend group chat, assembled π«Ά β Kernel file ./drivers/scsi/scsi_transport_fc.c plus:
fc_host_post_fc_event(9)fc_host_post_event(9)fc_host_post_vendor_event(9)fc_find_rport_by_wwpn(9)fc_host_fpin_rcv(9)fc_eh_timed_out(9)fc_queue_work(9)fc_flush_work(9)fc_queue_devloss_work(9)fc_flush_devloss(9)fc_remove_host(9)fc_starget_delete(9)fc_rport_final_delete(9)fc_remote_port_create(9)fc_remote_port_add(9)fc_remote_port_delete(9)fc_remote_port_rolechg(9)fc_timeout_deleted_rport(9)fc_timeout_fail_rport_io(9)fc_scsi_scan_rport(9)fc_block_rport(9)fc_block_scsi_eh(9)fc_vport_setup(9)fc_vport_create(9)fc_vport_terminate(9)fc_vport_sched_delete(9)fc_bsg_job_timeout(9)fc_bsg_host_dispatch(9)fc_bsg_rport_dispatch(9)fc_bsg_hostadd(9)fc_bsg_rportadd(9)fc_bsg_remove(9)
π heads up bestie: that list is long and every single one of them is a separate page, so pace yourself. hydrate. take breaks. iykyk π
and that's the whole page!! sourced from ./drivers/scsi, dated October 2026, filed under fc_get_event_number(9) β mwah, go touch some fibre channel, ily π§π
π¦ 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