Lines Matching refs:props
513 nvlist_t *props, uint64_t version, prop_flags_t flags, char *errbuf)
531 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) {
1029 nvlist_t *props = NULL;
1034 if (nvlist_alloc(&props, NV_UNIQUE_NAME, 0) != 0) {
1038 if (nvlist_add_string(props, ZPOOL_CONFIG_LOCATION, location) != 0 ||
1039 nvlist_add_string(props, ZPOOL_CONFIG_CHASSISSN, chassissn) != 0 ||
1040 nvlist_add_string(props, ZPOOL_CONFIG_DEVCHASSIS,
1042 nvlist_free(props);
1046 if (zcmd_write_conf_nvlist(zhp->zpool_hdl, &zc, props) != 0) {
1047 nvlist_free(props);
1053 nvlist_free(props);
1058 nvlist_free(props);
1069 nvlist_t *props, nvlist_t *fsprops)
1087 if (props) {
1090 if ((zc_props = zpool_valid_proplist(hdl, pool, props,
1165 if (nvlist_lookup_string(props, zpool_prop_to_name(ZPOOL_PROP_ALTROOT),
1529 nvlist_t *props = NULL;
1533 if (nvlist_alloc(&props, NV_UNIQUE_NAME, 0) != 0) {
1539 if (nvlist_add_string(props,
1541 nvlist_add_string(props,
1543 nvlist_free(props);
1550 ret = zpool_import_props(hdl, config, newname, props,
1552 if (props)
1553 nvlist_free(props);
1592 nvlist_t *props, int flags)
1658 if (props) {
1667 if ((props = zpool_valid_proplist(hdl, origname,
1668 props, version, flags, errbuf)) == NULL) {
1670 } else if (zcmd_write_src_nvlist(hdl, &zc, props) != 0) {
1671 nvlist_free(props);
1682 nvlist_free(props);
1686 nvlist_free(props);
1792 nvlist_free(props);
2926 nvlist_t *props, splitflags_t flags)
2955 if (props) {
2958 props, vers, flags, msg)) == NULL)