Lines Matching defs:zrpp
70 zpool_get_rewind_policy(nvlist_t *nvl, zpool_rewind_policy_t *zrpp)
77 zrpp->zrp_request = ZPOOL_NO_REWIND;
78 zrpp->zrp_maxmeta = 0;
79 zrpp->zrp_maxdata = UINT64_MAX;
80 zrpp->zrp_txg = UINT64_MAX;
90 zpool_get_rewind_policy(policy, zrpp);
93 if (nvpair_value_uint32(elem, &zrpp->zrp_request) == 0)
94 if (zrpp->zrp_request & ~ZPOOL_REWIND_POLICIES)
95 zrpp->zrp_request = ZPOOL_NO_REWIND;
97 (void) nvpair_value_uint64(elem, &zrpp->zrp_txg);
99 (void) nvpair_value_uint64(elem, &zrpp->zrp_maxmeta);
101 (void) nvpair_value_uint64(elem, &zrpp->zrp_maxdata);
104 if (zrpp->zrp_request == 0)
105 zrpp->zrp_request = ZPOOL_NO_REWIND;