Home
last modified time | relevance | path

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

12

/arch/mn10300/lib/
Dbitops.c28 if (test_and_clear_bit(nr, addr)) in change_bit()
47 if (test_and_clear_bit(nr, addr)) in test_and_change_bit()
/arch/cris/include/asm/
Dbitops.h50 #define clear_bit(nr, addr) (void)test_and_clear_bit(nr, addr)
103 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
160 #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a)
/arch/sparc/lib/
Dbitops.S34 .globl test_and_clear_bit symbol
35 .type test_and_clear_bit,#function
36 test_and_clear_bit: /* %o0=nr, %o1=addr */ label
55 .size test_and_clear_bit, .-test_and_clear_bit
/arch/sparc/include/asm/
Dbitops_64.h18 extern int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
96 test_and_clear_bit((nr) ^ 0x38,(unsigned long *)(addr))
Dbitops_32.h51 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/xtensa/include/asm/
Dbitops.h115 test_and_clear_bit((nr), (unsigned long*)(addr))
120 test_and_clear_bit((nr) ^ 0x18, (unsigned long*)(addr))
/arch/arm/include/asm/
Dbitops.h208 #define test_and_clear_bit(nr,p) ATOMIC_BITOP_LE(test_and_clear_bit,nr,p) macro
226 #define test_and_clear_bit(nr,p) ATOMIC_BITOP_BE(test_and_clear_bit,nr,p) macro
317 test_and_clear_bit(WORD_BITOFF_TO_LE(nr), (unsigned long *)(p))
/arch/parisc/include/asm/
Dbitops.h82 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
233 test_and_clear_bit( (nr) ^ LE_BYTE_ADDR, (unsigned long *)addr)
/arch/ia64/include/asm/
Dsync_bitops.h35 return test_and_clear_bit(nr, addr); in sync_test_and_clear_bit()
Dbitops.h259 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit() function
461 #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a)
/arch/x86/include/asm/
Dbitops.h246 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
460 test_and_clear_bit((nr), (unsigned long *)(addr))
/arch/arm/mm/
Dcopypage-v4mc.c76 if (test_and_clear_bit(PG_dcache_dirty, &from->flags)) in v4_mc_copy_user_highpage()
Dcopypage-xscale.c98 if (test_and_clear_bit(PG_dcache_dirty, &from->flags)) in xscale_mc_copy_user_highpage()
Dcopypage-v6.c81 if (test_and_clear_bit(PG_dcache_dirty, &from->flags)) in v6_copy_user_highpage_aliasing()
/arch/powerpc/platforms/pasemi/
Ddma_lib.c134 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan()
153 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan()
394 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag()
459 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
/arch/powerpc/platforms/iseries/
Dsmp.c58 if (test_and_clear_bit(msg, &iSeries_smp_message[cpu])) in iSeries_smp_message_recv()
/arch/blackfin/include/asm/
Dbitops.h70 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
138 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
/arch/sh/include/asm/
Dbitops-grb.h105 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
Dbitops-llsc.h92 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
/arch/m68k/include/asm/
Dbitops_no.h130 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
149 #define __test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr)
Dbitops_mm.h72 #define test_and_clear_bit(nr,vaddr) \ macro
77 #define __test_and_clear_bit(nr,vaddr) test_and_clear_bit(nr,vaddr)
367 #define ext2_clear_bit_atomic(lock, nr, addr) test_and_clear_bit((nr) ^ 24, (unsigned long *)(addr))
/arch/alpha/include/asm/
Dbitops.h203 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() function
460 #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a)
/arch/powerpc/platforms/pseries/
Dxics.c503 if (test_and_clear_bit(PPC_MSG_CALL_FUNCTION, in xics_ipi_dispatch()
507 if (test_and_clear_bit(PPC_MSG_RESCHEDULE, in xics_ipi_dispatch()
511 if (test_and_clear_bit(PPC_MSG_CALL_FUNC_SINGLE, in xics_ipi_dispatch()
516 if (test_and_clear_bit(PPC_MSG_DEBUGGER_BREAK, in xics_ipi_dispatch()
/arch/powerpc/include/asm/
Dbitops.h171 static __inline__ int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
358 test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
/arch/x86/mach-voyager/
Dvoyager_smp.c1046 if (test_and_clear_bit(VIC_TIMER_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()
1048 if (test_and_clear_bit(VIC_INVALIDATE_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()
1050 if (test_and_clear_bit(VIC_RESCHEDULE_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()
1052 if (test_and_clear_bit(VIC_ENABLE_IRQ_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()
1054 if (test_and_clear_bit(VIC_CALL_FUNCTION_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()
1056 if (test_and_clear_bit(VIC_CALL_FUNCTION_SINGLE_CPI, &vic_cpi_mailbox[cpu])) in smp_vic_cpi_interrupt()

12