Searched refs:context_buf (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/char/tpm/ |
D | tpm2-space.c | 48 space->context_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm2_init_space() 49 if (!space->context_buf) in tpm2_init_space() 54 kfree(space->context_buf); in tpm2_init_space() 66 kfree(space->context_buf); in tpm2_del_space() 195 rc = tpm2_load_context(chip, space->context_buf, &offset, in tpm2_load_space() 279 memcpy(chip->work_space.context_buf, space->context_buf, PAGE_SIZE); in tpm2_prepare_space() 459 space->context_buf, PAGE_SIZE, in tpm2_save_space() 525 memcpy(space->context_buf, chip->work_space.context_buf, PAGE_SIZE); in tpm2_commit_space()
|
D | tpm-chip.c | 161 kfree(chip->work_space.context_buf); in tpm_dev_release() 278 chip->work_space.context_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm_chip_alloc() 279 if (!chip->work_space.context_buf) { in tpm_chip_alloc()
|
D | tpm.h | 188 u8 *context_buf; member
|