| /arch/hexagon/include/asm/ |
| A D | bitops.h | 31 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() 133 test_and_clear_bit(nr, addr); in arch___clear_bit() 152 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
|
| /arch/x86/include/asm/ |
| A D | posted_intr.h | 100 return test_and_clear_bit(POSTED_INTR_ON, (unsigned long *)&pi_desc->control); in pi_test_and_clear_on() 105 return test_and_clear_bit(POSTED_INTR_SN, (unsigned long *)&pi_desc->control); in pi_test_and_clear_sn()
|
| /arch/sparc/lib/ |
| A D | bitops.S | 36 ENTRY(test_and_clear_bit) /* %o0=nr, %o1=addr */ 55 ENDPROC(test_and_clear_bit) 56 EXPORT_SYMBOL(test_and_clear_bit)
|
| /arch/m68k/include/asm/ |
| A D | bitops.h | 254 #define test_and_clear_bit(nr, vaddr) bclr_reg_test_and_clear_bit(nr, vaddr) macro 256 #define test_and_clear_bit(nr, vaddr) bclr_mem_test_and_clear_bit(nr, vaddr) macro 258 #define test_and_clear_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 266 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
|
| /arch/arm64/include/asm/ |
| A D | sync_bitops.h | 22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
|
| /arch/sparc/include/asm/ |
| A D | bitops_64.h | 20 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
|
| A D | bitops_32.h | 52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
| /arch/powerpc/platforms/pasemi/ |
| A D | dma_lib.c | 125 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan() 144 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan() 383 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag() 448 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
|
| /arch/arm/include/asm/ |
| A D | bitops.h | 195 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
|
| /arch/openrisc/include/asm/bitops/ |
| A D | atomic.h | 83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
| /arch/sh/include/asm/ |
| A D | bitops-grb.h | 106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
|
| A D | bitops-llsc.h | 93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
|
| A D | bitops-cas.h | 64 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
|
| /arch/parisc/include/asm/ |
| A D | bitops.h | 72 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
|
| /arch/s390/include/asm/ |
| A D | bitops.h | 106 return test_and_clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_and_clear_bit_inv()
|
| A D | processor.h | 86 return test_and_clear_bit(flag, &this_pcpu()->flags); in test_and_clear_cpu_flag()
|
| /arch/x86/mm/ |
| A D | pgtable.c | 452 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in ptep_test_and_clear_young() 465 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in pmdp_test_and_clear_young() 479 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in pudp_test_and_clear_young()
|
| /arch/riscv/mm/ |
| A D | pgtable.c | 40 return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep)); in ptep_test_and_clear_young()
|
| /arch/powerpc/platforms/cell/spufs/ |
| A D | context.c | 169 if (test_and_clear_bit(SPU_SCHED_WAS_ACTIVE, &ctx->sched_flags) && in spu_release_saved()
|
| A D | run.c | 388 if (unlikely(test_and_clear_bit(SPU_SCHED_NOTIFY_ACTIVE, in spufs_run_spu()
|
| /arch/mips/include/asm/ |
| A D | bitops.h | 223 static inline int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
|
| /arch/alpha/include/asm/ |
| A D | bitops.h | 201 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() function
|
| /arch/um/drivers/ |
| A D | virtio_pcidev.c | 81 WARN_ON(!test_and_clear_bit(i, dev->used_bufs)); in virtio_pcidev_free_buf()
|
| /arch/x86/events/intel/ |
| A D | uncore.h | 548 if (test_and_clear_bit(UNCORE_BOX_FLAG_INITIATED, &box->flags)) { in uncore_box_exit()
|
| /arch/powerpc/kvm/ |
| A D | book3s_hv_rm_xics.c | 231 if (!test_and_clear_bit(icsid, icp->resend_map)) in icp_rm_check_resend()
|