Home
last modified time | relevance | path

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

12

/arch/hexagon/include/asm/
A 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()
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 Dposted_intr.h100 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 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/m68k/include/asm/
A Dbitops.h254 #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 Dsync_bitops.h22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
/arch/sparc/include/asm/
A Dbitops_64.h20 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
A Dbitops_32.h52 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 Ddma_lib.c125 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 Dbitops.h195 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
/arch/openrisc/include/asm/bitops/
A Datomic.h83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/sh/include/asm/
A Dbitops-grb.h106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
A Dbitops-llsc.h93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
A Dbitops-cas.h64 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
/arch/parisc/include/asm/
A Dbitops.h72 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
/arch/s390/include/asm/
A Dbitops.h106 return test_and_clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); in test_and_clear_bit_inv()
A Dprocessor.h86 return test_and_clear_bit(flag, &this_pcpu()->flags); in test_and_clear_cpu_flag()
/arch/x86/mm/
A Dpgtable.c452 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 Dpgtable.c40 return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep)); in ptep_test_and_clear_young()
/arch/powerpc/platforms/cell/spufs/
A Dcontext.c169 if (test_and_clear_bit(SPU_SCHED_WAS_ACTIVE, &ctx->sched_flags) && in spu_release_saved()
A Drun.c388 if (unlikely(test_and_clear_bit(SPU_SCHED_NOTIFY_ACTIVE, in spufs_run_spu()
/arch/mips/include/asm/
A Dbitops.h223 static inline int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
/arch/alpha/include/asm/
A Dbitops.h201 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() function
/arch/um/drivers/
A Dvirtio_pcidev.c81 WARN_ON(!test_and_clear_bit(i, dev->used_bufs)); in virtio_pcidev_free_buf()
/arch/x86/events/intel/
A Duncore.h548 if (test_and_clear_bit(UNCORE_BOX_FLAG_INITIATED, &box->flags)) { in uncore_box_exit()
/arch/powerpc/kvm/
A Dbook3s_hv_rm_xics.c231 if (!test_and_clear_bit(icsid, icp->resend_map)) in icp_rm_check_resend()

Completed in 42 milliseconds

12