Lines Matching refs:props
407 spa_prop_validate(spa_t *spa, nvlist_t *props)
415 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) {
610 error = nvlist_remove(props,
614 error = nvlist_add_uint64(props,
2011 * Find a value in the pool props object.
3590 spa_create(const char *pool, nvlist_t *nvroot, nvlist_t *props,
3617 (void) nvlist_lookup_string(props,
3622 if (props && (error = spa_prop_validate(spa, props))) {
3630 for (nvpair_t *elem = nvlist_next_nvpair(props, NULL);
3631 elem != NULL; elem = nvlist_next_nvpair(props, elem)) {
3636 if (has_features || nvlist_lookup_uint64(props,
3804 if (props != NULL) {
3805 spa_configfile_set(spa, props, B_FALSE);
3806 spa_sync_props(props, tx);
4045 spa_import(const char *pool, nvlist_t *config, nvlist_t *props, uint64_t flags)
4070 (void) nvlist_lookup_string(props,
4072 (void) nvlist_lookup_uint64(props,
4084 if (props != NULL)
4085 spa_configfile_set(spa, props, B_FALSE);
4149 if (props != NULL)
4150 spa_configfile_set(spa, props, B_FALSE);
4152 if (error != 0 || (props && spa_writeable(spa) &&
4153 (error = spa_prop_set(spa, props)))) {
5027 nvlist_t *props, boolean_t exp)
5204 (void) nvlist_lookup_string(props,
5237 /* set the props */
5238 if (props != NULL) {
5239 spa_configfile_set(newspa, props, B_FALSE);
5240 error = spa_prop_set(newspa, props);