libnvme_transport_handle_set_submit_entry(9) libnvme API manual NAME libnvme_transport_handle_set_submit_entry - Install a submit-entry callback SYNOPSIS void libnvme_transport_handle_set_submit_entry (struct libnvme_transport_handle *hdl , void *(*submit_entry)(struct libnvme_transport_handle *hdl, struct libnvme_passthru_cmd *cmd) ); ARGUMENTS hdl Transport handle to configure submit_entry Callback invoked immediately before a passthrough command is submitted. The function receives the command about to be issued and may return an opaque pointer representing per- command context. This pointer is later passed unmodified to the submit-exit callback. Implementations typically use this hook for logging, tracing, or allocating per-command state. DESCRIPTION Installs a user-defined callback that is invoked at the moment a passthrough command enters the NVMe submission path. Passing NULL removes any previously installed callback. RETURN None. September 2026 libnvme_transport_handle_set_submit_entry libnvme_transport_handle_set_submit_entry(9)