Lines Matching refs:keylocation
161 char *keylocation = NULL; in dsl_crypto_params_create_nvlist() local
179 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in dsl_crypto_params_create_nvlist()
215 if (keylocation != NULL) { in dsl_crypto_params_create_nvlist()
216 if (!zfs_prop_valid_keylocation(keylocation, B_FALSE)) { in dsl_crypto_params_create_nvlist()
221 dcp->cp_keylocation = spa_strdup(keylocation); in dsl_crypto_params_create_nvlist()
467 dsl_crypto_can_set_keylocation(const char *dsname, const char *keylocation) in dsl_crypto_can_set_keylocation() argument
485 if (strcmp(keylocation, "none") != 0) { in dsl_crypto_can_set_keylocation()
495 if (!zfs_prop_valid_keylocation(keylocation, B_TRUE)) { in dsl_crypto_can_set_keylocation()
1512 char *keylocation = dcp->cp_keylocation; in spa_keystore_change_key_sync() local
1531 keylocation = "prompt"; in spa_keystore_change_key_sync()
1534 if (keylocation != NULL) { in spa_keystore_change_key_sync()
1537 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1, in spa_keystore_change_key_sync()
1538 keylocation, tx); in spa_keystore_change_key_sync()
1710 char *keylocation; in dsl_dataset_promote_crypt_sync() local
1729 keylocation = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in dsl_dataset_promote_crypt_sync()
1737 1, ZAP_MAXVALUELEN, keylocation, NULL, B_FALSE)); in dsl_dataset_promote_crypt_sync()
1739 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1, keylocation, tx); in dsl_dataset_promote_crypt_sync()
1750 kmem_free(keylocation, ZAP_MAXVALUELEN); in dsl_dataset_promote_crypt_sync()
2262 char *keylocation = "prompt"; in dsl_crypto_recv_raw_key_sync() local
2312 ZPROP_SRC_LOCAL, 1, strlen(keylocation) + 1, in dsl_crypto_recv_raw_key_sync()
2313 keylocation, tx); in dsl_crypto_recv_raw_key_sync()