libnvme_mi_mi_pda_write_zeroes(9)

NAME
libnvme_mi_mi_pda_write_zeroes - Clear a range of the NVMe-MI Persistent Data Area (PDA) to 0h

SYNOPSIS
int libnvme_mi_mi_pda_write_zeroes (struct libnvme_mi_ep *ep , enum nvme_mi_pda_dformat dformat , __u32 dofst , __u32 dlen );

ARGUMENTS

ep  endpoint for MI communication

dformat
    data format to use for dofst and dlen, see enum nvme_mi_pda_dformat

dofst
    starting offset, in units of dformat, into the PDA to clear

dlen
    length, in units of dformat, of the PDA to clear starting at dofst

DESCRIPTION
Performs an NVMe-MI PDA Write Zeroes command.

RETURN
The nvme command status if a response was received (see enum nvme_status_field) or negative error code otherwise.