Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/
Dtpm2-space.c48 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()
Dtpm-chip.c161 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()
Dtpm.h188 u8 *context_buf; member