Lines Matching defs:type
53 zprop_get_proptable(zfs_type_t type)
55 if (type == ZFS_TYPE_POOL)
62 zprop_get_numprops(zfs_type_t type)
64 if (type == ZFS_TYPE_POOL)
71 zprop_register_impl(int prop, const char *name, zprop_type_t type,
87 pd->pd_proptype = type;
131 zprop_register_hidden(int prop, const char *name, zprop_type_t type,
134 zprop_register_impl(prop, name, type, 0, NULL, attr,
136 type == PROP_TYPE_NUMBER, B_FALSE, NULL);
167 boolean_t ordered, zfs_type_t type)
173 prop_tbl = zprop_get_proptable(type);
174 num_props = zprop_get_numprops(type);
254 zprop_name_to_prop(const char *propname, zfs_type_t type)
260 cb_data.prop_tbl = zprop_get_proptable(type);
263 B_TRUE, B_FALSE, type);
270 zfs_type_t type)
279 ASSERT(prop < zprop_get_numprops(type));
280 prop_tbl = zprop_get_proptable(type);
296 zfs_type_t type)
305 ASSERT(prop < zprop_get_numprops(type));
306 prop_tbl = zprop_get_proptable(type);
324 zprop_random_value(int prop, uint64_t seed, zfs_type_t type)
329 ASSERT((uint_t)prop < zprop_get_numprops(type));
330 prop_tbl = zprop_get_proptable(type);
340 zprop_values(int prop, zfs_type_t type)
345 ASSERT(prop < zprop_get_numprops(type));
347 prop_tbl = zprop_get_proptable(type);
356 zprop_valid_for_type(int prop, zfs_type_t type)
363 ASSERT(prop < zprop_get_numprops(type));
364 prop_tbl = zprop_get_proptable(type);
365 return ((prop_tbl[prop].pd_types & type) != 0);
375 zprop_width(int prop, boolean_t *fixed, zfs_type_t type)
383 ASSERT(prop < zprop_get_numprops(type));
385 prop_tbl = zprop_get_proptable(type);