Home
last modified time | relevance | path

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

123456

/arch/blackfin/kernel/
Dipipe.c105 if (unlikely(test_bit(IPIPE_STICKY_FLAG, &idesc->control))) in __ipipe_handle_irq()
111 if (likely(test_bit(IPIPE_WIRED_FLAG, &idesc->control))) { in __ipipe_handle_irq()
114 if (test_bit(IPIPE_SYNCDEFER_FLAG, &p->status)) in __ipipe_handle_irq()
128 if (test_bit(IPIPE_HANDLE_FLAG, &idesc->control)) { in __ipipe_handle_irq()
135 if (!test_bit(IPIPE_PASS_FLAG, &idesc->control)) in __ipipe_handle_irq()
148 if (test_bit(IPIPE_SYNCDEFER_FLAG, &p->status)) in __ipipe_handle_irq()
156 if (test_bit(IPIPE_AHEAD_FLAG, &this_domain->flags) && in __ipipe_handle_irq()
270 && !test_bit(irq - IPIPE_VIRQ_BASE, &__ipipe_virtual_irq_map))) in ipipe_trigger_irq()
306 test_bit(IPIPE_SYNCDEFER_FLAG, &ipipe_root_cpudom_var(status))) in ___ipipe_sync_pipeline()
370 x = test_bit(IPIPE_STALL_FLAG, p); in __ipipe_test_root()
/arch/mn10300/lib/
Dbitops.c19 if (test_bit(nr, addr)) in change_bit()
38 if (test_bit(nr, addr)) in test_and_change_bit()
/arch/blackfin/include/asm/
Dbitops.h76 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() function
100 #define test_bit __skip_test_bit macro
102 #undef test_bit
/arch/arm64/include/asm/
Dcachetype.h68 return test_bit(ICACHEF_ALIASING, &__icache_flags); in icache_is_aliasing()
73 return test_bit(ICACHEF_AIVIVT, &__icache_flags); in icache_is_aivivt()
Dsync_bitops.h23 #define sync_test_bit(nr, addr) test_bit(nr, addr)
/arch/x86/kvm/
Dkvm_cache_regs.h12 if (!test_bit(reg, (unsigned long *)&vcpu->arch.regs_avail)) in kvm_register_read()
41 if (!test_bit(VCPU_EXREG_PDPTR, in kvm_pdptr_read()
71 if (!test_bit(VCPU_EXREG_CR3, (ulong *)&vcpu->arch.regs_avail)) in kvm_read_cr3()
/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c219 if (test_bit(i, owned)) in cmci_discover()
223 if (test_bit(i, mce_banks_ce_disabled)) in cmci_discover()
266 WARN_ON(!test_bit(i, this_cpu_ptr(mce_poll_banks))); in cmci_discover()
299 if (!test_bit(bank, this_cpu_ptr(mce_banks_owned))) in __cmci_disable_bank()
/arch/x86/boot/compressed/
Dcpuflags.c9 return test_bit(flag, cpu.flags); in has_cpuflag()
/arch/powerpc/mm/
Dpgtable.c80 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter()
114 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter()
156 if (test_bit(PG_arch_1, &pg->flags)) in set_access_flags_filter()
Dmmu_context_nohash.c170 int used = test_bit(id, context_map); in context_check_map()
187 if (first_context > 0 && !test_bit(0, context_map)) in context_check_map()
267 if (test_bit(id, stale_map[cpu])) { in switch_mmu_context()
/arch/mips/include/asm/
Dwatch.h22 if (unlikely(test_bit(TIF_LOAD_WATCH, \
/arch/x86/boot/
Dbitops.h33 #define test_bit(nr,addr) \ macro
/arch/xtensa/mm/
Dcache.c144 if (!test_bit(PG_arch_1, &page->flags)) in flush_dcache_page()
230 if (!PageReserved(page) && test_bit(PG_arch_1, &page->flags)) { in update_mmu_cache()
243 if (!PageReserved(page) && !test_bit(PG_arch_1, &page->flags) in update_mmu_cache()
/arch/arm/include/asm/
Dsync_bitops.h22 #define sync_test_bit(nr, addr) test_bit(nr, addr)
/arch/sparc/lib/
Dbitext.c80 while (test_bit(offset + i, t->map) == 0) { in bit_map_string_get()
110 if (test_bit(offset + i, t->map) == 0) in bit_map_clear()
/arch/x86/include/asm/
Dsync_bitops.h126 #define sync_test_bit(nr, addr) test_bit(nr, addr)
Dvirtext.h31 return test_bit(5, &ecx); /* CPUID.1:ECX.VMX[bit 5] -> VT */ in cpu_has_vmx()
Dbitops.h332 static int test_bit(int nr, const volatile unsigned long *addr);
335 #define test_bit(nr, addr) \ macro
/arch/sh/mm/
Dcache.c63 test_bit(PG_dcache_clean, &page->flags)) { in copy_to_user_page()
82 test_bit(PG_dcache_clean, &page->flags)) { in copy_from_user_page()
101 test_bit(PG_dcache_clean, &from->flags)) { in copy_user_highpage()
157 test_bit(PG_dcache_clean, &page->flags)) { in __flush_anon_page()
Dkmap.c37 BUG_ON(!test_bit(PG_dcache_clean, &page->flags)); in kmap_coherent()
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()
884 if (test_bit(i, pmb_map)) { in pmb_syscore_resume()
/arch/arm64/kvm/
Dreset.c89 if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) { in kvm_reset_vcpu()
/arch/powerpc/platforms/pasemi/
Ddma_lib.c143 BUG_ON(test_bit(chan, txch_free)); in pasemi_free_tx_chan()
162 BUG_ON(test_bit(chan, rxch_free)); in pasemi_free_rx_chan()
410 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag()
475 BUG_ON(test_bit(fun, fun_free)); in pasemi_dma_free_fun()
/arch/arm64/mm/
Dflush.c89 if (test_bit(PG_dcache_clean, &page->flags)) in flush_dcache_page()
/arch/x86/kernel/cpu/
Dperfctr-watchdog.c102 return !test_bit(counter, perfctr_nmi_owner); in avail_to_resrv_perfctr_nmi_bit()

123456