nvme_init_s...s_fdp_events(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– nvme_init_set_features_fdp_events πŸ’–

okay so this is the nvme_init_s...s_fdp_events(9) page from the libnvme API manual, and bestie, it’s giving β€œsmall function, very specific job” energy ✨


🌸 NAME 🌸

nvme_init_set_features_fdp_events β€” initialize the passthru command for Flexible Data Placement Events πŸ¦‹


✨ SYNOPSIS ✨

void nvme_init_set_features_fdp_events (struct libnvme_passthru_cmd *cmd
, bool sv , __u16 phndl , bool fdpee , __u8 *event_types , __u8 noet );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” the passthru command to use, periodt πŸ’…
  • sv β€” save the value across power states πŸ”₯
  • phndl β€” the Placement Handle (PHNDL) πŸ‘‘
  • fdpee β€” the FDP Event Enable (FDPEE) 🌈
  • event_types β€” the FDP Event Type List data buffer; see Figure 504 of the Base Specification for the full tea πŸ“
  • noet β€” the number of FDP Event Types (NOET) contained in event_types ⭐

πŸ’œ DESCRIPTION πŸ’œ

This is the setup girlie that initializes the passthru command buffer for the Set Features command with the FID value NVME_FEAT_FID_FDP_EVENTS πŸ’«

no cap, it’s just here to get that command buffer looking correct before you go off and do the actual thing 🫢


xoxo πŸ’– β€” libnvme API manual, October 2026 edition, signing off πŸŽ€

πŸ“¦ where this page comes from