Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Ddisk_io.c92 static int active_slot(const struct mem_tpm_mgr *mgr) in active_slot() function
104 sector_inuse_map[s] |= active_slot(mgr); in disk_set_used()
111 sector_inuse_map[i] &= ~active_slot(mgr); in disk_flush_slot()
120 sector_inuse_map[i] = active_slot(mgr); in disk_find_free()
/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpmblk.c237 static int active_slot = -1; variable
249 active_slot = !active_slot; in write_vtpmblk()
256 if((rc = write_vtpmblk_raw(cipher, cipher_len, active_slot))) { in write_vtpmblk()
294 active_slot = 0; in read_vtpmblk()
308 active_slot = 1; in read_vtpmblk()
348 active_slot = -1; in read_vtpmblk()

Completed in 3 milliseconds