Lines Matching refs:sys_ctx

28     _TSS2_SYS_CONTEXT_BLOB *sys_ctx;  in CopyCommandHeader_sys_setup()  local
32 sys_ctx = calloc (1, size_ctx); in CopyCommandHeader_sys_setup()
33 assert_non_null (sys_ctx); in CopyCommandHeader_sys_setup()
39 sys_ctx->cmdBuffer = (UINT8*) (sys_ctx + sizeof (_TSS2_SYS_CONTEXT_BLOB)); in CopyCommandHeader_sys_setup()
40 InitSysContextFields (sys_ctx); in CopyCommandHeader_sys_setup()
41 InitSysContextPtrs (sys_ctx, size_ctx); in CopyCommandHeader_sys_setup()
43 *state = sys_ctx; in CopyCommandHeader_sys_setup()
50 TSS2_SYS_CONTEXT *sys_ctx = (TSS2_SYS_CONTEXT*)*state; in CopyCommandHeader_sys_teardown() local
52 if (sys_ctx) in CopyCommandHeader_sys_teardown()
53 free (sys_ctx); in CopyCommandHeader_sys_teardown()
67 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB *)*state; in CopyCommandHeader_nextData_unit() local
70 CopyCommandHeader (sys_ctx, cc); in CopyCommandHeader_nextData_unit()
71 assert_int_equal (sys_ctx->nextData, sizeof (TPM20_Header_In)); in CopyCommandHeader_nextData_unit()
82 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CopyCommandHeader_tag_unit() local
84 TPM20_Header_In *header = (TPM20_Header_In*)sys_ctx->cmdBuffer; in CopyCommandHeader_tag_unit()
91 CopyCommandHeader (sys_ctx, cc); in CopyCommandHeader_tag_unit()
102 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CopyCommandHeader_commandcode_unit() local
105 TPM20_Header_In *header = (TPM20_Header_In*)sys_ctx->cmdBuffer; in CopyCommandHeader_commandcode_unit()
107 CopyCommandHeader (sys_ctx, cc); in CopyCommandHeader_commandcode_unit()