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.h254 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument
255 __nv = zpool_get_config(__zhp, NULL); \
256 VERIFY0(nvlist_lookup_nvlist(__nv, ZPOOL_CONFIG_VDEV_TREE, &__nv)); \
258 for (nvlist_t *__root_nv = __nv, *__state = (nvlist_t *)0; \
259 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
260 __nv += 0)
262 #define FOR_EACH_VDEV(__zhp, __nv) \ argument
263 __FOR_EACH_VDEV(__zhp, __nv, for_each_vdev_macro_helper_func)
269 #define FOR_EACH_REAL_LEAF_VDEV(__zhp, __nv) \ argument
270 __FOR_EACH_VDEV(__zhp, __nv, for_each_real_leaf_vdev_macro_helper_func)