Home
last modified time | relevance | path

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

12345678910>>...357

/Linux-v5.4/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_HOTPLUG_CPU -- Do half. (Every second.)
10 CONFIG_HZ_PERIODIC -- Do one.
11 CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.)
12 CONFIG_NO_HZ_FULL -- Do two, one with partial CPU enablement.
13 CONFIG_PREEMPT -- Do half. (First three and #8.)
14 CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not.
18 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
19 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with all nohz_full CPUs.
[all …]
/Linux-v5.4/include/linux/
Dirqflags.h39 do { \
43 do { \
47 do { \
51 do { \
55 # define trace_hardirqs_on() do { } while (0)
56 # define trace_hardirqs_off() do { } while (0)
61 # define trace_hardirq_enter() do { } while (0)
62 # define trace_hardirq_exit() do { } while (0)
63 # define lockdep_softirq_enter() do { } while (0)
64 # define lockdep_softirq_exit() do { } while (0)
[all …]
Dlockdep.h32 * We'd rather not expose kernel/lockdep_states.h this wide, but we do need
259 * context, and we also keep do not add cross-context lock
390 #define lockdep_assert_held(l) do { \
394 #define lockdep_assert_held_write(l) do { \
398 #define lockdep_assert_held_read(l) do { \
402 #define lockdep_assert_held_once(l) do { \
430 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0)
431 # define lock_release(l, n, i) do { } while (0)
432 # define lock_downgrade(l, i) do { } while (0)
433 # define lock_set_class(l, n, k, s, 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 …]
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_dbg.h20 #define DEBUG(x) do {x;} while (0);
22 #define DEBUG(x) do {} while (0);
26 #define DEBUG2(x) do {if(ql4xextended_error_logging == 2) x;} while (0);
27 #define DEBUG2_3(x) do {x;} while (0);
29 #define DEBUG2(x) do {} while (0);
33 #define DEBUG3(x) do {if(ql4xextended_error_logging == 3) x;} while (0);
35 #define DEBUG3(x) do {} while (0);
37 #define DEBUG2_3(x) do {} while (0);
41 #define DEBUG4(x) do {x;} while (0);
43 #define DEBUG4(x) do {} while (0);
[all …]
/Linux-v5.4/arch/ia64/include/asm/
Dcacheflush.h20 #define flush_cache_all() do { } while (0)
21 #define flush_cache_mm(mm) do { } while (0)
22 #define flush_cache_dup_mm(mm) do { } while (0)
23 #define flush_cache_range(vma, start, end) do { } while (0)
24 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
25 #define flush_icache_page(vma,page) do { } while (0)
26 #define flush_cache_vmap(start, end) do { } while (0)
27 #define flush_cache_vunmap(start, end) do { } while (0)
31 do { \
35 #define flush_dcache_mmap_lock(mapping) do { } while (0)
[all …]
/Linux-v5.4/arch/c6x/include/asm/
Dcacheflush.h22 #define flush_cache_all() do {} while (0)
23 #define flush_cache_mm(mm) do {} while (0)
24 #define flush_cache_dup_mm(mm) do {} while (0)
25 #define flush_cache_range(mm, start, end) do {} while (0)
26 #define flush_cache_page(vma, vmaddr, pfn) do {} while (0)
27 #define flush_cache_vmap(start, end) do {} while (0)
28 #define flush_cache_vunmap(start, end) do {} while (0)
30 #define flush_dcache_page(page) do {} while (0)
31 #define flush_dcache_mmap_lock(mapping) do {} while (0)
32 #define flush_dcache_mmap_unlock(mapping) do {} while (0)
[all …]
/Linux-v5.4/tools/include/linux/
Dirqflags.h9 # define trace_hardirq_enter() do { } while (0)
10 # define trace_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 …]
/Linux-v5.4/arch/openrisc/include/asm/
Dcacheflush.h66 * Other interfaces are not required since we do not have virtually
69 #define flush_cache_all() do { } while (0)
70 #define flush_cache_mm(mm) do { } while (0)
71 #define flush_cache_dup_mm(mm) do { } while (0)
72 #define flush_cache_range(vma, start, end) do { } while (0)
73 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
74 #define flush_dcache_mmap_lock(mapping) do { } while (0)
75 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
76 #define flush_icache_range(start, end) do { } while (0)
77 #define flush_icache_page(vma, pg) do { } while (0)
[all …]
/Linux-v5.4/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)
18 do { \
23 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
25 #define flush_dcache_page(page) do { } while (0)
26 #define flush_dcache_mmap_lock(mapping) do { } while (0)
27 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
35 #define flush_cache_vmap(start, end) do { } while (0)
36 #define flush_cache_vunmap(start, end) do { } while (0)
[all …]
/Linux-v5.4/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)
/Linux-v5.4/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 …]
/Linux-v5.4/tools/testing/selftests/firmware/
Dfw_filesystem.sh174 for i in $(seq 0 3); do
189 for i in $(seq 0 3); do
250 while [ ! -e "$DIR"/"$name"/loading ]; do
343 for i in $(seq 1 5); do
347 for i in $(seq 1 5); do
351 for i in $(seq 1 5); do
355 for i in $(seq 1 5); do
359 for i in $(seq 1 5); do
367 for i in $(seq 1 5); do
371 for i in $(seq 1 5); do
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/
Dwriting-bindings.txt12 - DO attempt to make bindings complete even if a driver doesn't support some
19 - DO use node names matching the class of the device. Many standard names are
22 - DO check that the example matches the documentation especially after making
36 - DO make 'compatible' properties specific. DON'T use wildcards in compatible
37 strings. DO use fallback compatibles when devices are the same as or a subset
38 of prior implementations. DO add new compatibles in case there are new
41 - DO use a vendor prefix on device specific property names. Consider if
48 - DO use common property unit suffixes for properties with scientific units.
51 - DO define properties in terms of constraints. How many entries? What are
57 - DO put all MMIO devices under a bus node and not at the top-level.
[all …]
/Linux-v5.4/arch/mips/include/asm/
Dhazards.h65 do { \
141 do { \
155 do { \
184 #define instruction_hazard() do { } while (0)
210 #define instruction_hazard() do { } while (0)
261 #define instruction_hazard() do { } while (0)
320 do { \
327 do { \
335 do { \
343 do { \
[all …]
/Linux-v5.4/arch/m68k/include/asm/
Dcacheflush_no.h12 #define flush_cache_mm(mm) do { } while (0)
13 #define flush_cache_dup_mm(mm) do { } while (0)
14 #define flush_cache_range(vma, start, end) do { } while (0)
15 #define flush_cache_page(vma, vmaddr) do { } while (0)
18 #define flush_dcache_page(page) do { } while (0)
19 #define flush_dcache_mmap_lock(mapping) do { } while (0)
20 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
22 #define flush_icache_page(vma,pg) do { } while (0)
23 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0)
24 #define flush_cache_vmap(start, end) do { } while (0)
[all …]
/Linux-v5.4/arch/hexagon/include/asm/
Dcacheflush.h28 #define flush_cache_all() do { } while (0)
29 #define flush_cache_mm(mm) do { } while (0)
30 #define flush_cache_dup_mm(mm) do { } while (0)
31 #define flush_cache_range(vma, start, end) do { } while (0)
32 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
34 #define flush_dcache_page(page) do { } while (0)
35 #define flush_dcache_mmap_lock(mapping) do { } while (0)
36 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
37 #define flush_icache_page(vma, pg) do { } while (0)
38 #define flush_icache_user_range(vma, pg, adr, len) do { } while (0)
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/alpha/include/asm/
Dcacheflush.h8 #define flush_cache_all() do { } while (0)
9 #define flush_cache_mm(mm) do { } while (0)
10 #define flush_cache_dup_mm(mm) do { } while (0)
11 #define flush_cache_range(vma, start, end) do { } while (0)
12 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
14 #define flush_dcache_page(page) do { } while (0)
15 #define flush_dcache_mmap_lock(mapping) do { } while (0)
16 #define flush_dcache_mmap_unlock(mapping) do { } while (0)
17 #define flush_cache_vmap(start, end) do { } while (0)
18 #define flush_cache_vunmap(start, end) do { } while (0)
[all …]
/Linux-v5.4/arch/powerpc/net/
Dbpf_jit32.h75 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LBZ(r, base, i); \
79 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) PPC_LD(r, base, i); \
83 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LWZ(r, base, i); \
87 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_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(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \
105 do { BUILD_BUG_ON(FIELD_SIZEOF(struct task_struct, cpu) != 4); \
110 #define PPC_BPF_LOAD_CPU(r) do { PPC_LI(r, 0); } while(0)
114 do { PPC_LI32(r, i); PPC_LHBRX(r, r, base); } while(0)
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]

12345678910>>...357