Searched refs:context_buf (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm2-space.c | 43 space->context_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm2_init_space() 44 if (!space->context_buf) in tpm2_init_space() 49 kfree(space->context_buf); in tpm2_init_space() 64 kfree(space->context_buf); in tpm2_del_space() 190 rc = tpm2_load_context(chip, space->context_buf, &offset, in tpm2_load_space() 314 memcpy(chip->work_space.context_buf, space->context_buf, PAGE_SIZE); in tpm2_prepare_space() 495 space->context_buf, PAGE_SIZE, in tpm2_save_space() 560 memcpy(space->context_buf, chip->work_space.context_buf, PAGE_SIZE); in tpm2_commit_space()
|
| D | tpm-chip.c | 271 kfree(chip->work_space.context_buf); in tpm_dev_release() 389 chip->work_space.context_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm_chip_alloc() 390 if (!chip->work_space.context_buf) { in tpm_chip_alloc()
|
| /Linux-v5.4/include/linux/ |
| D | tpm.h | 93 u8 *context_buf; member
|