Searched refs:xcnt (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/testing/selftests/kvm/riscv/ |
H A D | arch_timer.c | 20 uint64_t xcnt, xcnt_diff_us, cmp; local 27 xcnt = timer_get_cycles(); 29 xcnt_diff_us = cycles_to_usec(xcnt - shared_data->xcnt); 34 __GUEST_ASSERT(xcnt >= cmp, 35 "xcnt = 0x%"PRIx64", cmp = 0x%"PRIx64", xcnt_diff_us = 0x%" PRIx64, 36 xcnt, cmp, xcnt_diff_us); 51 shared_data->xcnt = timer_get_cycles();
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer.c | 32 shared_data->xcnt = timer_get_cntct(VIRTUAL); 37 shared_data->xcnt = timer_get_cntct(VIRTUAL); 42 shared_data->xcnt = timer_get_cntct(PHYSICAL); 47 shared_data->xcnt = timer_get_cntct(PHYSICAL); 59 uint64_t xcnt = 0, xcnt_diff_us, cval = 0; local 88 xcnt = timer_get_cntct(accessor); 91 xcnt_diff_us = cycles_to_usec(xcnt - shared_data->xcnt); 97 __GUEST_ASSERT(xcnt >= cval, 98 "xcnt [all...] |
/linux-master/tools/testing/selftests/kvm/include/ |
H A D | timer_test.h | 35 uint64_t xcnt; member in struct:test_vcpu_shared_data
|
/linux-master/drivers/scsi/ |
H A D | initio.c | 1509 long cnt, xcnt; /* cannot use unsigned !! code: if (xcnt < 0) */ local 1558 xcnt = (long) scb->buflen - cnt; /* xcnt== bytes already xferred */ 1566 xcnt -= (long) sgp->len; 1567 if (xcnt < 0) { /* this sgp xfer half done */ 1568 xcnt += (long) sgp->len; /* xcnt == bytes xferred in this sgp */ 1569 sgp->data += (u32) xcnt; /* new ptr to be xfer */ 1570 sgp->len -= (u32) xcnt; /* ne [all...] |
Completed in 207 milliseconds