| /tools/testing/selftests/kvm/x86/ |
| A D | vmx_dirty_log_test.c | 148 TEST_ASSERT(test_bit(0, bmap), "Page 0 incorrectly reported clean"); in test_vmx_dirty_log() 151 TEST_ASSERT(!test_bit(0, bmap), "Page 0 incorrectly reported dirty"); in test_vmx_dirty_log() 155 TEST_ASSERT(!test_bit(1, bmap), "Page 1 incorrectly reported dirty"); in test_vmx_dirty_log() 157 TEST_ASSERT(!test_bit(2, bmap), "Page 2 incorrectly reported dirty"); in test_vmx_dirty_log()
|
| /tools/testing/selftests/kvm/arm64/ |
| A D | vpmu_counter_access.c | 216 uint64_t pmcr_n, test_bit = BIT(pmc_idx); in test_bitmap_pmu_regs() local 220 write_sysreg(test_bit, pmcntenset_el0); in test_bitmap_pmu_regs() 221 write_sysreg(test_bit, pmintenset_el1); in test_bitmap_pmu_regs() 222 write_sysreg(test_bit, pmovsset_el0); in test_bitmap_pmu_regs() 228 write_sysreg(test_bit, pmcntenclr_el0); in test_bitmap_pmu_regs() 229 write_sysreg(test_bit, pmintenclr_el1); in test_bitmap_pmu_regs() 230 write_sysreg(test_bit, pmovsclr_el0); in test_bitmap_pmu_regs() 232 check_bitmap_pmu_regs(test_bit, set_expected); in test_bitmap_pmu_regs()
|
| A D | page_fault_test.c | 461 first_page_dirty = test_bit(host_pg_nr, bmap); in check_write_in_dirty_log()
|
| /tools/testing/selftests/kvm/include/s390/ |
| A D | facility.h | 24 return test_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_bit_inv()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | uprobe_multi_test.c | 827 static bool test_bit(int bit, unsigned long val) in test_bit() function 841 if (test_bit(idx, before) && !test_bit(idx, after)) in uprobe_consumer_test() 847 if (!test_bit(idx, before) && test_bit(idx, after)) { in uprobe_consumer_test() 892 if (test_bit(idx, before)) { in consumer_test() 913 if (test_bit(idx, before)) in consumer_test() 926 if ((uret_stays || uret_survives) && test_bit(idx, after)) in consumer_test() 936 if (test_bit(idx, before)) { in consumer_test() 938 if (test_bit(idx, after)) in consumer_test() 948 if (test_bit(idx, before)) in consumer_test()
|
| /tools/include/linux/ |
| A D | bitops.h | 44 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) macro
|
| /tools/perf/bench/ |
| A D | find-bit-bench.c | 52 #define asm_test_bit test_bit
|
| /tools/perf/util/ |
| A D | mem2node.c | 74 if (!test_bit(bit, n->set)) in mem2node__init()
|
| A D | hwmon_pmu.c | 329 if (!test_bit(HWMON_ITEM_INPUT, value->items)) { in hwmon_pmu__read_events()
|
| A D | svghelper.c | 707 if (!test_bit(cpu, cpumask_bits(&t->sib_thr[i]))) in scan_thread_topology()
|
| A D | event.c | 795 if (test_bit(al->parallelism, symbol_conf.parallelism_filter)) in machine__resolve()
|
| A D | header.c | 99 return test_bit(feat, header->adds_features); in perf_header__has_feat() 4057 if (!test_bit(HEADER_HOSTNAME, header->adds_features)) { in perf_file_header__read() 4067 if (!test_bit(HEADER_HOSTNAME, header->adds_features)) { in perf_file_header__read()
|
| A D | pmu.c | 1417 if (!test_bit(fbit, format)) in pmu_format_value()
|
| /tools/testing/selftests/kvm/ |
| A D | arch_timer.c | 125 vcpu_done = test_bit(i, vcpu_done_map); in test_vcpu_migration()
|
| A D | dirty_log_test.c | 50 test_bit((nr) ^ BITOP_LE_SWIZZLE, addr) 60 # define test_bit_le test_bit
|
| /tools/testing/radix-tree/ |
| A D | test.c | 233 !!test_bit(i, slot->tags[tag]))) { in verify_node()
|
| A D | idr-test.c | 488 if (test_bit(bit, bitmap)) { in ida_check_random()
|
| /tools/testing/selftests/iommu/ |
| A D | iommufd_utils.h | 42 static inline bool test_bit(unsigned int nr, unsigned long *addr) in test_bit() function 477 test_bit(i + j, (unsigned long *)bitmap)); in _test_mock_dirty_bitmaps() 479 ASSERT_EQ(!(i % pteset), test_bit(i, (unsigned long *)bitmap)); in _test_mock_dirty_bitmaps() 493 test_bit(i + j, (unsigned long *)bitmap)); in _test_mock_dirty_bitmaps()
|
| /tools/perf/ |
| A D | builtin-annotate.c | 302 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
|
| A D | builtin-sched.c | 2182 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) in timehist_print_sample() 2581 if (prio != -1 && !test_bit(prio, sched->prio_bitmap)) { in timehist_skip_sample() 2864 if (!cpu_list || test_bit(sample->cpu, cpu_bitmap)) in timehist_sched_change_event() 3122 if (cpu_list && !test_bit(i, cpu_bitmap)) in timehist_print_summary()
|
| A D | builtin-kwork.c | 427 if ((kwork->cpu_list != NULL) && !test_bit(cpu, kwork->cpu_bitmap)) in profile_event_match() 1575 if (test_bit(i, stat->all_cpus_bitmap) && total) { in top_print_per_cpu_load()
|
| A D | builtin-report.c | 306 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event()
|
| A D | builtin-diff.c | 421 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) { in diff__process_sample_event()
|
| /tools/testing/vma/ |
| A D | vma_internal.h | 1358 if (!test_bit(MMF_HAS_MDWE, ¤t->mm->flags)) in map_deny_write_exec()
|
| /tools/testing/nvdimm/test/ |
| A D | nfit.c | 1490 if (!test_bit(cmd, &cmd_mask) in nfit_test_ctl() 1491 || !test_bit(func, &nfit_mem->dsm_mask)) in nfit_test_ctl() 1568 if (!nd_desc || !test_bit(cmd, &nd_desc->cmd_mask)) in nfit_test_ctl()
|