/arch/x86/include/asm/ |
D | bitops.h | 40 #define IS_IMMEDIATE(nr) (__builtin_constant_p(nr)) argument 41 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3)) argument 42 #define CONST_MASK(nr) (1 << ((nr) & 7)) argument 60 set_bit(unsigned int nr, volatile unsigned long *addr) in set_bit() 82 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 98 clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 119 static inline void clear_bit_unlock(unsigned nr, volatile unsigned long *addr) in clear_bit_unlock() 125 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 142 static inline void __clear_bit_unlock(unsigned nr, volatile unsigned long *addr) in __clear_bit_unlock() 160 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() [all …]
|
D | sync_bitops.h | 29 static inline void sync_set_bit(int nr, volatile unsigned long *addr) in sync_set_bit() 47 static inline void sync_clear_bit(int nr, volatile unsigned long *addr) in sync_clear_bit() 64 static inline void sync_change_bit(int nr, volatile unsigned long *addr) in sync_change_bit() 80 static inline int sync_test_and_set_bit(int nr, volatile unsigned long *addr) in sync_test_and_set_bit() 98 static inline int sync_test_and_clear_bit(int nr, volatile unsigned long *addr) in sync_test_and_clear_bit() 116 static inline int sync_test_and_change_bit(int nr, volatile unsigned long *addr) in sync_test_and_change_bit() 126 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
|
/arch/m68k/include/asm/ |
D | bitops_no.h | 52 static __inline__ void set_bit(int nr, volatile unsigned long * addr) in set_bit() 67 #define __set_bit(nr, addr) set_bit(nr, addr) argument 75 static __inline__ void clear_bit(int nr, volatile unsigned long * addr) in clear_bit() 90 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument 92 static __inline__ void change_bit(int nr, volatile unsigned long * addr) in change_bit() 107 #define __change_bit(nr, addr) change_bit(nr, addr) argument 109 static __inline__ int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit() 128 #define __test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument 130 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() 149 #define __test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument [all …]
|
D | bitops_mm.h | 23 #define test_and_set_bit(nr,vaddr) \ argument 28 #define __test_and_set_bit(nr,vaddr) test_and_set_bit(nr,vaddr) argument 30 static inline int __constant_test_and_set_bit(int nr, unsigned long *vaddr) in __constant_test_and_set_bit() 42 static inline int __generic_test_and_set_bit(int nr, unsigned long *vaddr) in __generic_test_and_set_bit() 52 #define set_bit(nr,vaddr) \ argument 57 #define __set_bit(nr,vaddr) set_bit(nr,vaddr) argument 59 static inline void __constant_set_bit(int nr, volatile unsigned long *vaddr) in __constant_set_bit() 66 static inline void __generic_set_bit(int nr, volatile unsigned long *vaddr) in __generic_set_bit() 72 #define test_and_clear_bit(nr,vaddr) \ argument 77 #define __test_and_clear_bit(nr,vaddr) test_and_clear_bit(nr,vaddr) argument [all …]
|
/arch/sh/include/asm/ |
D | bitops-op32.h | 11 #define BYTE_NUMBER(nr) ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE) argument 12 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) argument 14 #define BYTE_NUMBER(nr) ((nr) / BITS_PER_BYTE) argument 15 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) argument 18 #define IS_IMMEDIATE(nr) (__builtin_constant_p(nr)) argument 20 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 37 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 64 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 91 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 110 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() [all …]
|
D | bitops-llsc.h | 4 static inline void set_bit(int nr, volatile void * addr) in set_bit() 25 static inline void clear_bit(int nr, volatile void * addr) in clear_bit() 46 static inline void change_bit(int nr, volatile void * addr) in change_bit() 67 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 92 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 118 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
|
D | bitops-grb.h | 4 static inline void set_bit(int nr, volatile void * addr) in set_bit() 28 static inline void clear_bit(int nr, volatile void * addr) in clear_bit() 51 static inline void change_bit(int nr, volatile void * addr) in change_bit() 74 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 105 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 139 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
|
/arch/blackfin/include/asm/ |
D | bitops.h | 40 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 46 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 52 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 58 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() 64 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 70 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 76 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit() 86 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 98 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 110 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() [all …]
|
/arch/s390/include/asm/ |
D | ebcdic.h | 25 codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr) in codepage_convert() 41 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument 42 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument 43 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument 44 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument 45 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument 46 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
|
D | kvm_para.h | 31 static inline long kvm_hypercall0(unsigned long nr) in kvm_hypercall0() 41 static inline long kvm_hypercall1(unsigned long nr, unsigned long p1) in kvm_hypercall1() 52 static inline long kvm_hypercall2(unsigned long nr, unsigned long p1, in kvm_hypercall2() 66 static inline long kvm_hypercall3(unsigned long nr, unsigned long p1, in kvm_hypercall3() 82 static inline long kvm_hypercall4(unsigned long nr, unsigned long p1, in kvm_hypercall4() 99 static inline long kvm_hypercall5(unsigned long nr, unsigned long p1, in kvm_hypercall5() 117 static inline long kvm_hypercall6(unsigned long nr, unsigned long p1, in kvm_hypercall6()
|
D | bitops.h | 152 static inline void set_bit_cs(unsigned long nr, volatile unsigned long *ptr) in set_bit_cs() 168 static inline void clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) in clear_bit_cs() 184 static inline void change_bit_cs(unsigned long nr, volatile unsigned long *ptr) in change_bit_cs() 201 test_and_set_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_set_bit_cs() 220 test_and_clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_clear_bit_cs() 239 test_and_change_bit_cs(unsigned long nr, volatile unsigned long *ptr) in test_and_change_bit_cs() 258 static inline void __set_bit(unsigned long nr, volatile unsigned long *ptr) in __set_bit() 270 __constant_set_bit(const unsigned long nr, volatile unsigned long *ptr) in __constant_set_bit() 278 #define set_bit_simple(nr,addr) \ argument 287 __clear_bit(unsigned long nr, volatile unsigned long *ptr) in __clear_bit() [all …]
|
/arch/powerpc/include/asm/ |
D | bitops.h | 55 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument 56 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument 59 static __inline__ void set_bit(int nr, volatile unsigned long *addr) in set_bit() 76 static __inline__ void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 93 static __inline__ void clear_bit_unlock(int nr, volatile unsigned long *addr) in clear_bit_unlock() 111 static __inline__ void change_bit(int nr, volatile unsigned long *addr) in change_bit() 128 static __inline__ int test_and_set_bit(unsigned long nr, in test_and_set_bit() 150 static __inline__ int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() 171 static __inline__ int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() 193 static __inline__ int test_and_change_bit(unsigned long nr, in test_and_change_bit() [all …]
|
/arch/ia64/include/asm/ |
D | sync_bitops.h | 13 static inline void sync_set_bit(int nr, volatile void *addr) in sync_set_bit() 18 static inline void sync_clear_bit(int nr, volatile void *addr) in sync_clear_bit() 23 static inline void sync_change_bit(int nr, volatile void *addr) in sync_change_bit() 28 static inline int sync_test_and_set_bit(int nr, volatile void *addr) in sync_test_and_set_bit() 33 static inline int sync_test_and_clear_bit(int nr, volatile void *addr) in sync_test_and_clear_bit() 38 static inline int sync_test_and_change_bit(int nr, volatile void *addr) in sync_test_and_change_bit() 43 static inline int sync_test_bit(int nr, const volatile void *addr) in sync_test_bit()
|
D | bitops.h | 38 set_bit (int nr, volatile void *addr) in set_bit() 63 __set_bit (int nr, volatile void *addr) in __set_bit() 85 clear_bit (int nr, volatile void *addr) in clear_bit() 109 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock() 133 __clear_bit_unlock(int nr, void *addr) in __clear_bit_unlock() 151 __clear_bit (int nr, volatile void *addr) in __clear_bit() 166 change_bit (int nr, volatile void *addr) in change_bit() 191 __change_bit (int nr, volatile void *addr) in __change_bit() 205 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit() 240 __test_and_set_bit (int nr, volatile void *addr) in __test_and_set_bit() [all …]
|
/arch/mips/include/asm/ |
D | ioctl.h | 57 #define _IOC(dir, type, nr, size) \ argument 71 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) argument 72 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument 73 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 74 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 75 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument 76 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument 77 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), sizeof(size)) argument 81 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument 82 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument [all …]
|
/arch/arm/include/asm/ |
D | bitops.h | 183 #define ATOMIC_BITOP_LE(name,nr,p) \ argument 188 #define ATOMIC_BITOP_BE(name,nr,p) \ argument 193 #define ATOMIC_BITOP_LE(name,nr,p) _##name##_le(nr,p) argument 194 #define ATOMIC_BITOP_BE(name,nr,p) _##name##_be(nr,p) argument 197 #define NONATOMIC_BITOP(name,nr,p) \ argument 204 #define set_bit(nr,p) ATOMIC_BITOP_LE(set_bit,nr,p) argument 205 #define clear_bit(nr,p) ATOMIC_BITOP_LE(clear_bit,nr,p) argument 206 #define change_bit(nr,p) ATOMIC_BITOP_LE(change_bit,nr,p) argument 207 #define test_and_set_bit(nr,p) ATOMIC_BITOP_LE(test_and_set_bit,nr,p) argument 208 #define test_and_clear_bit(nr,p) ATOMIC_BITOP_LE(test_and_clear_bit,nr,p) argument [all …]
|
/arch/alpha/include/asm/ |
D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 47 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 49 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 53 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument 54 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument 55 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument 56 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
|
D | bitops.h | 28 set_bit(unsigned long nr, volatile void * addr) in set_bit() 49 __set_bit(unsigned long nr, volatile void * addr) in __set_bit() 60 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() 78 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() 88 __clear_bit(unsigned long nr, volatile void * addr) in __clear_bit() 96 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock() 103 change_bit(unsigned long nr, volatile void * addr) in change_bit() 124 __change_bit(unsigned long nr, volatile void * addr) in __change_bit() 132 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit() 162 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() [all …]
|
/arch/sparc/include/asm/ |
D | ioctl.h | 38 #define _IOC(dir,type,nr,size) \ argument 44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 50 #define _IOC_DIR(nr) \ argument 54 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument 55 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument 56 #define _IOC_SIZE(nr) \ argument
|
D | bitops_32.h | 31 static inline int test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in test_and_set_bit() 41 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() 51 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() 61 static inline void clear_bit(unsigned long nr, volatile unsigned long *addr) in clear_bit() 71 static inline int test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in test_and_change_bit() 81 static inline void change_bit(unsigned long nr, volatile unsigned long *addr) in change_bit()
|
/arch/x86/boot/ |
D | bitops.h | 19 static inline int constant_test_bit(int nr, const void *addr) in constant_test_bit() 24 static inline int variable_test_bit(int nr, const void *addr) in variable_test_bit() 33 #define test_bit(nr,addr) \ argument 38 static inline void set_bit(int nr, void *addr) in set_bit()
|
/arch/parisc/include/asm/ |
D | bitops.h | 31 static __inline__ void set_bit(int nr, volatile unsigned long * addr) in set_bit() 42 static __inline__ void clear_bit(int nr, volatile unsigned long * addr) in clear_bit() 53 static __inline__ void change_bit(int nr, volatile unsigned long * addr) in change_bit() 64 static __inline__ int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit() 82 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() 100 static __inline__ int test_and_change_bit(int nr, volatile unsigned long * addr) in test_and_change_bit() 230 #define ext2_set_bit_atomic(l,nr,addr) \ argument 232 #define ext2_clear_bit_atomic(l,nr,addr) \ argument
|
/arch/cris/include/asm/ |
D | bitops.h | 37 #define set_bit(nr, addr) (void)test_and_set_bit(nr, addr) argument 50 #define clear_bit(nr, addr) (void)test_and_clear_bit(nr, addr) argument 62 #define change_bit(nr, addr) (void)test_and_change_bit(nr, addr) argument 73 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 103 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 127 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
|
/arch/cris/include/arch-v32/arch/ |
D | irq.h | 55 #define IRQ_NAME2(nr) nr##_interrupt(void) argument 56 #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) argument 81 #define BUILD_IRQ(nr) \ argument 109 #define BUILD_TIMER_IRQ(nr, mask) \ argument
|
/arch/s390/mm/ |
D | cmm.c | 60 cmm_alloc_pages(long nr, long *counter, struct cmm_page_array **list) in cmm_alloc_pages() 100 cmm_free_pages(long nr, long *counter, struct cmm_page_array **list) in cmm_free_pages() 128 long nr = 256; in cmm_oom_notify() local 205 long nr; in cmm_timer_fn() local 217 cmm_set_pages(long nr) in cmm_set_pages() 230 cmm_add_timed_pages(long nr) in cmm_add_timed_pages() 243 cmm_set_timeout(long nr, long seconds) in cmm_set_timeout() 269 long nr; in cmm_pages_handler() local 310 long nr, seconds; in cmm_timeout_handler() local 378 long nr, seconds; in cmm_smsg_target() local
|