Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm2-space.c43 space->context_buf = kzalloc(buf_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()
51 space->context_buf = NULL; in tpm2_init_space()
67 kfree(space->context_buf); in tpm2_del_space()
199 rc = tpm2_load_context(chip, space->context_buf, &offset, in tpm2_load_space()
323 memcpy(chip->work_space.context_buf, space->context_buf, in tpm2_prepare_space()
509 space->context_buf, space->buf_size, in tpm2_save_space()
573 memcpy(space->context_buf, chip->work_space.context_buf, in tpm2_commit_space()
H A Dtpm-chip.c278 kfree(chip->work_space.context_buf); in tpm_dev_release()
/linux/include/linux/
H A Dtpm.h120 u8 *context_buf; member