bnx2i_mod_exit(9)
π bnx2i_mod_exit(9) β like, the Kernel API Manual edition π
okay bestie, so we're in the Kernel API Manual today and the star of the show is bnx2i_mod_exit(9). it's a kernel function, it's a whole vibe, and yes it's literally the cleanup era of this module's life. let's get into it β¨
πΈ NAME πΈ
bnx2i_mod_exit β the module cleanup/exit entry point. she's the one who turns off the lights and locks the door π«Ά
β¨ SYNOPSIS β¨
void bnx2i_mod_exit (void );
that's it. that's the whole signature. no args, no drama, just void in and void out π
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. the void is voiding, bestie π³οΈβ¨
π DESCRIPTION π
okay so here's the tea β β the global resource lock and the host adapter lock are both held during the critical sections inside this function. like, both of them. held. we are not playing around in here ππ
so what does she actually do? the driver browses through the adapter list (casual little scroll through the hotties), cleans-up each instance one by one, then unregisters the iscsi transport name, and finally the driver unregisters itself with the cnic module. it's giving main character exits the group chat and then deletes the group chat ππ
ngl the order matters, bestie β she cleans up every instance first, then unregisters the iscsi transport name, then says bye to the cnic module. that's a whole teardown arc and she ate πβ
π§ SEE ALSO π§
- Kernel file
./drivers/scsi/bnx2i/bnx2i_init.c bnx2i_identify_device(9)get_adapter_list_head(9)bnx2i_find_hba_for_cnic(9)bnx2i_start(9)bnx2i_chip_cleanup(9)bnx2i_stop(9)bnx2i_init_one(9)bnx2i_ulp_init(9)bnx2i_ulp_exit(9)bnx2i_get_stats(9)bnx2i_cpu_online(9)bnx2i_mod_init(9)
iykyk, this is the whole friend group right here π«Ά read them, love them, cite them π
lowkey reminder: this is the exit entry point, so if you're looking for the beginning-of-life energy, that's bnx2i_mod_init(9) up there in SEE ALSO. balance β¨
and that's the page, bestie π sign-off time: this lil beauty comes from ./drivers/scsi/bnx2i, dated October 2026, and she's filed under bnx2i_mod_exit(9) β iconic, no cap, periodt π
ππΈ
π¦ 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