fc_disc_recv_req(9)
β¨ fc_disc_recv_req(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a little cutie from the depths of the SCSI libfc code, and honestly? she's short but she matters. let's get into it π«Ά
πΈ NAME πΈ
fc_disc_recv_req β handle incoming requests β¨ (yes that's it, that's her whole job, and she does it gorgeously)
π¦ SYNOPSIS π¦
void fc_disc_recv_req (struct fc_lport *lport , struct fc_frame *fp );
like... look at that signature. no return value, just vibes and business π she takes two things and gives you nothing back except handled requests.
π ARGUMENTS π
lportβ the local port that's receiving the request π this is the main character of the operation, the port doing the actual receiving, nglfpβ the request frame π literally the frame carrying the request, that's the whole vibe
π DESCRIPTION π
so here's the tea, bestie β β
Locking Note: this function gets called from the EM, and it will lock disc_mutex before it calls the handler for the request πβ¨ like, it's not out here raw-dogging the handler with no lock, okay? it locks first, then calls. periodt.
heads up: that locking note is the entire described behaviour here β don't go inventing extra steps in your head, this is a "lock the mutex, call the handler" girlie and nothing more π
π§ SEE ALSO π§
the whole discovery squad shows up here, and they're all iconic in their own way ππ
Kernel file ./drivers/scsi/libfc/fc_disc.c πΈ and the besties:
fc_disc_stop_rports(9)fc_disc_recv_rscn_req(9)fc_disc_restart(9)fc_disc_start(9)fc_disc_done(9)fc_disc_error(9)fc_disc_gpn_ft_req(9)fc_disc_gpn_ft_parse(9)fc_disc_timeout(9)fc_disc_gpn_ft_resp(9)fc_disc_gpn_id_resp(9)fc_disc_gpn_id_req(9)fc_disc_single(9)fc_disc_stop(9)fc_disc_stop_final(9)fc_disc_config(9)fc_disc_init(9)
like, the way that list just keeps going?? she's connected, she knows everyone, main character energy fr fr π
and that's the page!! π¦ this icon lives over at ./drivers/scsi/libfc, dated October 2026, and you can find her under the name fc_disc_recv_req(9) whenever you need her πβ¨ slay, go handle those requests bestie π
π¦ 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