Home
last modified time | relevance | path

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

/Linux-v4.19/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()
201 for (i = 0, offset = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_load_space()
204 if (!space->session_tbl[i]) in tpm2_load_space()
211 space->session_tbl[i] = 0; in tpm2_load_space()
216 if (handle != space->session_tbl[i]) { in tpm2_load_space()
277 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space()
278 sizeof(space->session_tbl)); in tpm2_prepare_space()
302 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) in tpm2_add_session()
[all …]
Dtpm.h189 u32 session_tbl[3]; member