Lines Matching refs:propval
939 nvlist_t *propval;
1015 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0);
1028 VERIFY(nvlist_add_string(propval, ZPROP_VALUE,
1036 (void) nvlist_add_uint64(propval, ZPROP_VALUE,
1040 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, source) == 0);
1041 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0);
1042 nvlist_free(propval);
1171 nvlist_t *propval;
1175 if (nvlist_lookup_nvlist(nv, propname, &propval) == 0) {
1176 VERIFY(nvlist_add_uint64(propval, ZPROP_VALUE, value) == 0);
1180 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0);
1181 VERIFY(nvlist_add_uint64(propval, ZPROP_VALUE, value) == 0);
1185 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, "") == 0);
1187 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0);
1188 nvlist_free(propval);
1194 nvlist_t *propval;
1197 if (nvlist_lookup_nvlist(nv, propname, &propval) == 0) {
1198 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, value) == 0);
1202 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0);
1203 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, value) == 0);
1204 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0);
1205 nvlist_free(propval);