Home
last modified time | relevance | path

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

123456

/arch/arm64/kvm/
Dreset.c231 if (!test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || in kvm_vcpu_enable_ptrauth()
232 !test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) in kvm_vcpu_enable_ptrauth()
273 if (test_bit(KVM_ARM_VCPU_SVE, vcpu->arch.features)) { in kvm_reset_vcpu()
282 if (test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || in kvm_reset_vcpu()
283 test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) { in kvm_reset_vcpu()
292 if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) { in kvm_reset_vcpu()
/arch/arm/mm/
Dcache-b15-rac.c107 if (test_bit(RAC_SUSPENDED, &b15_rac_flags)) { \
114 do_flush = test_bit(RAC_ENABLED, &b15_rac_flags); \
222 if (test_bit(RAC_SUSPENDED, &b15_rac_flags)) in b15_rac_dying_cpu()
244 if (test_bit(RAC_SUSPENDED, &b15_rac_flags)) in b15_rac_dead_cpu()
/arch/arm64/include/asm/
Dcache.h69 return test_bit(ICACHEF_ALIASING, &__icache_flags); in icache_is_aliasing()
74 return test_bit(ICACHEF_VPIPT, &__icache_flags); in icache_is_vpipt()
Dsync_bitops.h24 #define sync_test_bit(nr, addr) test_bit(nr, addr)
/arch/x86/boot/compressed/
Dcpuflags.c10 return test_bit(flag, cpu.flags); in has_cpuflag()
/arch/x86/kvm/
Dkvm_cache_regs.h43 if (!test_bit(reg, (unsigned long *)&vcpu->arch.regs_avail)) in BUILD_KVM_GPR_ACCESSORS()
82 if (!test_bit(VCPU_EXREG_PDPTR, in kvm_pdptr_read()
112 if (!test_bit(VCPU_EXREG_CR3, (ulong *)&vcpu->arch.regs_avail)) in kvm_read_cr3()
/arch/x86/kernel/cpu/mce/
Dintel.c276 if (test_bit(i, owned)) in cmci_discover()
280 if (test_bit(i, mce_banks_ce_disabled)) in cmci_discover()
323 WARN_ON(!test_bit(i, this_cpu_ptr(mce_poll_banks))); in cmci_discover()
357 if (!test_bit(bank, this_cpu_ptr(mce_banks_owned))) in __cmci_disable_bank()
/arch/mips/include/asm/
Dwatch.h22 if (unlikely(test_bit(TIF_LOAD_WATCH, \
/arch/powerpc/kvm/
Dbook3s_hv_hmi.c42 while (test_bit(CORE_TB_RESYNC_REQ_BIT, in wait_for_tb_resync()
/arch/h8300/include/asm/
Dbitops.h63 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() function
86 #define __test_bit(nr, addr) test_bit(nr, addr)
/arch/xtensa/mm/
Dcache.c141 if (!test_bit(PG_arch_1, &page->flags)) in flush_dcache_page()
233 if (!PageReserved(page) && test_bit(PG_arch_1, &page->flags)) { in update_mmu_cache()
248 if (!PageReserved(page) && !test_bit(PG_arch_1, &page->flags) in update_mmu_cache()
/arch/sparc/lib/
Dbitext.c81 while (test_bit(offset + i, t->map) == 0) { in bit_map_string_get()
111 if (test_bit(offset + i, t->map) == 0) in bit_map_clear()
/arch/sh/mm/
Dcache.c65 test_bit(PG_dcache_clean, &page->flags)) { in copy_to_user_page()
84 test_bit(PG_dcache_clean, &page->flags)) { in copy_from_user_page()
103 test_bit(PG_dcache_clean, &from->flags)) { in copy_user_highpage()
159 test_bit(PG_dcache_clean, &page->flags)) { in __flush_anon_page()
Dpmb.c148 if (!test_bit(i, pmb_map)) in pmb_mapping_exists()
470 if (test_bit(i, pmb_map)) { in pmb_unmap()
537 if (!test_bit(i, pmb_map)) in pmb_notify()
705 if (!test_bit(i, pmb_map)) in pmb_coalesce()
747 if (!test_bit(i, pmb_map)) in pmb_resize()
879 if (test_bit(i, pmb_map)) { in pmb_syscore_resume()
Dkmap.c36 BUG_ON(!test_bit(PG_dcache_clean, &page->flags)); in kmap_coherent()
/arch/x86/boot/
Dbitops.h34 #define test_bit(nr,addr) \ macro
/arch/arm/include/asm/
Dsync_bitops.h23 #define sync_test_bit(nr, addr) test_bit(nr, addr)
/arch/x86/include/asm/
Dsync_bitops.h114 #define sync_test_bit(nr, addr) test_bit(nr, addr)
Dvirtext.h29 return test_bit(5, &ecx); /* CPUID.1:ECX.VMX[bit 5] -> VT */ in cpu_has_vmx()
/arch/riscv/mm/
Dcacheflush.c74 if (!test_bit(PG_dcache_clean, &page->flags)) { in flush_icache_pte()
/arch/powerpc/mm/
Dpgtable.c85 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter_hash()
120 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter()
165 if (test_bit(PG_arch_1, &pg->flags)) in set_access_flags_filter()
/arch/powerpc/platforms/pasemi/
Ddma_lib.c131 BUG_ON(test_bit(chan, txch_free)); in pasemi_free_tx_chan()
150 BUG_ON(test_bit(chan, rxch_free)); in pasemi_free_rx_chan()
396 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag()
461 BUG_ON(test_bit(fun, fun_free)); in pasemi_dma_free_fun()
/arch/powerpc/mm/nohash/
Dmmu_context.c237 int used = test_bit(id, context_map); in context_check_map()
254 if (FIRST_CONTEXT > 0 && !test_bit(0, context_map)) in context_check_map()
342 if (test_bit(id, stale_map[cpu])) { in switch_mmu_context()
/arch/riscv/include/asm/
Dcacheflush.h79 if (test_bit(PG_dcache_clean, &page->flags)) in flush_dcache_page()
/arch/arm64/mm/
Dflush.c70 if (test_bit(PG_dcache_clean, &page->flags)) in flush_dcache_page()

123456