/linux-6.3-rc2/include/asm-generic/ |
A D | xor.h | 25 p1 += 8; in xor_8regs_2() 46 p1 += 8; in xor_8regs_3() 69 p1 += 8; in xor_8regs_4() 94 p1 += 8; in xor_8regs_5() 134 p1 += 8; in xor_32regs_2() 180 p1 += 8; in xor_32regs_3() 236 p1 += 8; in xor_32regs_4() 302 p1 += 8; in xor_32regs_5() 330 p1 += 8; in xor_8regs_p_2() 360 p1 += 8; in xor_8regs_p_3() [all …]
|
/linux-6.3-rc2/scripts/coccinelle/api/ |
A D | atomic_as_refcounter.cocci | 15 position p1, p2; 26 atomic_dec_and_test@p1(&(a)->x) 36 local_dec_and_test@p1(&(a)->x) 55 p1 << r1.p1; 63 position p1, p2; 79 local_dec_and_test@p1(&(a)->x) 88 p1 << r4.p1; 96 position p1; 108 p1 << r2.p1; 115 position p1; [all …]
|
A D | kstrdup.cocci | 51 position p1,p2; 54 * to = kmalloc@p1(strlen(from) + 1,flag); 64 position p1,p2; 69 * to = \(kmalloc@p1\|kzalloc@p1\)(x,flag); 76 p1 << r1.p1; 80 cocci.print_main("WARNING opportunity for kstrdup",p1) 84 p1 << r2.p1; 92 p1 << r1.p1; 97 coccilib.report.print_report(p1[0], msg) 100 p1 << r2.p1; [all …]
|
A D | platform_get_irq.cocci | 65 position p1; 82 dev_err@p1(...); 86 dev_err@p1(...); 92 p1 << r.p1; 95 cocci.print_main(p1) 98 p1 << r.p1; 101 msg = "line %s is redundant because platform_get_irq() already prints an error" % (p1[0].line) 102 coccilib.report.print_report(p1[0],msg)
|
A D | d_find_alias.cocci | 19 position p1, p2; 22 if (!(dent@p1 = d_find_alias(...))) S1 24 dent@p1 = d_find_alias(...) 46 position r.p1,r.p2; 48 * dent@p1 = ... 58 p1 << r.p1; 61 cocci.print_main("Missing call to dput()",p1) 77 p1 << r.p1; 81 coccilib.report.print_report(p1[0], msg % (p2[0].line))
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | ultrasound.h | 84 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument 86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 93 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument 94 #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument 96 #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument 97 #define GUS_RAMPMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) argument 98 #define GUS_RAMPON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0) argument [all …]
|
/linux-6.3-rc2/scripts/coccinelle/misc/ |
A D | array_size_dup.cocci | 39 p1 << as_next.p1; 47 p1 << as_next.p1; 68 p1 << as_prev.p1; 76 p1 << as_prev.p1; 104 p1 << as3_next.p1; 112 p1 << as3_next.p1; 134 p1 << as3_prev.p1; 168 p1 << ss_next.p1; 176 p1 << ss_next.p1; 196 p1 << ss_prev.p1; [all …]
|
A D | of_table.cocci | 53 position p1; 63 @p1 69 @p1 74 p1 << r.p1; 78 cocci.print_main(arr,p1) 81 p1 << r.p1; 85 msg = "%s is not NULL terminated at line %s" % (arr, p1[0].line) 86 coccilib.report.print_report(p1[0],msg)
|
/linux-6.3-rc2/scripts/coccinelle/locks/ |
A D | double_lock.cocci | 18 position p1; 24 mutex_lock@p1 26 mutex_trylock@p1 28 spin_lock@p1 30 spin_trylock@p1 32 read_lock@p1 34 read_trylock@p1 36 write_lock@p1 42 position p1 != locked.p1; 78 p1 << r.p1; [all …]
|
A D | mini_lock.cocci | 22 position p1,p; 27 mutex_lock@p1 29 mutex_trylock@p1 31 spin_lock@p1 33 spin_trylock@p1 35 read_lock@p1 37 read_trylock@p1 39 write_lock@p1 41 write_trylock@p1 43 read_lock_irq@p1 [all …]
|
A D | flags.cocci | 18 position p1,p2; 22 spin_lock_irqsave@p1(lock1,flags) 24 read_lock_irqsave@p1(lock1,flags) 26 write_lock_irqsave@p1(lock1,flags) 46 position r.p1, r.p2; 50 *spin_lock_irqsave@p1(lock1,flags) 52 *read_lock_irqsave@p1(lock1,flags) 54 *write_lock_irqsave@p1(lock1,flags) 68 p1 << r.p1; 72 cocci.print_main("original lock",p1) [all …]
|
A D | call_kern.cocci | 41 position p1,p2; 45 read_lock_irq@p1 47 write_lock_irq@p1 49 read_lock_irqsave@p1 53 spin_lock@p1 55 spin_trylock@p1 57 spin_lock_irq@p1 59 spin_lock_irqsave@p1 61 local_irq_disable@p1 90 p1 << locked.p1; [all …]
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | xor.h | 61 GET_BLOCK_4(p1); in xor_arm4regs_2() 63 PUT_BLOCK_4(p1); in xor_arm4regs_2() 83 GET_BLOCK_4(p1); in xor_arm4regs_3() 86 PUT_BLOCK_4(p1); in xor_arm4regs_3() 103 GET_BLOCK_2(p1); in xor_arm4regs_4() 107 PUT_BLOCK_2(p1); in xor_arm4regs_4() 125 GET_BLOCK_2(p1); in xor_arm4regs_5() 130 PUT_BLOCK_2(p1); in xor_arm4regs_5() 160 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2() 174 xor_arm4regs_3(bytes, p1, p2, p3); in xor_neon_3() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | xor_avx.h | 30 const unsigned long * __restrict p1) in xor_avx_2() argument 40 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p1[i / sizeof(*p1)])); \ in xor_avx_2() 50 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 57 const unsigned long * __restrict p1, in xor_avx_3() argument 70 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3() 80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 104 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_4() 114 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4() 123 const unsigned long * __restrict p1, in xor_avx_5() argument 142 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_5() [all …]
|
A D | kvm_para.h | 48 static inline long kvm_hypercall1(unsigned int nr, unsigned long p1) in kvm_hypercall1() argument 53 return tdx_kvm_hypercall(nr, p1, 0, 0, 0); in kvm_hypercall1() 57 : "a"(nr), "b"(p1) in kvm_hypercall1() 62 static inline long kvm_hypercall2(unsigned int nr, unsigned long p1, in kvm_hypercall2() argument 68 return tdx_kvm_hypercall(nr, p1, p2, 0, 0); in kvm_hypercall2() 72 : "a"(nr), "b"(p1), "c"(p2) in kvm_hypercall2() 83 return tdx_kvm_hypercall(nr, p1, p2, p3, 0); in kvm_hypercall3() 87 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_hypercall3() 99 return tdx_kvm_hypercall(nr, p1, p2, p3, p4); in kvm_hypercall4() 103 : "a"(nr), "b"(p1), "c"(p2), "d"(p3), "S"(p4) in kvm_hypercall4() [all …]
|
A D | xor.h | 60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2() argument 104 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2() 139 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64() 147 xor_sse_3(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_3() argument 199 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3() 237 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64() 245 xor_sse_4(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_4() argument 304 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4() 345 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4_pf64() 421 : [cnt] "+r" (lines), [p1] "+r" (p1), [p2] "+r" (p2), in xor_sse_5() [all …]
|
/linux-6.3-rc2/drivers/thermal/qcom/ |
A D | tsens-v0_1.c | 158 p1[0] += 2; in fixup_8974_points() 159 p1[1] += 9; in fixup_8974_points() 160 p1[2] += 3; in fixup_8974_points() 161 p1[3] += 9; in fixup_8974_points() 162 p1[4] += 5; in fixup_8974_points() 163 p1[5] += 9; in fixup_8974_points() 164 p1[6] += 7; in fixup_8974_points() 165 p1[7] += 10; in fixup_8974_points() 166 p1[8] += 8; in fixup_8974_points() 167 p1[9] += 9; in fixup_8974_points() [all …]
|
/linux-6.3-rc2/scripts/coccinelle/null/ |
A D | eno.cocci | 28 position p1,p2; 31 …= \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_allo… 36 p1 << r.p1; 40 cocci.print_main("alloc call",p1) 44 p1 << r.p1; 48 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
|
A D | deref_null.cocci | 23 position p1; 45 position p1; 60 position ifm.p1; 94 p1 << ifm.p1; 104 p1 << ifm.p1; 121 position ifm.p1; 154 p1 << ifm.p1; 163 p1 << ifm.p1; 181 position ifm.p1; 219 position p1; [all …]
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | xor_32.h | 16 sparc_2(unsigned long bytes, unsigned long * __restrict p1, in sparc_2() argument 44 : "r" (p1), "r" (p2) in sparc_2() 48 p1 += 8; in sparc_2() 54 sparc_3(unsigned long bytes, unsigned long * __restrict p1, in sparc_3() argument 95 : "r" (p1), "r" (p2), "r" (p3) in sparc_3() 99 p1 += 8; in sparc_3() 106 sparc_4(unsigned long bytes, unsigned long * __restrict p1, in sparc_4() argument 160 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4() 164 p1 += 8; in sparc_4() 239 : "r" (p1), "r" (p2), "r" (p3), "r" (p4), "r" (p5) in sparc_5() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/ |
A D | tcm.h | 53 struct tcm_pt p1; member 228 slice->p0.y != slice->p1.y && in tcm_slice() 232 slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1; in tcm_slice() 235 parent->p0.y = slice->p1.y + 1; in tcm_slice() 247 area->p1.x < area->tcm->width && in tcm_area_is_valid() 248 area->p1.y < area->tcm->height && in tcm_area_is_valid() 249 area->p0.y <= area->p1.y && in tcm_area_is_valid() 254 area->p1.x + area->p1.y * area->tcm->width) || in tcm_area_is_valid() 257 area->p0.x <= area->p1.x)); in tcm_area_is_valid() 271 i <= a->p1.x + a->p1.y * a->tcm->width; in __tcm_is_in() [all …]
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | aptina-pll.c | 23 unsigned int p1; in aptina_pll_calculate() local 132 for (p1 = p1_max & ~1; p1 >= p1_min; p1 -= 2) { in aptina_pll_calculate() 133 unsigned int mf_inc = p1 / gcd(div, p1); in aptina_pll_calculate() 137 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate() 139 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate() 145 pll->n = div * mf_low / p1; in aptina_pll_calculate() 147 pll->p1 = p1; in aptina_pll_calculate() 148 dev_dbg(dev, "PLL: N %u M %u P1 %u\n", pll->n, pll->m, pll->p1); in aptina_pll_calculate()
|
/linux-6.3-rc2/scripts/coccinelle/iterators/ |
A D | list_entry_update.cocci | 22 position p1,p2; 25 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> } 29 position r.p1,r.p2; 35 list_for_each_entry@p1(x,...) S 41 position r.p1,r.p2; 47 list_for_each_entry@p1(x,...) S 50 p1 << r.p1; 54 cocci.print_main("iterator",p1) 58 p1 << r.p1; 63 coccilib.report.print_report(p1[0],msg)
|
A D | use_after_iter.cocci | 38 position p1,p2; 43 list_for_each_entry@p1(c,...,member) { ... when != break; 48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break; 53 list_for_each_entry_continue@p1(c,...,member) { ... when != break; 63 list_for_each_entry_from@p1(c,...,member) { ... when != break; 68 list_for_each_entry_safe@p1(c,...,member) { ... when != break; 78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break; 83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break; 140 p1 << r.p1; 145 cocci.print_secs("iterator",p1) [all …]
|
/linux-6.3-rc2/arch/s390/lib/ |
A D | xor.c | 14 static void xor_xc_2(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_2() argument 32 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2() 36 static void xor_xc_3(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_3() argument 59 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3() 63 static void xor_xc_4(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_4() argument 91 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4() 95 static void xor_xc_5(unsigned long bytes, unsigned long * __restrict p1, in xor_xc_5() argument 128 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()
|