nvme_init_write_zeros(9) libnvme API manual nvme_init_write_zeros(9) NAME nvme_init_write_zeros - Initialize passthru command for a write zeroes command SYNOPSIS void nvme_init_write_zeros (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u64 slba , __u16 nlb , __u16 control , __u16 dspec , __u8 dsm , __u8 cev ); ARGUMENTS cmd Passthru command to use nsid Namespace ID slba Starting logical block nlb Number of logical blocks (0-based) control Upper 16 bits of cdw12 dspec Directive specific value dsm Data set management attributes (CETYPE is zero), see enum nvme_io_dsm_flags cev Command Extension Value (CETYPE is non-zero) DESCRIPTION Initializes the passthru command buffer for the Write Zeroes command. NOTE Write Zeroes command does not transfer data or metadata. October 2026 nvme_init_write_zeros nvme_init_write_zeros(9)