fc_disc_gpn_id_resp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_disc_gpn_id_resp(9) β€” like, the Kernel API Manual page, bestie

okay so welcome to the Kernel API Manual ✨ and today's main character is fc_disc_gpn_id_resp(9). yes, that's a function. yes, section 9. yes, it's giving kernel-internals realness πŸŽ€


✨ NAME ✨

fc_disc_gpn_id_resp β€” handles a response frame from Get Port Names (GPN_ID) πŸ¦‹

like literally that's her whole job. she takes the response frame from GPN_ID and deals with it. no cap.


🌸 SYNOPSIS 🌸

void fc_disc_gpn_id_resp (struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg );

so she's a void function (nothing comes back out, she just does the thing πŸ’…) and she takes three args β€” sp, fp, and rdata_arg. keep the exact signature, bestie, this is not the place to freestyle πŸ™ˆ


🫢 ARGUMENTS 🫢

  • sp β€” the sequence that the GPN_ID is on ⭐ like, which sequence we're talking about, this is it
  • fp β€” the response frame πŸ’Œ the actual frame that came back, right here
  • rdata_arg β€” the remote port that sent the GPN_ID response πŸ‘‘ the remote port responsible, that's her

πŸ’œ DESCRIPTION πŸ’œ

Locking Note: this function is called without the disc mutex held. πŸ”₯

that's the whole description, and honestly? it's the important part. the disc mutex is not held when you call this β€” so don't go assuming it's chillin' in there, because she is not 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/scsi/libfc/fc_disc.c β€” plus the whole friend group, and yes we're listing every single one because nobody gets left out of the group chat πŸ’–


and that's the page, bestie! 🌈 sign-off time: this one lives in ./drivers/scsi/libfc, it's from October 2026, and it's part of the Kernel API Manual β€” fc_disc_gpn_id_resp(9), periodt πŸ’…βœ¨

πŸ“¦ where this page comes from