Searched refs:work_space (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/char/tpm/ |
D | tpm2-space.c | 167 struct tpm_space *space = &chip->work_space; in tpm2_flush_space() 180 struct tpm_space *space = &chip->work_space; in tpm2_load_space() 243 struct tpm_space *space = &chip->work_space; in tpm2_map_command() 275 memcpy(&chip->work_space.context_tbl, &space->context_tbl, in tpm2_prepare_space() 277 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space() 279 memcpy(chip->work_space.context_buf, space->context_buf, PAGE_SIZE); in tpm2_prepare_space() 280 memcpy(chip->work_space.session_buf, space->session_buf, PAGE_SIZE); in tpm2_prepare_space() 299 struct tpm_space *space = &chip->work_space; in tpm2_add_session() 336 struct tpm_space *space = &chip->work_space; in tpm2_map_response_header() 396 struct tpm_space *space = &chip->work_space; in tpm2_map_response_body() [all …]
|
D | tpm-chip.c | 161 kfree(chip->work_space.context_buf); in tpm_dev_release() 162 kfree(chip->work_space.session_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() 283 chip->work_space.session_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm_chip_alloc() 284 if (!chip->work_space.session_buf) { in tpm_chip_alloc()
|
D | tpm.h | 257 struct tpm_space work_space; member
|