Home
last modified time | relevance | path

Searched refs:session_buf (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm2-space.c52 space->session_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm2_init_space()
53 if (space->session_buf == NULL) { in tpm2_init_space()
67 kfree(space->session_buf); in tpm2_del_space()
207 rc = tpm2_load_context(chip, space->session_buf, in tpm2_load_space()
280 memcpy(chip->work_space.session_buf, space->session_buf, PAGE_SIZE); in tpm2_prepare_space()
477 space->session_buf, PAGE_SIZE, in tpm2_save_space()
526 memcpy(space->session_buf, chip->work_space.session_buf, PAGE_SIZE); in tpm2_commit_space()
Dtpm-chip.c162 kfree(chip->work_space.session_buf); in tpm_dev_release()
283 chip->work_space.session_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm_chip_alloc()
284 if (!chip->work_space.session_buf) { in tpm_chip_alloc()
Dtpm.h190 u8 *session_buf; member