Searched refs:lkp (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 29 static LoadKernelParams lkp; variable 40 if (lba_start >= lkp.streaming_lba_count || in VbExDiskRead() 41 lba_start + lba_count > lkp.streaming_lba_count) { in VbExDiskRead() 43 lba_start, lba_count, lkp.streaming_lba_count); in VbExDiskRead() 47 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskRead() 48 if (1 != fread(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskRead() 60 if (lba_start >= lkp.streaming_lba_count || in VbExDiskWrite() 61 lba_start + lba_count > lkp.streaming_lba_count) { in VbExDiskWrite() 63 lba_start, lba_count, lkp.streaming_lba_count); in VbExDiskWrite() 70 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskWrite() [all …]
|
/external/vboot_reference/tests/ |
D | vboot_kernel_tests.c | 61 static LoadKernelParams lkp; variable 150 memset(&lkp, 0, sizeof(lkp)); in ResetMocks() 151 lkp.nv_context = &vnc; in ResetMocks() 152 lkp.shared_data_blob = shared; in ResetMocks() 153 lkp.gbb_data = gbb; in ResetMocks() 154 lkp.gbb_size = sizeof(gbb_data); in ResetMocks() 155 lkp.bytes_per_lba = 512; in ResetMocks() 156 lkp.streaming_lba_count = 1024; in ResetMocks() 157 lkp.gpt_lba_count = 1024; in ResetMocks() 158 lkp.kernel_buffer = kernel_buffer; in ResetMocks() [all …]
|
D | vboot_api_kernel2_tests.c | 28 static LoadKernelParams lkp; variable 75 Memset(&lkp, 0, sizeof(lkp)); in ResetMocks() 268 TEST_EQ(VbBootNormal(&cparams, &lkp), 1002, "VbBootNormal()"); in VbBootTest() 281 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Timeout"); in VbBootDevTest() 292 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Timeout"); in VbBootDevTest() 298 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Up arrow"); in VbBootDevTest() 303 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootDevTest() 310 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_LOAD_KERNEL_RECOVERY, in VbBootDevTest() 320 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_TPM_REBOOT_REQUIRED, in VbBootDevTest() 337 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Space-space"); in VbBootDevTest() [all …]
|
/external/valgrind/helgrind/ |
D | hg_errors.c | 141 Lock* lkp = NULL; in mk_LockP_from_LockN() local 169 if (!VG_(lookupFM)( map_LockN_to_P, NULL, (UWord*)&lkp, (UWord)lkn)) { in mk_LockP_from_LockN() 170 lkp = HG_(zalloc)( "hg.mLPfLN.2", sizeof(Lock) ); in mk_LockP_from_LockN() 171 *lkp = *lkn; in mk_LockP_from_LockN() 172 lkp->admin_next = NULL; in mk_LockP_from_LockN() 173 lkp->admin_prev = NULL; in mk_LockP_from_LockN() 174 lkp->magic = LockP_MAGIC; in mk_LockP_from_LockN() 178 lkp->heldW = False; in mk_LockP_from_LockN() 179 lkp->heldBy = NULL; in mk_LockP_from_LockN() 180 lkp->acquired_at = NULL; in mk_LockP_from_LockN() [all …]
|