zfs_check_global_label
extern int zfs_check_global_label(const char *dsname, const char *hexsl);
if (zfs_check_global_label(name, strval) != 0)
return (zfs_check_global_label(osname, ds_hexsl));