Searched refs:rsf (Results 1 – 7 of 7) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | rollback_index.c | 26 uint32_t ReadSpaceFirmware(RollbackSpaceFirmware *rsf); 27 uint32_t WriteSpaceFirmware(RollbackSpaceFirmware *rsf); 84 uint32_t ReadSpaceFirmware(RollbackSpaceFirmware *rsf) in ReadSpaceFirmware() argument 90 r = TlclRead(FIRMWARE_NV_INDEX, rsf, in ReadSpaceFirmware() 102 if (rsf->struct_version < 2) { in ReadSpaceFirmware() 104 rsf->struct_version = 2; in ReadSpaceFirmware() 113 if (rsf->crc8 == Crc8(rsf, in ReadSpaceFirmware() 124 uint32_t WriteSpaceFirmware(RollbackSpaceFirmware *rsf) in WriteSpaceFirmware() argument 131 if (rsf->struct_version < 2) in WriteSpaceFirmware() 132 rsf->struct_version = 2; in WriteSpaceFirmware() [all …]
|
D | mocked_rollback_index.c | 28 int clear_tpm_owner_request, RollbackSpaceFirmware* rsf) { in SetupTPM() argument
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 239 extern uint32_t ReadSpaceFirmware(RollbackSpaceFirmware *rsf); 240 extern uint32_t WriteSpaceFirmware(RollbackSpaceFirmware *rsf); 244 RollbackSpaceFirmware rsf; in CrcTestFirmware() local 249 TEST_EQ(ReadSpaceFirmware(&rsf), 0, "ReadSpaceFirmware(), v0"); in CrcTestFirmware() 260 TEST_EQ(ReadSpaceFirmware(&rsf), TPM_E_CORRUPTED_STATE, in CrcTestFirmware() 273 TEST_EQ(ReadSpaceFirmware(&rsf), 0, in CrcTestFirmware() 282 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware() 283 TEST_EQ(WriteSpaceFirmware(&rsf), 0, "WriteSpaceFirmware(), v0"); in CrcTestFirmware() 292 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware() 295 TEST_EQ(WriteSpaceFirmware(&rsf), 0, in CrcTestFirmware() [all …]
|
/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-arm64-linux.c | 179 struct rt_sigframe *rsf = (struct rt_sigframe *)sp; in VG_() local 183 "signal handler siginfo", (Addr)rsf, in VG_() 186 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_() 189 rsf->info._sifields._sigfault._addr in VG_() 193 (Addr)rsf, offsetof(struct rt_sigframe, sig)); in VG_() 195 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_() 197 tst->arch.vex.guest_X1 = (Addr)&rsf->info; in VG_() 198 tst->arch.vex.guest_X2 = (Addr)&rsf->sig.uc; in VG_()
|
D | sigframe-arm-linux.c | 193 struct rt_sigframe *rsf = (struct rt_sigframe *)sp; in VG_() local 197 "signal handler siginfo", (Addr)rsf, in VG_() 200 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_() 203 rsf->info._sifields._sigfault._addr = (Addr *) (tst)->arch.vex.guest_R12; /* IP */ in VG_() 206 (Addr)rsf, offsetof(struct rt_sigframe, sig)); in VG_() 208 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_() 210 tst->arch.vex.guest_R1 = (Addr)&rsf->info; in VG_() 211 tst->arch.vex.guest_R2 = (Addr)&rsf->sig.uc; in VG_()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state_validate.c | 117 struct nv30_surface *rsf = nv30_surface(fb->cbufs[0]); in nv30_validate_fb() local 121 if (!rsf) rsf = zsf; in nv30_validate_fb() 122 else if (!zsf) zsf = rsf; in nv30_validate_fb() 123 rbo = nv30_miptree(rsf->base.texture)->base.bo; in nv30_validate_fb() 130 PUSH_DATA (push, rsf->pitch); in nv30_validate_fb() 133 PUSH_DATA (push, (zsf->pitch << 16) | rsf->pitch); in nv30_validate_fb() 135 PUSH_MTHDl(push, NV30_3D(COLOR0_OFFSET), BUFCTX_FB, rbo, rsf->offset & ~63, in nv30_validate_fb()
|
/external/vboot_reference/firmware/lib/include/ |
D | rollback_index.h | 172 uint32_t OneTimeInitializeTPM(RollbackSpaceFirmware *rsf, 180 int clear_tpm_owner_request, RollbackSpaceFirmware *rsf);
|