Lines Matching defs:policy
87 char *policy = NULL;
138 /* Get BE policy to create this snapshot under */
140 BE_ATTR_POLICY, DATA_TYPE_STRING, &policy, NULL) != 0) {
155 if ((ret = _be_create_snapshot(be_name, altpool, &snap_name, policy))
401 * policy - The clean-up policy type. (library wide use only)
410 char *policy)
433 bt.policy = policy;
476 /* If BE policy not specified, use the default policy */
477 if (bt.policy == NULL) {
478 bt.policy = be_default_policy();
480 /* Validate policy type */
481 if (!valid_be_policy(bt.policy)) {
483 "invalid BE policy type (%s)\n"), bt.policy);
527 * cleanup policy there. Otherwise don't set one - this
528 * snapshot will always inherit the cleanup policy from
538 bt.policy) != 0) {
544 } else if (policy != NULL) {
546 * If an explicit cleanup policy was requested
550 "cleanup policy: ZFS pool version is %d\n"),