nvme_admin_passthru64(2) | libnvme API manual | nvme_admin_passthru64(2) |
nvme_admin_passthru64 - Submit a 64-bit nvme passthrough command
int nvme_admin_passthru64 (int fd , __u8 opcode , __u8 flags , __u16 rsvd , __u32 nsid , __u32 cdw2 , __u32 cdw3 , __u32 cdw10 , __u32 cdw11 , __u32 cdw12 , __u32 cdw13 , __u32 cdw14 , __u32 cdw15 , __u32 data_len , void *data , __u32 metadata_len , void *metadata , __u32 timeout_ms , __u64 *result );
Parameterized form of nvme_submit_admin_passthru64. This sets up and submits a struct nvme_passthru_cmd64.
Known values for opcode are defined in enum nvme_admin_opcode.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
nvme_admin_passthru64 | January 2023 |