Home
last modified time | relevance | path

Searched refs:test_and_clear_bit (Results 1 – 25 of 37) sorted by relevance

12

/arch/hexagon/include/asm/
Dbitops.h31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
108 test_and_clear_bit(nr, addr); in clear_bit()
132 test_and_clear_bit(nr, addr); in __clear_bit()
148 return test_and_clear_bit(nr, addr); in __test_and_clear_bit()
/arch/sparc/lib/
Dbitops.S36 ENTRY(test_and_clear_bit) /* %o0=nr, %o1=addr */
55 ENDPROC(test_and_clear_bit)
56 EXPORT_SYMBOL(test_and_clear_bit)
/arch/arm64/include/asm/
Dsync_bitops.h22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
/arch/sparc/include/asm/
Dbitops_64.h20 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
Dbitops_32.h52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/m68k/include/asm/
Dbitops.h245 #define test_and_clear_bit(nr, vaddr) bclr_reg_test_and_clear_bit(nr, vaddr) macro
247 #define test_and_clear_bit(nr, vaddr) bclr_mem_test_and_clear_bit(nr, vaddr) macro
249 #define test_and_clear_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro
254 #define __test_and_clear_bit(nr, vaddr) test_and_clear_bit(nr, vaddr)
/arch/powerpc/platforms/pasemi/
Ddma_lib.c123 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan()
142 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan()
381 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag()
446 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
/arch/arm/include/asm/
Dbitops.h193 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
/arch/sh/include/asm/
Dbitops-llsc.h93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
Dbitops-grb.h106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
Dbitops-cas.h64 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
/arch/openrisc/include/asm/bitops/
Datomic.h83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/x86/kvm/vmx/
Dposted_intr.h39 return test_and_clear_bit(POSTED_INTR_ON, in pi_test_and_clear_on()
/arch/riscv/include/asm/
Dbitops.h84 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/parisc/include/asm/
Dbitops.h72 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
/arch/h8300/include/asm/
Dbitops.h151 H8300_GEN_TEST_BITOP(test_and_clear_bit, "bclr")
/arch/x86/mm/
Dpgtable.c547 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in ptep_test_and_clear_young()
560 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in pmdp_test_and_clear_young()
574 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in pudp_test_and_clear_young()
/arch/powerpc/platforms/cell/spufs/
Dcontext.c169 if (test_and_clear_bit(SPU_SCHED_WAS_ACTIVE, &ctx->sched_flags) && in spu_release_saved()
Drun.c388 if (unlikely(test_and_clear_bit(SPU_SCHED_NOTIFY_ACTIVE, in spufs_run_spu()
/arch/mips/include/asm/
Dbitops.h224 static inline int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
/arch/alpha/include/asm/
Dbitops.h201 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() function
/arch/s390/include/asm/
Dbitops.h240 return test_and_clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_and_clear_bit_inv()
/arch/ia64/include/asm/
Dbitops.h255 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit() function
/arch/nds32/mm/
Dcacheflush.c67 if ((test_and_clear_bit(PG_dcache_dirty, &page->flags)) || in update_mmu_cache()
/arch/x86/events/amd/
Dibs.c518 if (!test_and_clear_bit(IBS_ENABLED, pcpu->state)) in perf_ibs_del()
615 if (test_and_clear_bit(IBS_STOPPED, pcpu->state)) in perf_ibs_handle_irq()

12