STRUCT CXL_FEATURES_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct cxl_features_state(9) πŸ’–

okay so bestie, this page comes straight from the Kernel API Manual, and it's literally all about the Features state for the device. no cap, it's giving main character energy πŸ’…

✨ NAME ✨

struct cxl_features_state β€” The Features state for the device</p> πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct cxl_features_state {
           struct cxl_dev_state *cxlds;
           struct cxl_feat_entries {
             int num_features;
             int num_user_features;
             struct cxl_feat_entry ent[];
           } *entries;
        };

the nested struct cxl_feat_entries is right there in the code with its num_features, num_user_features, and ent[], and the whole struct is doing its thing β€” keep it exact, bestie, no edits fr fr 🫢

πŸ’œ Members πŸ’œ

  • cxlds β€” Pointer to CXL device state ✨
  • entries β€” CXl feature entry context πŸ¦‹

🌈 SEE ALSO 🌈

  • Kernel file ./include/cxl/features.h πŸ‘‘

xoxo, bestie πŸ’– this cutie is from ./include/cxl, dated October 2026 β€” slay and read the source, periodt πŸ’…

πŸ“¦ where this page comes from