Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/tpm/
Dtpm2-space.c48 space->context_buf = kzalloc(buf_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()
56 space->context_buf = NULL; in tpm2_init_space()
69 kfree(space->context_buf); in tpm2_del_space()
198 rc = tpm2_load_context(chip, space->context_buf, &offset, in tpm2_load_space()
282 memcpy(chip->work_space.context_buf, space->context_buf, in tpm2_prepare_space()
467 space->context_buf, space->buf_size, in tpm2_save_space()
532 memcpy(space->context_buf, chip->work_space.context_buf, in tpm2_commit_space()
Dtpm-chip.c161 kfree(chip->work_space.context_buf); in tpm_dev_release()
Dtpm.h188 u8 *context_buf; member