Home
last modified time | relevance | path

Searched refs:valid_key (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dblock_int.h149 int valid_key; /* if true, a valid encryption key has been set */ member
Dblock.c419 bs->valid_key = 0; in bdrv_open_common()
1368 if (backing_hd && backing_hd->encrypted && !backing_hd->valid_key) in bdrv_key_required()
1370 return (bs->encrypted && !bs->valid_key); in bdrv_key_required()
1390 bs->valid_key = 0; in bdrv_set_key()
1391 } else if (!bs->valid_key) { in bdrv_set_key()
1392 bs->valid_key = 1; in bdrv_set_key()