nvme_init_write_uncorrectable(9) libnvme API manual nvme_init_write_uncorrectable(9)

nvme_init_write_uncorrectable - Initialize passthru command for a write uncorrectable command

void nvme_init_write_uncorrectable (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u64 slba , __u16 nlb , __u16 control , __u16 dspec );

Passthru command to use
Namespace ID
Starting logical block
Number of logical blocks (0-based)
Upper 16 bits of cdw12
Directive specific value

Initializes the passthru command buffer for the Write Uncorrectable command.

This command transfers no data or metadata.

nvme_init_write_uncorrectable October 2026