Home
last modified time | relevance | path

Searched refs:lkp (Results 1 – 5 of 5) sorted by relevance

/external/vboot_reference/utility/
Dload_kernel_test.c29 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/
Dvboot_kernel_tests.c61 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 …]
Dvboot_api_kernel2_tests.c28 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/
Dhg_errors.c141 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 …]
/external/python/cpython2/Lib/plat-unixware7/
DIN.py455 def SLEEP_LOCKOWNED(lkp): return \ argument
457 def SLEEP_DISOWN(lkp): return \ argument