STRUCT NVMET_PORT(9)
π struct nvmet_port β Kernel API Manual π
okay so bestie, this is the Kernel API Manual page for struct nvmet_port β literally the common structure that keeps port information for the target. thatβs the whole vibe. β¨
πΈ NAME πΈ
struct nvmet_port β common structure to keep port information for the target. no cap, thatβs the assignment. π«Ά
β¨ SYNOPSIS β¨
hereβs the full struct, exact and untouched, because we do not edit source in this house π :
struct nvmet_port {
struct list_head entry;
struct nvmf_disc_rsp_page_entry disc_addr;
struct config_group group;
struct config_group subsys_group;
struct list_head subsystems;
struct config_group referrals_group;
struct list_head referrals;
struct list_head global_entry;
struct config_group ana_groups_group;
struct nvmet_ana_group ana_default_group;
struct key *keyring;
void *priv;
bool enabled;
int inline_data_size;
int max_queue_size;
int mdts;
const struct nvmet_fabrics_ops *tr_ops;
bool pi_enable;
enum nvme_ana_state ana_state[];
};
π Members π
entryβ entry into referrals or transport list. iconic little list-entry moment, periodt. π¦disc_addrβ address information is stored in a format defined for a discovery log page entry. discovery-log-page format, iykyk. π₯groupβ ConfigFS group for this elementβs folder. slay, folder energy. πprivβ private data for the transport. keep it private, bestie. π
π SEE ALSO π
- Kernel file
./drivers/nvme/target/nvmet.hβ go read the source, itβs right there. π
signed off from ./drivers/nvme/target, October 2026 β Kernel API Manual girlie, mwah π
π¦ 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