Lines Matching defs:nvlist
49 * Pool configuration is stored as a packed nvlist on the filesystem. By
55 * For each cache file, we have a single nvlist which holds all the
80 nvlist_t *nvlist, *child;
106 * Read the nvlist from the file.
112 * Unpack the nvlist.
114 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
118 * Iterate over all elements in the nvlist, creating a new spa_t for
123 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) {
135 nvlist_free(nvlist);
175 * If the nvlist is empty (NULL), then remove the old cachefile.