libnvmf_nbft_read_files-libnvme32
Read nbft files from path
Usage
int libnvmf_nbft_read_files
(struct
libnvme_global_ctx
*ctx
,
char
*path
,
struct
nbft_file_entry
**head
);
Arguments
- ctx
-
struct libnvme_global_ctx object
- path
-
Path to NBFT files
- head
-
Pointer to store linked list of NBFT file entries
Overview
Reads NBFT files from the specified path and populates a linked list.
Return
0 on success, negative error code otherwise.