Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/include/
H A Dlibzutil.h251 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument
252 __nv = zpool_get_config(__zhp, NULL); \
253 VERIFY0(nvlist_lookup_nvlist(__nv, ZPOOL_CONFIG_VDEV_TREE, &__nv)); \
255 for (nvlist_t *__root_nv = __nv, *__state = (nvlist_t *)0; \
256 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
257 __nv += 0)
259 #define FOR_EACH_VDEV(__zhp, __nv) \ argument
260 __FOR_EACH_VDEV(__zhp, __nv, for_each_vdev_macro_helper_func)
266 #define FOR_EACH_REAL_LEAF_VDEV(__zhp, __nv) \ argument
267 __FOR_EACH_VDEV(__zhp, __nv, for_each_real_leaf_vdev_macro_helper_func)