Lines Matching defs:prop
496 zfs_setprop_error(libzfs_handle_t *hdl, zfs_prop_t prop, int err,
507 switch (prop) {
551 if (prop == ZFS_PROP_COMPRESSION ||
552 prop == ZFS_PROP_DNODESIZE ||
553 prop == ZFS_PROP_RECORDSIZE) {
558 } else if (prop == ZFS_PROP_CHECKSUM ||
559 prop == ZFS_PROP_DEDUP) {
570 if (prop == ZPROP_INVAL) {
582 if (prop == ZFS_PROP_KEYLOCATION) {
596 if (prop == ZFS_PROP_VOLSIZE) {
1604 zprop_parse_value(libzfs_handle_t *hdl, nvpair_t *elem, int prop,
1617 proptype = zpool_prop_get_type(prop);
1618 propname = zpool_prop_to_name(prop);
1620 proptype = zfs_prop_get_type(prop);
1621 propname = zfs_prop_to_name(prop);
1672 (prop == ZFS_PROP_QUOTA || prop == ZFS_PROP_REFQUOTA)) {
1683 (prop == ZFS_PROP_FILESYSTEM_LIMIT ||
1684 prop == ZFS_PROP_SNAPSHOT_LIMIT)) {
1694 switch (prop) {
1723 if (zprop_string_to_index(prop, value, ivalp, type) != 0) {
1726 zprop_values(prop, type));
1760 int prop;
1763 prop = zprop_name_to_prop(propname, type);
1765 if (prop != ZPROP_INVAL && !zprop_valid_for_type(prop, type, B_FALSE))
1766 prop = ZPROP_INVAL;
1773 if (prop == ZPROP_INVAL && ((type == ZFS_TYPE_POOL &&
1787 entry->pl_prop = prop;
1788 if (prop == ZPROP_INVAL) {
1796 entry->pl_width = zprop_width(prop, &entry->pl_fixed,
1912 zprop_expand_list_cb(int prop, void *cb)
1920 entry->pl_prop = prop;
1921 entry->pl_width = zprop_width(prop, &entry->pl_fixed, edp->type);