| .. | |||||
| __ffs.h | |||||
| __fls.h | |||||
| arch_hweight.h | |||||
| atomic.h | |||||
| builtin-__ffs.h | |||||
| builtin-__fls.h | |||||
| builtin-ffs.h | |||||
| builtin-fls.h | |||||
| const_hweight.h | |||||
| count_zeros.h | |||||
| ext2-atomic-setbit.h | |||||
| ext2-atomic.h | |||||
| ffs.h | |||||
| ffz.h | |||||
| find.h | |||||
| fls.h | |||||
| fls64.h | |||||
| hweight.h | |||||
| le.h | |||||
| lock.h | |||||
| non-atomic.h | |||||
| sched.h |
| Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/asm-generic/bitops/ |
Upload File : |
#ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_
#define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_
/*
* Spinlock based version of ext2 atomic bitops
*/
#define ext2_set_bit_atomic(lock, nr, addr) \
({ \
int ret; \
spin_lock(lock); \
ret = __test_and_set_bit_le(nr, addr); \
spin_unlock(lock); \
ret; \
})
#define ext2_clear_bit_atomic(lock, nr, addr) \
({ \
int ret; \
spin_lock(lock); \
ret = __test_and_clear_bit_le(nr, addr); \
spin_unlock(lock); \
ret; \
})
#endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_ */
| .. | |||||
| __ffs.h | |||||
| __fls.h | |||||
| arch_hweight.h | |||||
| atomic.h | |||||
| builtin-__ffs.h | |||||
| builtin-__fls.h | |||||
| builtin-ffs.h | |||||
| builtin-fls.h | |||||
| const_hweight.h | |||||
| count_zeros.h | |||||
| ext2-atomic-setbit.h | |||||
| ext2-atomic.h | |||||
| ffs.h | |||||
| ffz.h | |||||
| find.h | |||||
| fls.h | |||||
| fls64.h | |||||
| hweight.h | |||||
| le.h | |||||
| lock.h | |||||
| non-atomic.h | |||||
| sched.h |