示例#1
0
文件: zpool_prop.c 项目: LLNL/zfs
/*
 * Given a property name and its type, returns the corresponding property ID.
 */
zpool_prop_t
zpool_name_to_prop(const char *propname)
{
	return (zprop_name_to_prop(propname, ZFS_TYPE_POOL));
}
示例#2
0
/*
 * Given a zfs dataset property name, returns the corresponding property ID.
 */
zfs_prop_t
zfs_name_to_prop(const char *propname)
{
	return (zprop_name_to_prop(propname, ZFS_TYPE_DATASET));
}
示例#3
0
/*
 * Given a property name and its type, returns the corresponding property ID.
 */
cos_prop_t
cos_name_to_prop(const char *propname)
{
	return (zprop_name_to_prop(propname, ZFS_TYPE_COS));
}