Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/tpm/
Dtpm2-space.c35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions()
36 if (space->session_tbl[i]) in tpm2_flush_sessions()
37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions()
199 for (i = 0, offset = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_load_space()
202 if (!space->session_tbl[i]) in tpm2_load_space()
209 space->session_tbl[i] = 0; in tpm2_load_space()
214 if (handle != space->session_tbl[i]) { in tpm2_load_space()
315 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space()
316 sizeof(space->session_tbl)); in tpm2_prepare_space()
343 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) in tpm2_add_session()
[all …]
/linux-6.1.9/include/linux/
Dtpm.h104 u32 session_tbl[3]; member