nvlist2rctlval
error = nvlist2rctlval(nvlarray[i], nvalp);
if (error = nvlist2rctlval(nvlarray[i], &rv))