Searched refs:active_slot (Results 1 – 2 of 2) sorted by relevance
92 static int active_slot(const struct mem_tpm_mgr *mgr) in active_slot() function104 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()
237 static int active_slot = -1; variable249 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