libnvme\_mi\_submit\_exit(9) libnvme API manual libnvme\_mi\_submit\_exit(9)

# [NAME](#NAME)

libnvme\_mi\_submit\_exit - Weak hook called after an MI message completes.

# [SYNOPSIS](#SYNOPSIS)

**void libnvme\_mi\_submit\_exit** **(\_\_u8 type ,** **const struct nvme\_mi\_msg\_hdr \*hdr ,** **size\_t hdr\_len ,** **const void \*data ,** **size\_t data\_len ,** **void \*user\_data );**

# [ARGUMENTS](#ARGUMENTS)

[type](#type)

MCTP message type

[hdr](#hdr)

Pointer to the MI response message header

[hdr\_len](#hdr_len)

Length of the response message header in bytes

[data](#data)

Pointer to response payload data

[data\_len](#data_len)

Length of response payload data in bytes

[user\_data](#user_data)

Value returned by the matching **libnvme\_mi\_submit\_entry** call

# [DESCRIPTION](#DESCRIPTION)

This is a weak symbol that can be overridden by an application to intercept completed MI transactions. Called with the opaque pointer returned by the corresponding **libnvme\_mi\_submit\_entry** call.

libnvme\_mi\_submit\_exit September 2026

---

Document: libnvme_mi_submit_exit-libnvme3(2) from nvme-cli 3.1-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
