i_validate_nvpair_value
if (i_validate_nvpair_value(type, nelem, data) != 0)
if (i_validate_nvpair_value(type, NVP_NELEM(nvp), NVP_VALUE(nvp)) != 0)