libxnvme_be.h#

Structs#

xnvme_be_attr#

struct xnvme_be_attr#

Public Members

const char *name#

Backend name.

uint8_t enabled#

Whether the backend is ‘enabled’.

uint8_t _rsvd[15]#

xnvme_be_attr_list#

struct xnvme_be_attr_list#

SPDX-FileCopyrightText: Samsung Electronics Co., Ltd.

List of xNVMe library backend attributes.

SPDX-License-Identifier: BSD-3-Clause Representation of xNVMe library backend attributes

Public Members

uint32_t capacity#

Remaining unused entries.

int count#

Number of used entries.

struct xnvme_be_attr item[]#

Array of items.

Functions#

xnvme_be_attr_list_bundled#

int xnvme_be_attr_list_bundled(struct xnvme_be_attr_list **list)#

List backends bundled with the library.

Returns:

On success, 0 is returned. On error, negative errno is returned.