Lines Matching refs:keylocation
500 zfs_keyformat_t keyformat, char *keylocation, const char *fsname, in get_key_material() argument
512 ret = zfs_prop_parse_keylocation(hdl, keylocation, &keyloc, &scheme); in get_key_material()
537 if ((ret = handler->zuh_handler(hdl, keylocation, in get_key_material()
700 char *keylocation, nvlist_t *props, uint8_t **wkeydata, uint_t *wkeylen) in populate_create_encryption_params_nvlists() argument
710 ret = get_key_material(hdl, B_TRUE, newkey, keyformat, keylocation, in populate_create_encryption_params_nvlists()
864 char *keylocation = NULL; in zfs_crypto_create() local
880 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in zfs_crypto_create()
955 if (pcrypt == ZIO_CRYPT_OFF && keylocation == NULL && in zfs_crypto_create()
967 if (keylocation != NULL && keyformat == ZFS_KEYFORMAT_NONE) { in zfs_crypto_create()
975 if (keyformat != ZFS_KEYFORMAT_NONE && keylocation == NULL) { in zfs_crypto_create()
976 keylocation = "prompt"; in zfs_crypto_create()
978 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), keylocation); in zfs_crypto_create()
987 if (keylocation != NULL) { in zfs_crypto_create()
992 if (!stdin_available && strcmp(keylocation, "prompt") == 0) { in zfs_crypto_create()
1000 B_FALSE, keyformat, keylocation, props, &wkeydata, in zfs_crypto_create()
1129 char *keylocation = NULL; in zfs_crypto_load_key() local
1177 keylocation = alt_keylocation; in zfs_crypto_load_key()
1188 keylocation = prop_keylocation; in zfs_crypto_load_key()
1214 keylocation, zfs_get_name(zhp), &key_material, &key_material_len, in zfs_crypto_load_key()
1428 char *keylocation = NULL; in zfs_crypto_rewrap() local
1490 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in zfs_crypto_rewrap()
1505 if (keylocation == NULL) { in zfs_crypto_rewrap()
1517 keylocation = prop_keylocation; in zfs_crypto_rewrap()
1530 if (keylocation == NULL) { in zfs_crypto_rewrap()
1531 keylocation = "prompt"; in zfs_crypto_rewrap()
1534 keylocation); in zfs_crypto_rewrap()
1542 zhp, B_TRUE, keyformat, keylocation, props, &wkeydata, in zfs_crypto_rewrap()