Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 128) 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.h85 return test_bit(ICACHEF_ALIASING, &__icache_flags); in icache_is_aliasing()
90 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/boot/compressed/
Dcpuflags.c9 return test_bit(flag, cpu.flags); in has_cpuflag()
/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c273 if (test_bit(i, owned)) in cmci_discover()
277 if (test_bit(i, mce_banks_ce_disabled)) in cmci_discover()
320 WARN_ON(!test_bit(i, this_cpu_ptr(mce_poll_banks))); in cmci_discover()
354 if (!test_bit(bank, this_cpu_ptr(mce_banks_owned))) in __cmci_disable_bank()
/arch/powerpc/mm/
Dpgtable.c94 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter()
128 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter()
170 if (test_bit(PG_arch_1, &pg->flags)) in set_access_flags_filter()
Dmmu_context_nohash.c205 int used = test_bit(id, context_map); in context_check_map()
222 if (first_context > 0 && !test_bit(0, context_map)) in context_check_map()
306 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/powerpc/kvm/
Dbook3s_hv_hmi.c53 while (test_bit(CORE_TB_RESYNC_REQ_BIT, in wait_for_tb_resync()
/arch/h8300/include/asm/
Dbitops.h68 static inline int test_bit(int nr, const unsigned long *addr) in test_bit() function
91 #define __test_bit(nr, addr) test_bit(nr, addr)
/arch/xtensa/mm/
Dcache.c142 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/x86/boot/
Dbitops.h35 #define test_bit(nr,addr) \ macro
/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/arm/include/asm/
Dsync_bitops.h22 #define sync_test_bit(nr, addr) test_bit(nr, addr)
/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 bool test_bit(int nr, const volatile unsigned long *addr);
335 #define test_bit(nr, addr) \ macro
/arch/sh/mm/
Dcache.c66 test_bit(PG_dcache_clean, &page->flags)) { in copy_to_user_page()
85 test_bit(PG_dcache_clean, &page->flags)) { in copy_from_user_page()
104 test_bit(PG_dcache_clean, &from->flags)) { in copy_user_highpage()
160 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/s390/include/asm/
Dbitops.h264 static inline int test_bit(unsigned long nr, const volatile unsigned long *ptr) in test_bit() function
276 if (test_bit(nr, ptr)) in test_and_set_bit_lock()
327 return test_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_bit_inv()
/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()

123456