Searched refs:nr_bytes (Results 1 – 7 of 7) sorted by relevance
| /tools/testing/selftests/kvm/x86/ |
| A D | nx_huge_pages_test.c | 110 uint64_t nr_bytes; in run_test() local 133 nr_bytes = HPAGE_SLOT_NPAGES * vm->page_size; in run_test() 145 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_4K); in run_test() 147 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_2M); in run_test() 150 memset(hva, RETURN_OPCODE, nr_bytes); in run_test()
|
| A D | private_mem_conversions_test.c | 349 size_t nr_bytes = min_t(size_t, vm->page_size, size - i); in __test_mem_conversions() local 353 memcmp_h(hva, gpa + i, uc.args[3], nr_bytes); in __test_mem_conversions() 357 memset(hva, uc.args[4], nr_bytes); in __test_mem_conversions()
|
| /tools/testing/selftests/kvm/ |
| A D | mmu_stress_test.c | 209 uint64_t gpa, nr_bytes; in spawn_workers() local 219 nr_bytes = ((end_gpa - start_gpa) / nr_vcpus) & in spawn_workers() 221 TEST_ASSERT(nr_bytes, "C'mon, no way you have %d CPUs", nr_vcpus); in spawn_workers() 223 for (i = 0, gpa = start_gpa; i < nr_vcpus; i++, gpa += nr_bytes) { in spawn_workers() 226 info[i].end_gpa = gpa + nr_bytes; in spawn_workers()
|
| /tools/lib/bpf/ |
| A D | btf_dump.c | 1839 int nr_bytes; in btf_dump_base_type_check_zero() local 1845 nr_bytes = d->ptr_sz; in btf_dump_base_type_check_zero() 1847 nr_bytes = t->size; in btf_dump_base_type_check_zero() 1849 if (nr_bytes < 1 || nr_bytes > 16) { in btf_dump_base_type_check_zero() 1850 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero() 1854 if (memcmp(data, bytecmp, nr_bytes) == 0) in btf_dump_base_type_check_zero() 2326 __u8 nr_bytes = (bits_offset + bit_sz + 7) / 8; in btf_dump_type_data_check_overflow() local 2334 return data + nr_bytes > d->typed_dump->data_end ? -E2BIG : nr_bytes; in btf_dump_type_data_check_overflow()
|
| /tools/testing/selftests/kvm/lib/x86/ |
| A D | processor.c | 246 uint64_t nr_bytes, int level) in virt_map_level() argument 249 uint64_t nr_pages = nr_bytes / pg_size; in virt_map_level() 252 TEST_ASSERT(nr_bytes % pg_size == 0, in virt_map_level() 254 nr_bytes, pg_size); in virt_map_level()
|
| /tools/testing/selftests/kvm/include/x86/ |
| A D | processor.h | 1418 uint64_t nr_bytes, int level);
|
| /tools/perf/ |
| A D | builtin-script.c | 1809 unsigned int nr_bytes = sample->raw_size; in perf_sample__fprintf_bpf_output() local 1811 int printed = binary__fprintf(sample->raw_data, nr_bytes, 8, in perf_sample__fprintf_bpf_output()
|
Completed in 25 milliseconds