Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/kvm/lib/
Dkvm_util.c548 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() local
557 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
558 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva()
561 assert((ptr2 >> vm->page_shift) == ((ptr2 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva()
568 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
/tools/perf/util/
Dprobe-event.c195 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
209 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
210 if (!isalnum(*ptr2) && *ptr2 != '_') { in convert_exec_to_group()
211 *ptr2 = '\0'; in convert_exec_to_group()