Searched refs:work_space (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm2-space.c | 163 struct tpm_space *space = &chip->work_space; in tpm2_flush_space() 175 struct tpm_space *space = &chip->work_space; in tpm2_load_space() 238 struct tpm_space *space = &chip->work_space; in tpm2_map_command() 310 memcpy(&chip->work_space.context_tbl, &space->context_tbl, in tpm2_prepare_space() 312 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space() 314 memcpy(chip->work_space.context_buf, space->context_buf, PAGE_SIZE); in tpm2_prepare_space() 315 memcpy(chip->work_space.session_buf, space->session_buf, PAGE_SIZE); in tpm2_prepare_space() 335 struct tpm_space *space = &chip->work_space; in tpm2_add_session() 372 struct tpm_space *space = &chip->work_space; in tpm2_map_response_header() 432 struct tpm_space *space = &chip->work_space; in tpm2_map_response_body() [all …]
|
| D | tpm-chip.c | 271 kfree(chip->work_space.context_buf); in tpm_dev_release() 272 kfree(chip->work_space.session_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() 394 chip->work_space.session_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm_chip_alloc() 395 if (!chip->work_space.session_buf) { in tpm_chip_alloc()
|
| /Linux-v5.4/include/linux/ |
| D | tpm.h | 155 struct tpm_space work_space; member
|