Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 30) sorted by relevance

12

/tools/testing/selftests/kvm/x86/
A Dvmx_dirty_log_test.c148 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 Dvpmu_counter_access.c216 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 Dpage_fault_test.c461 first_page_dirty = test_bit(host_pg_nr, bmap); in check_write_in_dirty_log()
/tools/testing/selftests/kvm/include/s390/
A Dfacility.h24 return test_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_bit_inv()
/tools/testing/selftests/bpf/prog_tests/
A Duprobe_multi_test.c827 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 Dbitops.h44 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) macro
/tools/perf/bench/
A Dfind-bit-bench.c52 #define asm_test_bit test_bit
/tools/perf/util/
A Dmem2node.c74 if (!test_bit(bit, n->set)) in mem2node__init()
A Dhwmon_pmu.c329 if (!test_bit(HWMON_ITEM_INPUT, value->items)) { in hwmon_pmu__read_events()
A Dsvghelper.c707 if (!test_bit(cpu, cpumask_bits(&t->sib_thr[i]))) in scan_thread_topology()
A Devent.c795 if (test_bit(al->parallelism, symbol_conf.parallelism_filter)) in machine__resolve()
A Dheader.c99 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 Dpmu.c1417 if (!test_bit(fbit, format)) in pmu_format_value()
/tools/testing/selftests/kvm/
A Darch_timer.c125 vcpu_done = test_bit(i, vcpu_done_map); in test_vcpu_migration()
A Ddirty_log_test.c50 test_bit((nr) ^ BITOP_LE_SWIZZLE, addr)
60 # define test_bit_le test_bit
/tools/testing/radix-tree/
A Dtest.c233 !!test_bit(i, slot->tags[tag]))) { in verify_node()
A Didr-test.c488 if (test_bit(bit, bitmap)) { in ida_check_random()
/tools/testing/selftests/iommu/
A Diommufd_utils.h42 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 Dbuiltin-annotate.c302 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
A Dbuiltin-sched.c2182 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 Dbuiltin-kwork.c427 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 Dbuiltin-report.c306 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event()
A Dbuiltin-diff.c421 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) { in diff__process_sample_event()
/tools/testing/vma/
A Dvma_internal.h1358 if (!test_bit(MMF_HAS_MDWE, &current->mm->flags)) in map_deny_write_exec()
/tools/testing/nvdimm/test/
A Dnfit.c1490 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()

Completed in 74 milliseconds

12