Lines Matching defs:nvlist
48 * Pool configuration is stored as a packed nvlist on the filesystem. By
54 * For each cache file, we have a single nvlist which holds all the
79 nvlist_t *nvlist, *child;
105 * Read the nvlist from the file.
111 * Unpack the nvlist.
113 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
117 * Iterate over all elements in the nvlist, creating a new spa_t for
122 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) {
134 nvlist_free(nvlist);
174 * If the nvlist is empty (NULL), then remove the old cachefile.