Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/include/
H A Dlibzutil.h247 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument
248 __nv = zpool_get_config(__zhp, NULL); \
249 VERIFY0(nvlist_lookup_nvlist(__nv, ZPOOL_CONFIG_VDEV_TREE, &__nv)); \
251 for (nvlist_t *__root_nv = __nv, *__state = (nvlist_t *)0; \
252 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
253 __nv += 0)
255 #define FOR_EACH_VDEV(__zhp, __nv) \ argument
256 __FOR_EACH_VDEV(__zhp, __nv, for_each_vdev_macro_helper_func)
262 #define FOR_EACH_REAL_LEAF_VDEV(__zhp, __nv) \ argument
263 __FOR_EACH_VDEV(__zhp, __nv, for_each_real_leaf_vdev_macro_helper_func)