Searched refs:session_buf (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/char/tpm/ |
D | tpm2-space.c | 52 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()
|
D | tpm-chip.c | 162 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()
|
D | tpm.h | 190 u8 *session_buf; member
|