zprop_name_to_prop
return (zprop_name_to_prop(propname, ZFS_TYPE_DATASET));
int zprop_name_to_prop(const char *, zfs_type_t);
return (zprop_name_to_prop(propname, ZFS_TYPE_POOL));
prop = zprop_name_to_prop(propname, type);