• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/zfs/

Lines Matching defs:keylocation

147 	char *keylocation = NULL;
159 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation);
195 /* check for a valid keylocation (of any kind) and copy it in */
196 if (keylocation != NULL) {
197 if (!zfs_prop_valid_keylocation(keylocation, B_FALSE)) {
202 dcp->cp_keylocation = spa_strdup(keylocation);
415 /* get the ddobj that the keylocation property was inherited from */
441 dsl_crypto_can_set_keylocation(const char *dsname, const char *keylocation)
461 if (strcmp(keylocation, "none") != 0) {
470 /* check for a valid keylocation for encrypted datasets */
471 if (!zfs_prop_valid_keylocation(keylocation, B_TRUE)) {
1265 /* lookup the ddobj we are inheriting the keylocation from */
1349 * keylocation for this dataset's new wrapping key. Otherwise we can
1357 /* check that the keylocation is valid if it is not NULL */
1510 char *keylocation = dcp->cp_keylocation;
1522 * command can set keylocation even if it can't normally be
1523 * set via 'zfs set' due to a non-local keylocation.
1529 keylocation = "prompt";
1532 if (keylocation != NULL) {
1535 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1,
1536 keylocation, tx);
1544 * keylocation and grab a reference to the wkey.
1712 char *keylocation;
1726 * DSL Crypto Key and keylocation to reflect that. We also need to
1731 keylocation = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP);
1739 1, ZAP_MAXVALUELEN, keylocation, NULL, B_FALSE));
1741 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1, keylocation, tx);
1752 kmem_free(keylocation, ZAP_MAXVALUELEN);
2240 char *keylocation = "prompt";
2283 * Set the keylocation to prompt by default. If keylocation
2289 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1,
2290 keylocation, tx);