Lines Matching defs:props
233 process_user_props(zfs_handle_t *zhp, nvlist_t *props)
246 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) {
396 * XXX Why do we store the user props separately, in addition to
590 nvlist_t *props;
604 props = fnvlist_alloc();
605 err = lzc_get_bookmarks(fsname, props, &bmarks);
606 nvlist_free(props);
1595 nvlist_t *props;
1607 props = fnvlist_alloc();
1608 fnvlist_add_uint64(props, zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE),
1611 if ((zvol_volsize_to_reservation(zph, old_volsize, props) !=
1614 fnvlist_free(props);
1619 fnvlist_free(props);
1622 new_reservation = zvol_volsize_to_reservation(zph, new_volsize, props);
1623 fnvlist_free(props);
1644 nvlist_t *props;
1667 props = fnvlist_alloc();
1669 fnvlist_add_uint64(props, zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE),
1678 props);
1679 fnvlist_free(props);
1744 zfs_prop_set_list(zfs_handle_t *zhp, nvlist_t *props)
1762 if ((nvl = zfs_valid_proplist(hdl, zhp->zfs_type, props,
3610 nvlist_t *props)
3670 if (props && (props = zfs_valid_proplist(hdl, type, props,
3685 if (props == NULL || nvlist_lookup_uint64(props,
3687 nvlist_free(props);
3693 if ((ret = nvlist_lookup_uint64(props,
3700 nvlist_free(props);
3708 nvlist_free(props);
3715 nvlist_free(props);
3724 if (zfs_crypto_create(hdl, parent, props, NULL, B_TRUE,
3726 nvlist_free(props);
3731 ret = lzc_create(path, ost, props, wkeydata, wkeylen);
3732 nvlist_free(props);
3923 zfs_clone(zfs_handle_t *zhp, const char *target, nvlist_t *props)
3948 if (props) {
3956 if ((props = zfs_valid_proplist(hdl, type, props, zoned,
3959 if (zfs_fix_auto_resv(zhp, props) == -1) {
3960 nvlist_free(props);
3965 if (zfs_crypto_clone_check(hdl, zhp, parent, props) != 0) {
3966 nvlist_free(props);
3970 ret = lzc_clone(target, zhp->zfs_name, props);
3971 nvlist_free(props);
4093 zfs_snapshot_nvl(libzfs_handle_t *hdl, nvlist_t *snaps, nvlist_t *props)
4130 if (props != NULL &&
4131 (props = zfs_valid_proplist(hdl, ZFS_TYPE_SNAPSHOT,
4132 props, B_FALSE, NULL, zpool_hdl, B_FALSE, errbuf)) == NULL) {
4138 ret = lzc_snapshot(snaps, props, &errors);
4167 nvlist_free(props);
4174 nvlist_t *props)
4206 ret = zfs_snapshot_nvl(hdl, sd.sd_nvl, props);
4707 zfs_prune_proplist(zfs_handle_t *zhp, uint8_t *props)
4713 * Keep a reference to the props-table against which we prune the
4716 zhp->zfs_props_table = props;
4731 if (zfs_prop != ZPROP_INVAL && props[zfs_prop] == B_FALSE)
5488 nvlist_t *props)
5495 if (nvlist_lookup_string(props,
5500 if (nvlist_lookup_uint64(props,