fc_exch_em_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so bestie, this is fc_exch_em_alloc(9) from the Kernel API Manual β€” and the name is giving exactly what it does: fc_exch_em_alloc β€” allocate an exchange from a specified EM. Periodt. πŸ’…βœ¨

✨ SYNOPSIS ✨

struct fc_exch * fc_exch_em_alloc (struct fc_lport *lport , struct
       fc_exch_mgr *mp );

🫢 ARGUMENTS 🫢

  • lport β€” the local port that the exchange is for, no cap.
  • mp β€” the exchange manager that will allocate the exchange. She's the one doing the allocating, iykyk. πŸ’–

πŸ’… DESCRIPTION πŸ’…

It returns a pointer to the allocated fc_exch, with the exch lock held. That's the tea: you get the pointer back and the lock is already held. Slay. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/libfc/fc_exch.c, plus the whole SEE ALSO squad β€” every one of these is in the group chat:


Source/version check, bestie: ./drivers/scsi/libfc, dated October 2026 β€” fc_exch_em_alloc(9) is out. Bye! πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from