table of contents
other versions
- experimental 3.3-1
| libnvmf_kernel_options_for_each(2) | libnvme API manual | libnvmf_kernel_options_for_each(2) |
NAME¶
libnvmf_kernel_options_for_each - Iterate over the kernel's options
SYNOPSIS¶
int libnvmf_kernel_options_for_each (struct libnvme_global_ctx *ctx , void (*callback)(const char *name, void *user_data) , void *user_data );
ARGUMENTS¶
DESCRIPTION¶
See libnvmf_kernel_option_supported for how the options are read.
RETURN¶
0 on success, -EINVAL if ctx or callback is NULL, -EOPNOTSUPP if the kernel does not list its options (Linux < 5.17), or another negative error code.
| libnvmf_kernel_options_for_each | November 2026 |