STRUCT ZFCP_FC_WKA_PORT(9)
β¨ NAME β¨
okay so this is struct zfcp_fc_wka_port β the representation of a well-known-address (WKA) FC port, bestie π
. it's from the Kernel API Manual, and it's genuinely iconic for what it does. periodt.
π¦ SYNOPSIS π¦
like, here's the whole vibe, literally character for character:
struct zfcp_fc_wka_port {
struct zfcp_adapter *adapter;
wait_queue_head_t opened;
wait_queue_head_t closed;
enum zfcp_fc_wka_status status;
atomic_t refcount;
u32 d_id;
u32 handle;
struct mutex mutex;
struct delayed_work work;
};
ngl, that's the entire main character right there π
π Members π
every single field, no skips, no cap:
adapterβ a pointer to the adapter structure that this WKA port belongs to π«Άopenedβ the wait queue situation: you're waiting for the open command to completeclosedβ same energy but for the close command completingstatusβ the current status of the WKA port, iykykrefcountβ reference count whose whole job is keeping the port open for as long as it's in use π₯d_idβ the FC destination id, or the well-known-address itselfhandleβ the FSF handle for the open WKA portmutexβ mutex used during opening/closing state changes (protecting the vibes π)workβ for delaying the closing of the WKA port πΈ
π SEE ALSO π
the kernel file is ./drivers/s390/scsi/zfcp_fc.h and honestly the whole friend group is here:
struct zfcp_fc_event(9)struct zfcp_fc_events(9)struct zfcp_fc_gid_pn_req(9)struct zfcp_fc_gid_pn_rsp(9)struct zfcp_fc_gspn_req(9)struct zfcp_fc_gspn_rsp(9)struct zfcp_fc_rspn_req(9)struct zfcp_fc_req(9)enum zfcp_fc_wka_status(9)struct zfcp_fc_wka_ports(9)zfcp_fc_scsi_to_fcp(9)zfcp_fc_fcp_tm(9)
bestie please note: this page lives under ./drivers/s390/scsi and it's dated October 2026, so yeah, she's from the future bestie π
k that's it, go forth and slay your FC ports π§ββοΈβ¨π
π¦ 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