Lines Matching defs:type

82 		    "datasets of this type"));
89 "datasets of this type"));
165 "on this type of pool"));
338 * This is used when we fail to open a dataset and we cannot get an exact type.
339 * We guess what the type would have been based on the path and the mask of
349 * When given a single type, always report the exact type.
361 * The user is requesting more than one type of dataset. If this is the
379 * We have no way of knowing a priori what type this would be, so always
900 zfs_type_t type, boolean_t quiet)
909 * It's not a valid path, assume it's a name of the given type.
912 zhp = zfs_open_quiet(hdl, path, type);
914 zhp = zfs_open(hdl, path, type);
946 zhp = zfs_open_quiet(hdl, entry.mnt_special, type);
948 zhp = zfs_open(hdl, entry.mnt_special, type);
1205 zfs_type_t type = cbp->cb_type;
1229 ((type == ZFS_TYPE_POOL) ? ZPOOL_PROP_NAME : ZFS_PROP_NAME));
1279 if (zprop_id(pl->pl_prop) == (type == ZFS_TYPE_POOL ?
1560 zfs_type_t type, nvlist_t *ret, char **svalp, uint64_t *ivalp,
1569 proptype = zc_prop_get_type(prop, type);
1570 propname = zc_prop_to_name(prop, type);
1613 if ((type & ZFS_TYPE_DATASET) && *ivalp == 0 && !isnone &&
1630 if (zc_prop_string_to_index(prop, value, ivalp, type) != 0) {
1633 zc_prop_values(prop, type));
1668 zprop_list_t **listp, zfs_type_t type)
1674 if (type == ZFS_TYPE_POOL) {
1694 zfs_attach_aliases(libzfs_handle_t *hdl, zprop_list_t *entry, zfs_type_t type,
1723 zc_prop_width(alias_prop, &alias->pl_fixed, type));
1731 zprop_showtype_t showtype, zprop_list_t **listp, zfs_type_t type)
1738 (void) zprop_lookup(hdl, type, propname, ZPROP_PROPERTY, &zpd);
1745 if ((zpd != NULL && !zprop_valid_for_type(zpd, type)) ||
1746 (zpd == NULL && (type == ZFS_TYPE_POOL ||
1770 zc_prop_width(zprop_propnum(zpd), &entry->pl_fixed, type)));
1771 zfs_attach_aliases(hdl, entry, type, showtype);
1782 zfs_type_t type;
1812 *zgl->listpp, zgl->type) != 0)
1827 zgl->type) != 0)
1837 zprop_list_t ***listpp, zfs_type_t type,
1842 if (type == ZFS_TYPE_POOL) {
1851 arg.type = type;
1875 zfs_type_t type, zprop_showtype_t showtype, boolean_t expand_all_sublists)
1991 err = zprop_lookup(hdl, type, propspec, ZPROP_SUBLIST,
2005 if (type != ZFS_TYPE_POOL &&
2010 showtype, listp, type) != 0)
2038 type, showtype, expand_all_sublists) != 0)
2042 type) != 0)
2053 type != ZFS_TYPE_POOL) {
2064 listp, type) != 0)
2069 type != ZFS_TYPE_POOL) {
2083 showtype, listp, type) != 0)
2097 type) != 0)
2105 err = zprop_lookup(hdl, type, propspec,
2110 type, showtype, expand_all_sublists) != 0)
2114 type) != 0)
2176 zfs_type_t type;
2195 edp->type) != 0)
2222 zc_prop_width(prop, &entry->pl_fixed, edp->type));
2235 zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, zfs_type_t type,
2252 exp.type = type;
2261 if (zprop_iter(hdl, type, NULL, recursive,
2270 entry->pl_prop = (type == ZFS_TYPE_POOL)
2275 &entry->pl_fixed, type));
2284 zfs_type_t type;
2345 zprop_print_tall(libzfs_handle_t *hdl, zfs_type_t type, FILE *fp)
2352 exp.type = type;
2358 if (zprop_iter(hdl, type, NULL, B_TRUE, zprop_expand_list_cb,
2365 if (type == ZFS_TYPE_POOL)
2383 if (type != ZFS_TYPE_POOL) {
2397 zprop_print_list(libzfs_handle_t *hdl, zfs_type_t type, FILE *fp,
2406 exp.type = type;
2412 if (zprop_iter(hdl, type, NULL, B_FALSE, zprop_expand_list_cb,
2416 pp.type = type;
2501 zprop_describe_prop(FILE *fp, int prop, zfs_type_t type)
2503 const char *values = (type == ZFS_TYPE_POOL ?
2505 boolean_t readonly = (type == ZFS_TYPE_POOL ?
2509 zc_prop_to_name(prop, type));
2516 if (type != ZFS_TYPE_POOL) {
2531 if (zc_prop_is_size(prop, type))