Home
last modified time | relevance | path

Searched refs:__nv (Results 1 – 1 of 1) sorted by relevance

/freebsd-14-stable/sys/contrib/openzfs/include/
HDlibzutil.h249 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument
250 __nv = zpool_get_config(__zhp, NULL); \
251 VERIFY0(nvlist_lookup_nvlist(__nv, ZPOOL_CONFIG_VDEV_TREE, &__nv)); \
253 for (nvlist_t *__root_nv = __nv, *__state = (nvlist_t *)0; \
254 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
255 __nv += 0)
257 #define FOR_EACH_VDEV(__zhp, __nv) \ argument
258 __FOR_EACH_VDEV(__zhp, __nv, for_each_vdev_macro_helper_func)
264 #define FOR_EACH_REAL_LEAF_VDEV(__zhp, __nv) \ argument
265 __FOR_EACH_VDEV(__zhp, __nv, for_each_real_leaf_vdev_macro_helper_func)