/linux/include/linux/ |
H A D | irqflags.h | 54 } while (0) 58 } while (0) 62 } while (0) 79 } while (0) 84 } while (0) 89 } while (0) 95 } while (0) 100 } while (0) 103 # define trace_hardirqs_on_prepare() do { } while (0) 104 # define trace_hardirqs_off_finish() do { } while (0) [all …]
|
H A D | lockdep.h | 112 } while (0) 117 } while (0) 279 do { WARN_ON(debug_locks && !(cond)); } while (0) 282 do { WARN_ON_ONCE(debug_locks && !(cond)); } while (0) 336 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0) 337 # define lock_release(l, i) do { } while (0) 338 # define lock_downgrade(l, i) do { } while (0) 339 # define lock_set_class(l, n, key, s, i) do { (void)(key); } while (0) 340 # define lock_set_novalidate_class(l, n, i) do { } while (0) 341 # define lock_set_subclass(l, s, i) do { } while (0) [all …]
|
H A D | local_lock_internal.h | 63 } while (0) 74 } while (0) 80 } while (0) 86 } while (0) 92 } while (0) 98 } while (0) 104 } while (0) 110 } while (0) 116 } while (0) 125 * critical section while staying preemptible. [all …]
|
H A D | hid-debug.h | 40 #define hid_dump_input(a,b,c) do { } while (0) 41 #define hid_dump_report(a,b,c,d) do { } while (0) 42 #define hid_dump_device(a,b) do { } while (0) 43 #define hid_dump_field(a,b,c) do { } while (0) 44 #define hid_resolv_usage(a,b) do { } while (0) 45 #define hid_debug_register(a, b) do { } while (0) 46 #define hid_debug_unregister(a) do { } while (0) 47 #define hid_debug_init() do { } while (0) 48 #define hid_debug_exit() do { } while (0) 49 #define hid_debug_event(a,b) do { } while (0)
|
H A D | rwlock.h | 25 } while (0) 28 do { *(lock) = __RW_LOCK_UNLOCKED(lock); } while (0) 39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… 41 … do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } while (0) 42 …ne do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } while (0) 44 …o_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); } while (0) 70 } while (0) 75 } while (0) 83 } while (0) 88 } while (0) [all …]
|
H A D | spinlock_api_up.h | 19 #define assert_raw_spin_locked(lock) do { (void)(lock); } while (0) 28 do { __acquire(lock); (void)(lock); } while (0) 31 do { preempt_disable(); ___LOCK(lock); } while (0) 34 do { __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_LOCK_OFFSET); ___LOCK(lock); } while (0) 37 do { local_irq_disable(); __LOCK(lock); } while (0) 40 do { local_irq_save(flags); __LOCK(lock); } while (0) 43 do { __release(lock); (void)(lock); } while (0) 46 do { preempt_enable(); ___UNLOCK(lock); } while (0) 50 ___UNLOCK(lock); } while (0) 53 do { local_irq_enable(); __UNLOCK(lock); } while (0) [all …]
|
H A D | hardirq.h | 39 } while (0) 50 } while (0) 69 } while (0) 78 } while (0) 91 #define arch_nmi_enter() do { } while (0) 92 #define arch_nmi_exit() do { } while (0) 113 } while (0) 123 } while (0) 131 } while (0) 141 } while (0)
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_dbg.h | 19 #define DEBUG(x) do {x;} while (0); 21 #define DEBUG(x) do {} while (0); 25 #define DEBUG2(x) do {if(ql4xextended_error_logging == 2) x;} while (0); 26 #define DEBUG2_3(x) do {x;} while (0); 28 #define DEBUG2(x) do {} while (0); 32 #define DEBUG3(x) do {if(ql4xextended_error_logging == 3) x;} while (0); 34 #define DEBUG3(x) do {} while (0); 36 #define DEBUG2_3(x) do {} while (0); 40 #define DEBUG4(x) do {x;} while (0); 42 #define DEBUG4(x) do {} while (0); [all …]
|
/linux/include/asm-generic/ |
H A D | barrier.h | 30 #define mb() do { kcsan_mb(); __mb(); } while (0) 34 #define rmb() do { kcsan_rmb(); __rmb(); } while (0) 38 #define wmb() do { kcsan_wmb(); __wmb(); } while (0) 42 #define dma_mb() do { kcsan_mb(); __dma_mb(); } while (0) 46 #define dma_rmb() do { kcsan_rmb(); __dma_rmb(); } while (0) 50 #define dma_wmb() do { kcsan_wmb(); __dma_wmb(); } while (0) 99 #define smp_mb() do { kcsan_mb(); __smp_mb(); } while (0) 103 #define smp_rmb() do { kcsan_rmb(); __smp_rmb(); } while (0) 107 #define smp_wmb() do { kcsan_wmb(); __smp_wmb(); } while (0) 127 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0) [all …]
|
/linux/arch/csky/abiv2/inc/abi/ |
H A D | cacheflush.h | 13 #define flush_cache_all() do { } while (0) 14 #define flush_cache_mm(mm) do { } while (0) 15 #define flush_cache_dup_mm(mm) do { } while (0) 16 #define flush_cache_range(vma, start, end) do { } while (0) 17 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) 34 #define flush_dcache_mmap_lock(mapping) do { } while (0) 35 #define flush_dcache_mmap_unlock(mapping) do { } while (0) 43 #define flush_cache_vmap(start, end) do { } while (0) 44 #define flush_cache_vmap_early(start, end) do { } while (0) 45 #define flush_cache_vunmap(start, end) do { } while (0) [all …]
|
/linux/arch/mips/include/asm/ |
H A D | hazards.h | 77 } while (0) 153 } while (0) 159 } while (0) 185 #define instruction_hazard() do { } while (0) 211 #define instruction_hazard() do { } while (0) 262 #define instruction_hazard() do { } while (0) 326 } while (0) 333 } while (0) 341 } while (0) 349 } while (0) [all …]
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_debug.h | 54 } while (0) 60 } while (0) 66 } while (0) 72 } while (0) 78 } while (0) 84 } while (0) 90 } while (0) 96 } while (0) 102 } while (0) 108 } while (0) [all …]
|
/linux/arch/loongarch/include/asm/ |
H A D | cacheflush.h | 40 #define flush_cache_all() do { } while (0) 41 #define flush_cache_mm(mm) do { } while (0) 42 #define flush_cache_dup_mm(mm) do { } while (0) 43 #define flush_cache_range(vma, start, end) do { } while (0) 44 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) 45 #define flush_cache_vmap(start, end) do { } while (0) 46 #define flush_cache_vunmap(start, end) do { } while (0) 47 #define flush_icache_user_page(vma, page, addr, len) do { } while (0) 48 #define flush_dcache_mmap_lock(mapping) do { } while (0) 49 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
|
/linux/fs/nls/ |
H A D | nls_ucs2_utils.h | 54 while (*ucs1++) in UniStrcat() 57 while ((*ucs1++ = *ucs2++)) in UniStrcat() 71 while ((*ucs != uc) && *ucs) in UniStrchr() 89 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp() 103 while ((*ucs1++ = *ucs2++)) in UniStrcpy() 115 while (*ucs1++) in UniStrlen() 128 while (*ucs1++) { in UniStrnlen() 143 while (*ucs1++) in UniStrncat() 146 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat() 161 while ((*ucs1 == *ucs2) && *ucs1 && --n) { in UniStrncmp() [all …]
|
/linux/arch/parisc/lib/ |
H A D | io.c | 23 while ((unsigned long)dst & 3) { in memcpy_toio() 28 while (count > 3) { in memcpy_toio() 35 while (count--) { in memcpy_toio() 79 while (count > 3) { in memcpy_fromio() 87 while (count > 1) { in memcpy_fromio() 95 while (count--) { in memcpy_fromio() 109 while ((unsigned long)addr & 3) { in memset_io() 113 while (count > 3) { in memset_io() 118 while (count--) { in memset_io() 133 while (((unsigned long)p) & 0x3) { in insb() [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | io.c | 39 } while (--count != 0); in _insb() 53 } while (--count != 0); in _outsb() 70 } while (--count != 0); in _insw_ns() 84 } while (--count != 0); in _outsw_ns() 101 } while (--count != 0); in _insl_ns() 115 } while (--count != 0); in _outsl_ns() 131 while(n && !IO_CHECK_ALIGN(p, 4)) { in _memset_io() 136 while(n >= 4) { in _memset_io() 141 while(n) { in _memset_io() 156 while(n && (!IO_CHECK_ALIGN(vsrc, 4) || !IO_CHECK_ALIGN(dest, 4))) { in _memcpy_fromio() [all …]
|
/linux/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-crypto.h | 37 } while (0) 63 } while (0) 74 } while (0) 85 } while (0) 96 } while (0) 111 } while (0) 137 } while (0) 148 } while (0) 159 } while (0) 170 } while (0) [all …]
|
/linux/arch/loongarch/kernel/ |
H A D | io.c | 14 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio() 21 while (count >= 8) { in __memcpy_fromio() 28 while (count) { in __memcpy_fromio() 42 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio() 49 while (count >= 8) { in __memcpy_toio() 56 while (count) { in __memcpy_toio() 76 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io() 82 while (count >= 8) { in __memset_io() 88 while (count) { in __memset_io()
|
/linux/arch/csky/kernel/ |
H A D | io.c | 12 while (count && !IS_ALIGNED((unsigned long)from, 4)) { in __memcpy_fromio() 19 while (count >= 4) { in __memcpy_fromio() 26 while (count) { in __memcpy_fromio() 40 while (count && !IS_ALIGNED((unsigned long)to, 4)) { in __memcpy_toio() 47 while (count >= 4) { in __memcpy_toio() 54 while (count) { in __memcpy_toio() 73 while (count && !IS_ALIGNED((unsigned long)dst, 4)) { in __memset_io() 79 while (count >= 4) { in __memset_io() 85 while (count) { in __memset_io()
|
/linux/kernel/sched/ |
H A D | stats.h | 38 #define __schedstat_inc(var) do { var++; } while (0) 39 #define schedstat_inc(var) do { if (schedstat_enabled()) { var++; } } while (0) 40 #define __schedstat_add(var, amt) do { var += (amt); } while (0) 41 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0) 42 #define __schedstat_set(var, val) do { var = (val); } while (0) 43 #define schedstat_set(var, val) do { if (schedstat_enabled()) { var = (val); } } while (0) 76 # define __schedstat_inc(var) do { } while (0) 77 # define schedstat_inc(var) do { } while (0) 78 # define __schedstat_add(var, amt) do { } while (0) 79 # define schedstat_add(var, amt) do { } while (0) [all …]
|
/linux/arch/sparc/lib/ |
H A D | PeeCeeI.c | 18 while (count--) in outsb() 27 while (count--) { in outsw() 45 while (count--) { in outsl() 52 while (count--) { in outsl() 64 while (count--) { in outsl() 76 while (count--) { in outsl() 96 while ((((unsigned long)pb) & 0x3) && count--) in insb() 99 while (count >= 4) { in insb() 110 while (count--) in insb() 129 while (count >= 2) { in insw() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | queue.h | 134 } while (0) 139 } while (0) 144 } while (0) 154 while (SLIST_NEXT(curelm, field) != (elm)) \ 159 } while (0) 163 } while (0) 197 } while (0) 203 } while (0) 209 } while (0) 215 } while (0) [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.h | 352 } while (0) 392 } while (0) 402 } while (0) 410 } while (0) 417 } while (0) 423 } while (0) 430 } while (0) 438 } while (0) 446 } while (0) 453 } while (0) [all …]
|
/linux/arch/x86/crypto/ |
H A D | ecb_cbc_helpers.h | 20 while (walk.nbytes > 0) { \ 36 } while (0) 44 while (nbytes >= __blocks * __bsize) { \ 48 } while (0) 52 while (nbytes >= __bsize) { \ 59 } while (0) 67 while (nbytes >= __blocks * __bsize) { \ 76 } while (0) 83 } while (0)
|
/linux/fs/jfs/ |
H A D | jfs_debug.h | 35 } while (0) 58 } while (0) 64 } while (0) 70 } while (0) 76 } while (0) 83 #define ASSERT(p) do {} while (0) 84 #define jfs_info(fmt, arg...) do {} while (0) 85 #define jfs_debug(fmt, arg...) do {} while (0) 86 #define jfs_warn(fmt, arg...) do {} while (0) 87 #define jfs_err(fmt, arg...) do {} while (0)
|