libxnvme_spec_pp.h#

Functions#

xnvme_spec_adm_opc_str#

const char *xnvme_spec_adm_opc_str(enum xnvme_spec_adm_opc eval)#

SPDX-FileCopyrightText: Samsung Electronics Co., Ltd.

SPDX-License-Identifier: BSD-3-Clause Produces a string representation of the given xnvme_spec_adm_opc

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_csi_str#

const char *xnvme_spec_csi_str(enum xnvme_spec_csi eval)#

Produces a string representation of the given xnvme_spec_csi.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_ctrlr_bar_fpr#

int xnvme_spec_ctrlr_bar_fpr(FILE *stream, struct xnvme_spec_ctrlr_bar *bar, int opts)#

xnvme_spec_ctrlr_bar_pp#

int xnvme_spec_ctrlr_bar_pp(struct xnvme_spec_ctrlr_bar *bar, int opts)#

xnvme_spec_feat_id_str#

const char *xnvme_spec_feat_id_str(enum xnvme_spec_feat_id eval)#

Produces a string representation of the given xnvme_spec_feat_id.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_feat_sel_str#

const char *xnvme_spec_feat_sel_str(enum xnvme_spec_feat_sel eval)#

Produces a string representation of the given xnvme_spec_feat_sel.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_flag_str#

const char *xnvme_spec_flag_str(enum xnvme_spec_flag eval)#

Produces a string representation of the given xnvme_spec_flag.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_idfy_cns_str#

const char *xnvme_spec_idfy_cns_str(enum xnvme_spec_idfy_cns eval)#

Produces a string representation of the given xnvme_spec_idfy_cns.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_log_lpi_str#

const char *xnvme_spec_log_lpi_str(enum xnvme_spec_log_lpi eval)#

Produces a string representation of the given xnvme_spec_log_lpi.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_nvm_cmd_cpl_sc_str#

const char *xnvme_spec_nvm_cmd_cpl_sc_str(enum xnvme_spec_nvm_cmd_cpl_sc eval)#

Produces a string representation of the given xnvme_spec_nvm_cmd_cpl_sc.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_nvm_opc_str#

const char *xnvme_spec_nvm_opc_str(enum xnvme_spec_nvm_opc eval)#

Produces a string representation of the given xnvme_spec_nvm_opc.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_psdt_str#

const char *xnvme_spec_psdt_str(enum xnvme_spec_psdt eval)#

Produces a string representation of the given xnvme_spec_psdt.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_sgl_descriptor_subtype_str#

const char *xnvme_spec_sgl_descriptor_subtype_str(enum xnvme_spec_sgl_descriptor_subtype eval)#

Produces a string representation of the given xnvme_spec_sgl_descriptor_subtype.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_cmd_mgmt_recv_action_sf_str#

const char *xnvme_spec_znd_cmd_mgmt_recv_action_sf_str(enum xnvme_spec_znd_cmd_mgmt_recv_action_sf eval)#

Produces a string representation of the given xnvme_spec_znd_cmd_mgmt_recv_action_sf.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_cmd_mgmt_recv_action_str#

const char *xnvme_spec_znd_cmd_mgmt_recv_action_str(enum xnvme_spec_znd_cmd_mgmt_recv_action eval)#

Produces a string representation of the given xnvme_spec_znd_cmd_mgmt_recv_action.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_cmd_mgmt_send_action_str#

const char *xnvme_spec_znd_cmd_mgmt_send_action_str(enum xnvme_spec_znd_cmd_mgmt_send_action eval)#

Produces a string representation of the given xnvme_spec_znd_cmd_mgmt_send_action.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_log_lid_str#

const char *xnvme_spec_znd_log_lid_str(enum xnvme_spec_znd_log_lid eval)#

Produces a string representation of the given xnvme_spec_znd_log_lid.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_mgmt_send_action_so_str#

const char *xnvme_spec_znd_mgmt_send_action_so_str(enum xnvme_spec_znd_mgmt_send_action_so eval)#

Produces a string representation of the given xnvme_spec_znd_mgmt_send_action_so.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_opc_str#

const char *xnvme_spec_znd_opc_str(enum xnvme_spec_znd_opc eval)#

Produces a string representation of the given xnvme_spec_znd_opc.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_state_str#

const char *xnvme_spec_znd_state_str(enum xnvme_spec_znd_state eval)#

Produces a string representation of the given xnvme_spec_znd_state.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_status_code_str#

const char *xnvme_spec_znd_status_code_str(enum xnvme_spec_znd_status_code eval)#

Produces a string representation of the given xnvme_spec_znd_status_code.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.

xnvme_spec_znd_type_str#

const char *xnvme_spec_znd_type_str(enum xnvme_spec_znd_type eval)#

Produces a string representation of the given xnvme_spec_znd_type.

Parameters:
  • eval – the enum value to produce a string representation of

Returns:

On success, a string representation is returned. On error, the string “ENOSYS” is returned.