Home
last modified time | relevance | path

Searched full:do (Results 1 – 25 of 7580) sorted by relevance

12345678910>>...304

/kernel/linux/linux-5.10/include/linux/
Dirqflags.h62 do { \
67 do { \
71 do { \
75 do { \
79 do { \
95 do { \
101 do { \
106 do { \
111 do { \
116 do { \
[all …]
Dlockdep.h126 * context, and we also keep do not add cross-context lock
170 do { \
175 do { \
304 #define lockdep_assert_held(l) do { \
308 #define lockdep_assert_held_write(l) do { \
312 #define lockdep_assert_held_read(l) do { \
316 #define lockdep_assert_held_once(l) do { \
344 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0)
345 # define lock_release(l, i) do { } while (0)
346 # define lock_downgrade(l, i) do { } while (0)
[all …]
Dhid-debug.h40 #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)
Drwlock.h21 do { \
28 do { *(lock) = __RW_LOCK_UNLOCKED(lock); } while (0)
50 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while…
52 do {__acquire(lock); arch_read_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
54 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w…
55 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi…
57 do {__acquire(lock); arch_write_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
59 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }…
76 do { \
81 do { \
[all …]
Dspinlock_api_up.h19 #define assert_raw_spin_locked(lock) do { (void)(lock); } while (0)
23 * only thing we have to do is to keep the preempt counts and irq
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)
49 do { __local_bh_enable_ip(_THIS_IP_, SOFTIRQ_LOCK_OFFSET); \
[all …]
Dhardirq.h28 * It is safe to do non-atomic ops on ->hardirq_context,
34 do { \
46 do { \
64 do { \
74 do { \
90 #define arch_nmi_enter() do { } while (0)
91 #define arch_nmi_exit() do { } while (0)
115 do { \
124 do { \
134 do { \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/doc/
DTREE_RCU-kconfig.txt7 CONFIG_DEBUG_LOCK_ALLOC -- Do three, covering CONFIG_PROVE_LOCKING & not.
8 CONFIG_DEBUG_OBJECTS_RCU_HEAD -- Do one.
9 CONFIG_HZ_PERIODIC -- Do one.
10 CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.)
11 CONFIG_NO_HZ_FULL -- Do two, one with partial CPU enablement.
12 CONFIG_PREEMPT -- Do half. (First three and #8.)
13 CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not.
17 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
18 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with all nohz_full CPUs.
19 CONFIG_RCU_NOCB_CPU -- Do three, one with no rcu_nocbs CPUs, one with
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_dbg.h19 #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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dmii.h58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
63 #define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */
64 #define BMSR_100FULL2 0x0400 /* Can do 100BASE-T2 FDX */
65 #define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */
66 #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */
67 #define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */
68 #define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */
69 #define BMSR_100BASE4 0x8000 /* Can do 100mbps, 4k packets */
97 #define LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */
98 #define LPA_1000XFULL 0x0020 /* Can do 1000BASE-X full-duplex */
[all …]
/kernel/liteos_a/testsuites/unittest/common/include/
DiCunit.h70 do { \
81 do { \
91 do { \
99 do { \
108 do { \
120 do { \
132 do { \
140 do { \
149 do { \
161 do { \
[all …]
/kernel/linux/linux-5.10/tools/include/linux/
Dirqflags.h9 # define lockdep_hardirq_enter() do { } while (0)
10 # define lockdep_hardirq_exit() do { } while (0)
11 # define lockdep_softirq_enter() do { } while (0)
12 # define lockdep_softirq_exit() do { } while (0)
15 # define stop_critical_timings() do { } while (0)
16 # define start_critical_timings() do { } while (0)
18 #define raw_local_irq_disable() do { } while (0)
19 #define raw_local_irq_enable() do { } while (0)
27 #define local_irq_enable() do { } while (0)
28 #define local_irq_disable() do { } while (0)
[all …]
/kernel/linux/linux-5.10/kernel/locking/
Drtmutex.h15 #define debug_rt_mutex_init_waiter(w) do { } while (0)
16 #define debug_rt_mutex_free_waiter(w) do { } while (0)
17 #define debug_rt_mutex_lock(l) do { } while (0)
18 #define debug_rt_mutex_proxy_lock(l,p) do { } while (0)
19 #define debug_rt_mutex_proxy_unlock(l) do { } while (0)
20 #define debug_rt_mutex_unlock(l) do { } while (0)
21 #define debug_rt_mutex_init(m, n, k) do { } while (0)
22 #define debug_rt_mutex_deadlock(d, a ,l) do { } while (0)
23 #define debug_rt_mutex_print_deadlock(w) do { } while (0)
24 #define debug_rt_mutex_reset_waiter(w) do { } while (0)
/kernel/linux/linux-5.10/arch/csky/abiv2/inc/abi/
Dcacheflush.h13 #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)
28 #define flush_dcache_mmap_lock(mapping) do { } while (0)
29 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
30 #define flush_icache_page(vma, page) do { } while (0)
38 #define flush_cache_vmap(start, end) do { } while (0)
39 #define flush_cache_vunmap(start, end) do { } while (0)
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dhazards.h66 do { \
142 do { \
156 do { \
185 #define instruction_hazard() do { } while (0)
211 #define instruction_hazard() do { } while (0)
262 #define instruction_hazard() do { } while (0)
322 do { \
329 do { \
337 do { \
345 do { \
[all …]
/kernel/liteos_a/testsuites/kernel/include/
DiCunit.h241 do { \
249 do { \
256 do { \
264 do { \
272 do { \
280 do { \
288 do { \
296 do { \
304 do { \
312 do { \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
Dfw_filesystem.sh217 for i in $(seq 0 3); do
246 for i in $(seq 0 3); do
261 for i in $(seq 0 3); do
337 while [ ! -e "$DIR"/"$name"/loading ]; do
445 for i in $(seq 1 5); do
449 for i in $(seq 1 5); do
453 for i in $(seq 1 5); do
457 for i in $(seq 1 5); do
461 for i in $(seq 1 5); do
465 # Partial loads cannot use fallback, so do not repeat tests.
[all …]
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dcacheflush.h86 * We have physically tagged caches - nothing to do here -
111 do { \
132 #define flush_cache_all() do { } while (0)
133 #define flush_cache_mm(mm) do { } while (0)
134 #define flush_cache_dup_mm(mm) do { } while (0)
136 #define flush_cache_vmap(start,end) do { } while (0)
137 #define flush_cache_vunmap(start,end) do { } while (0)
140 #define flush_dcache_page(page) do { } while (0)
143 #define flush_cache_page(vma, addr, pfn) do { } while (0)
144 #define flush_cache_range(vma, start, end) do { } while (0)
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dwriting-bindings.rst17 - DO attempt to make bindings complete even if a driver doesn't support some
24 - DO use node names matching the class of the device. Many standard names are
27 - DO check that the example matches the documentation especially after making
42 - DO make 'compatible' properties specific. DON'T use wildcards in compatible
43 strings. DO use fallback compatibles when devices are the same as or a subset
44 of prior implementations. DO add new compatibles in case there are new
47 - DO use a vendor prefix on device specific property names. Consider if
54 - DO use common property unit suffixes for properties with scientific units.
57 - DO define properties in terms of constraints. How many entries? What are
64 - DO put all MMIO devices under a bus node and not at the top-level.
[all …]
/kernel/liteos_m/testsuites/include/
DiCunit.h216 do { \
223 do { \
230 do { \
238 do { \
245 do { \
253 do { \
261 do { \
269 do { \
277 do { \
285 do { \
[all …]
/kernel/linux/linux-5.10/net/mac80211/
DKconfig107 bool "Do not inline TX/RX handlers"
131 Do not select this option.
142 Do not select this option.
151 Do not select this option.
163 Do not select this option.
174 Do not select this option.
185 Do not select this option.
197 Do not select this option.
210 Do not select this option.
223 Do not select this option.
[all …]
/kernel/linux/linux-5.10/arch/powerpc/net/
Dbpf_jit32.h75 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LBZ(r, base, i)); \
79 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LD(r, base, i)); \
83 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LWZ(r, base, i)); \
87 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LHZ(r, base, i)); \
92 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0)
94 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0)
100 do { BUILD_BUG_ON(sizeof_field(struct paca_struct, paca_index) != 2); \
105 do { BUILD_BUG_ON(sizeof_field(struct task_struct, cpu) != 4); \
110 #define PPC_BPF_LOAD_CPU(r) do { EMIT(PPC_RAW_LI(r, 0)); } while(0)
114 do { PPC_LI32(r, i); EMIT(PPC_RAW_LHBRX(r, r, base)); } while(0)
[all …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
Docteon-crypto.h32 do { \
58 do { \
69 do { \
80 do { \
91 do { \
106 do { \
132 do { \
143 do { \
154 do { \
165 do { \
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-per-CPU-kthreads.rst43 To reduce its OS jitter, do any of the following:
50 2. Do all eHCA-Infiniband-related work on other CPUs, including
62 To reduce its OS jitter, do the following:
73 To reduce its OS jitter, do one of the following:
93 Do all of the following:
103 do not offline any other CPUs, because doing so could force the
109 Do all of the following:
121 Do all of the following:
133 Do all of the following:
145 Do one or more of the following:
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dstats.h34 #define __schedstat_inc(var) do { var++; } while (0)
35 #define schedstat_inc(var) do { if (schedstat_enabled()) { var++; } } while (0)
36 #define __schedstat_add(var, amt) do { var += (amt); } while (0)
37 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0)
38 #define __schedstat_set(var, val) do { var = (val); } while (0)
39 #define schedstat_set(var, val) do { if (schedstat_enabled()) { var = (val); } } while (0)
48 # define __schedstat_inc(var) do { } while (0)
49 # define schedstat_inc(var) do { } while (0)
50 # define __schedstat_add(var, amt) do { } while (0)
51 # define schedstat_add(var, amt) do { } while (0)
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
Dclone3.c140 /* Do a clone3() in a new PID NS.*/ in main()
146 /* Do a clone3() with CLONE_ARGS_SIZE_VER0. */ in main()
149 /* Do a clone3() with CLONE_ARGS_SIZE_VER0 - 8 */ in main()
152 /* Do a clone3() with sizeof(struct clone_args) + 8 */ in main()
155 /* Do a clone3() with exit_signal having highest 32 bits non-zero */ in main()
158 /* Do a clone3() with negative 32-bit exit_signal */ in main()
161 /* Do a clone3() with exit_signal not fitting into CSIGNAL mask */ in main()
164 /* Do a clone3() with NSIG < exit_signal < CSIG */ in main()
175 /* Do a clone3() with > page size */ in main()
178 /* Do a clone3() with CLONE_ARGS_SIZE_VER0 in a new PID NS. */ in main()
[all …]

12345678910>>...304