nvme_init_io(9) libnvme API manual nvme_init_io(9) NAME nvme_init_io - Initialize passthru command for a generic user I/O command SYNOPSIS void nvme_init_io (struct libnvme_passthru_cmd *cmd , __u8 opcode , __u32 nsid , __u64 slba , void *data , __u32 data_len , void *metadata , __u32 metadata_len ); ARGUMENTS cmd Passthru command to use opcode Opcode to execute nsid Namespace ID slba Starting logical block data Pointer to user address of the data buffer data_len Length of user buffer, data, in bytes metadata Pointer to user address of the metadata buffer metadata_len Length of user buffer, metadata, in bytes DESCRIPTION Initializes the passthru command buffer for a generic NVM I/O command. NOTE If elbas is true, the caller must ensure the definition/logic for nvme_init_set_var_size_tags is available and that the return value from that function is checked for error. October 2026 nvme_init_io nvme_init_io(9)