Lines Matching defs:props
530 spa_prop_validate(spa_t *spa, nvlist_t *props)
538 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) {
723 (void) nvlist_remove_all(props,
727 error = nvlist_remove(props,
731 error = nvlist_add_uint64(props,
2414 * Find a value in the pool props object.
5698 spa_create(const char *pool, nvlist_t *nvroot, nvlist_t *props,
5719 if (props == NULL ||
5720 nvlist_lookup_string(props, "tname", &poolname) != 0)
5737 (void) nvlist_lookup_string(props,
5743 if (props && (error = spa_prop_validate(spa, props))) {
5759 for (nvpair_t *elem = nvlist_next_nvpair(props, NULL);
5760 elem != NULL; elem = nvlist_next_nvpair(props, elem)) {
5790 if (has_features || nvlist_lookup_uint64(props,
5969 if (props != NULL) {
5970 spa_configfile_set(spa, props, B_FALSE);
5971 spa_sync_props(props, tx);
6005 spa_import(char *pool, nvlist_t *config, nvlist_t *props, uint64_t flags)
6030 (void) nvlist_lookup_string(props,
6032 (void) nvlist_lookup_uint64(props,
6044 if (props != NULL)
6045 spa_configfile_set(spa, props, B_FALSE);
6103 if (props != NULL)
6104 spa_configfile_set(spa, props, B_FALSE);
6106 if (error != 0 || (props && spa_writeable(spa) &&
6107 (error = spa_prop_set(spa, props)))) {
7435 nvlist_t *props, boolean_t exp)
7626 (void) nvlist_lookup_string(props,
7694 /* set the props */
7695 if (props != NULL) {
7696 spa_configfile_set(newspa, props, B_FALSE);
7697 error = spa_prop_set(newspa, props);