Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/tpm/
Dtpm2-space.c39 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions()
40 if (space->session_tbl[i]) in tpm2_flush_sessions()
41 tpm2_flush_context_cmd(chip, space->session_tbl[i], in tpm2_flush_sessions()
204 for (i = 0, offset = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_load_space()
207 if (!space->session_tbl[i]) in tpm2_load_space()
214 space->session_tbl[i] = 0; in tpm2_load_space()
219 if (handle != space->session_tbl[i]) { in tpm2_load_space()
280 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space()
281 sizeof(space->session_tbl)); in tpm2_prepare_space()
307 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) in tpm2_add_session()
[all …]
Dtpm.h189 u32 session_tbl[3]; member