/Linux-v5.10/include/asm-generic/ |
D | xor.h | 11 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_8regs_2() argument 16 p1[0] ^= p2[0]; in xor_8regs_2() 17 p1[1] ^= p2[1]; in xor_8regs_2() 18 p1[2] ^= p2[2]; in xor_8regs_2() 19 p1[3] ^= p2[3]; in xor_8regs_2() 20 p1[4] ^= p2[4]; in xor_8regs_2() 21 p1[5] ^= p2[5]; in xor_8regs_2() 22 p1[6] ^= p2[6]; in xor_8regs_2() 23 p1[7] ^= p2[7]; in xor_8regs_2() 25 p2 += 8; in xor_8regs_2() [all …]
|
/Linux-v5.10/scripts/coccinelle/misc/ |
D | array_size_dup.cocci | 30 position p1, p2; 36 * array_size(E1, E2)@p2 40 p2 << as_next.p2; 43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 48 p2 << as_next.p2; 51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 59 position p1, p2; 65 * E1 * E2@p2 69 p2 << as_prev.p2; 73 coccilib.report.print_report(p2[0], msg) [all …]
|
D | ifcol.cocci | 23 position p1,p2; 30 if (...) S1@p1 S2@p2 35 p2 << r.p2; 38 if (p1[0].column == p2[0].column): 40 cocci.print_secs("after",p2) 44 p2 << r.p2; 47 if (p1[0].column == p2[0].column): 48 msg = "code aligned with following code on line %s" % (p2[0].line)
|
D | cstptr.cocci | 19 position p1,p2; 26 *PTR_ERR@p2(e) 30 p2 << r.p2; 33 cocci.print_main("PTR_ERR",p2) 38 p2 << r.p2; 42 coccilib.report.print_report(p2[0],msg)
|
/Linux-v5.10/drivers/thermal/qcom/ |
D | tsens-v0_1.c | 196 u32 p1[5], p2[5]; in calibrate_8916() local 216 p2[0] = (qfprom_cdata[0] & MSM8916_S0_P2_MASK) >> MSM8916_S0_P2_SHIFT; in calibrate_8916() 217 p2[1] = (qfprom_cdata[0] & MSM8916_S1_P2_MASK) >> MSM8916_S1_P2_SHIFT; in calibrate_8916() 218 p2[2] = (qfprom_cdata[1] & MSM8916_S2_P2_MASK) >> MSM8916_S2_P2_SHIFT; in calibrate_8916() 219 p2[3] = (qfprom_cdata[1] & MSM8916_S3_P2_MASK) >> MSM8916_S3_P2_SHIFT; in calibrate_8916() 220 p2[4] = (qfprom_cdata[1] & MSM8916_S4_P2_MASK) >> MSM8916_S4_P2_SHIFT; in calibrate_8916() 222 p2[i] = ((base1 + p2[i]) << 3); in calibrate_8916() 237 p2[i] = 780; in calibrate_8916() 242 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916() 252 u32 p1[10], p2[10]; in calibrate_8939() local [all …]
|
D | tsens-v1.c | 146 u32 *p1, u32 *p2, u32 mode) in compute_intercept_slope_8976() argument 172 u32 p1[10], p2[10]; in calibrate_v1() local 187 p2[0] = (qfprom_cdata[0] & S0_P2_MASK) >> S0_P2_SHIFT; in calibrate_v1() 188 p2[1] = (qfprom_cdata[0] & S1_P2_MASK) >> S1_P2_SHIFT; in calibrate_v1() 192 p2[2] = msb << 2 | lsb; in calibrate_v1() 193 p2[3] = (qfprom_cdata[1] & S3_P2_MASK) >> S3_P2_SHIFT; in calibrate_v1() 194 p2[4] = (qfprom_cdata[1] & S4_P2_MASK) >> S4_P2_SHIFT; in calibrate_v1() 195 p2[5] = (qfprom_cdata[2] & S5_P2_MASK) >> S5_P2_SHIFT; in calibrate_v1() 196 p2[6] = (qfprom_cdata[2] & S6_P2_MASK) >> S6_P2_SHIFT; in calibrate_v1() 200 p2[7] = msb << 2 | lsb; in calibrate_v1() [all …]
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | of_helpers.c | 49 const __be32 *p2; in of_read_drc_info_cell() local 67 p2 = (const __be32 *)p; in of_read_drc_info_cell() 68 data->drc_index_start = be32_to_cpu(*p2); in of_read_drc_info_cell() 71 p2 = of_prop_next_u32(*prop, p2, &data->drc_name_suffix_start); in of_read_drc_info_cell() 72 if (!p2) in of_read_drc_info_cell() 76 p2 = of_prop_next_u32(*prop, p2, &data->num_sequential_elems); in of_read_drc_info_cell() 77 if (!p2) in of_read_drc_info_cell() 81 p2 = of_prop_next_u32(*prop, p2, &data->sequential_inc); in of_read_drc_info_cell() 82 if (!p2) in of_read_drc_info_cell() 86 p2 = of_prop_next_u32(*prop, p2, &data->drc_power_domain); in of_read_drc_info_cell() [all …]
|
/Linux-v5.10/arch/s390/include/asm/ |
D | kvm_para.h | 61 unsigned long p2) in __kvm_hypercall2() argument 65 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall2() 75 unsigned long p2) in kvm_hypercall2() argument 78 return __kvm_hypercall2(nr, p1, p2); in kvm_hypercall2() 82 unsigned long p2, unsigned long p3) in __kvm_hypercall3() argument 86 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall3() 97 unsigned long p2, unsigned long p3) in kvm_hypercall3() argument 100 return __kvm_hypercall3(nr, p1, p2, p3); in kvm_hypercall3() 104 unsigned long p2, unsigned long p3, in __kvm_hypercall4() argument 109 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall4() [all …]
|
D | cmpxchg.h | 36 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument 39 register __typeof__(*(p2)) __old2 asm("3") = (o2); \ 41 register __typeof__(*(p2)) __new2 asm("5") = (n2); \ 49 [ptr] "Q" (*(p1)), "Q" (*(p2)) \ 54 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument 57 __typeof__(p2) __p2 = (p2); \ 59 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | xor_32.h | 16 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in sparc_2() argument 43 : "r" (p1), "r" (p2) in sparc_2() 48 p2 += 8; in sparc_2() 53 sparc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_3() argument 93 : "r" (p1), "r" (p2), "r" (p3) in sparc_3() 98 p2 += 8; in sparc_3() 104 sparc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_4() argument 156 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4() 161 p2 += 8; in sparc_4() 168 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_5() argument [all …]
|
/Linux-v5.10/scripts/coccinelle/api/ |
D | d_find_alias.cocci | 19 position p1, p2; 37 return @p2 ...; 39 dent@p2 = E1; 46 position r.p1,r.p2; 51 * return@p2 ...; 53 * dent@p2 59 p2 << r.p2; 62 cocci.print_secs("",p2) 66 position r.p2; 70 return @p2 ...; [all …]
|
D | atomic_as_refcounter.cocci | 15 position p1, p2; 40 fname@p2(a, ...); 42 fname2@p2(...); 44 fname3@p2(...); 46 fname4@p2(...); 48 fname5@p2(...); 50 fname6@p2(...); 56 p2 << r1.p2; 59 coccilib.report.print_report(p1[0], msg % (p2[0].line)) 63 position p1, p2; [all …]
|
D | kstrdup.cocci | 51 position p1,p2; 58 * strcpy@p2(to, from); 64 position p1,p2; 73 * memcpy@p2(to, from, x); 77 p2 << r1.p2; 81 cocci.print_secs("strcpy",p2) 85 p2 << r2.p2; 89 cocci.print_secs("memcpy",p2) 93 p2 << r1.p2; 96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line) [all …]
|
D | check_bq27xxx_data.cocci | 69 position p2; 72 u8 i2regs@p2[...] = { i2regs_vals, }; 80 p2 << getregs2.p2; 89 i1regs i2regs (List.hd p2).line in 105 position p2; 108 struct bq27xxx_dm_reg i2dmregs@p2[] = { i2dmregs_vals, }; 116 p2 << getdmregs2.p2; 125 i1dmregs i2dmregs (List.hd p2).line in 141 position p2; 144 enum power_supply_property i2props@p2[] = { i2props_vals, }; [all …]
|
/Linux-v5.10/arch/arm/include/asm/ |
D | xor.h | 47 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument 61 XOR_BLOCK_4(p2); in xor_arm4regs_2() 67 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument 82 XOR_BLOCK_4(p2); in xor_arm4regs_3() 89 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument 100 XOR_BLOCK_2(p2); in xor_arm4regs_4() 108 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument 119 XOR_BLOCK_2(p2); in xor_arm4regs_5() 149 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_neon_2() argument 152 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2() [all …]
|
/Linux-v5.10/scripts/coccinelle/locks/ |
D | flags.cocci | 18 position p1,p2; 36 spin_lock_irqsave@p2(lock2,flags) 38 read_lock_irqsave@p2(lock2,flags) 40 write_lock_irqsave@p2(lock2,flags) 46 position r.p1, r.p2; 58 *spin_lock_irqsave@p2(lock2,flags) 60 *read_lock_irqsave@p2(lock2,flags) 62 *write_lock_irqsave@p2(lock2,flags) 69 p2 << r.p2; 73 cocci.print_secs("nested lock+irqsave that reuses flags",p2) [all …]
|
/Linux-v5.10/arch/x86/include/asm/ |
D | xor_avx.h | 56 unsigned long *p2) in xor_avx_3() argument 66 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p2[i / sizeof(*p2)])); \ in xor_avx_3() 79 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3() 86 unsigned long *p2, unsigned long *p3) in xor_avx_4() argument 98 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_4() 111 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4() 119 unsigned long *p2, unsigned long *p3, unsigned long *p4) in xor_avx_5() argument 133 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_5() 146 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_5()
|
D | xor.h | 60 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument 103 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2() 111 xor_sse_2_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2_pf64() argument 137 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64() 145 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3() argument 196 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3() 204 xor_sse_3_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3_pf64() argument 233 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64() 241 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_4() argument 299 [p2] "+r" (p2), [p3] "+r" (p3), [p4] "+r" (p4) in xor_sse_4() [all …]
|
D | xor_32.h | 24 xor_pII_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_pII_mmx_2() argument 59 "+r" (p1), "+r" (p2) in xor_pII_mmx_2() 67 xor_pII_mmx_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_3() argument 108 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_3() 116 xor_pII_mmx_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_4() argument 162 "+r" (p1), "+r" (p2), "+r" (p3), "+r" (p4) in xor_pII_mmx_4() 171 xor_pII_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_5() argument 230 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_5() 251 xor_p5_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_p5_mmx_2() argument 290 "+r" (p1), "+r" (p2) in xor_p5_mmx_2() [all …]
|
/Linux-v5.10/arch/s390/lib/ |
D | xor.c | 14 static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_xc_2() argument 31 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2() 35 static void xor_xc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_3() argument 57 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3() 61 static void xor_xc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_4() argument 87 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4() 91 static void xor_xc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_5() argument 124 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()
|
/Linux-v5.10/scripts/coccinelle/iterators/ |
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; 33 *x =@p2 E 41 position r.p1,r.p2; 45 x =@p2 E 51 p2 << r.p2; 55 cocci.print_secs("update",p2) 59 p2 << r.p2; 62 msg = "iterator with update on line %s" % (p2[0].line)
|
/Linux-v5.10/scripts/coccinelle/free/ |
D | pci_free_consistent.cocci | 16 position p1,p2; 35 return@p2 ...; 40 p2 << search.p2; 43 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line) 44 coccilib.report.print_report(p2[0],msg) 48 p2 << search.p2; 51 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line) 53 cocci.print_secs("",p2)
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | xor.h | 19 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_neon_2() argument 22 xor_block_inner_neon.do_2(bytes, p1, p2); in xor_neon_2() 27 xor_neon_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_neon_3() argument 31 xor_block_inner_neon.do_3(bytes, p1, p2, p3); in xor_neon_3() 36 xor_neon_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_neon_4() argument 40 xor_block_inner_neon.do_4(bytes, p1, p2, p3, p4); in xor_neon_4() 45 xor_neon_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_neon_5() argument 49 xor_block_inner_neon.do_5(bytes, p1, p2, p3, p4, p5); in xor_neon_5()
|
/Linux-v5.10/tools/testing/selftests/ftrace/test.d/instances/ |
D | instance-event.tc | 51 p2=$! 52 echo $p2 61 kill -1 $p2 65 wait $p1 $p2 $p3 103 p2=$! 104 echo $p2 122 kill -1 $p2 128 wait $p1 $p2 $p3 $p4 $p5
|
/Linux-v5.10/drivers/tty/vt/ |
D | consolemap.c | 227 u16 **p1, *p2; in set_inverse_trans_unicode() local 245 p2 = p1[j]; in set_inverse_trans_unicode() 246 if (!p2) in set_inverse_trans_unicode() 249 glyph = p2[k]; in set_inverse_trans_unicode() 478 u16 **p1, *p2; in con_insert_unipair() local 489 p2 = p1[n = (unicode >> 6) & 0x1f]; in con_insert_unipair() 490 if (!p2) { in con_insert_unipair() 491 p2 = p1[n] = kmalloc_array(64, sizeof(u16), GFP_KERNEL); in con_insert_unipair() 492 if (!p2) return -ENOMEM; in con_insert_unipair() 493 memset(p2, 0xff, 64*sizeof(u16)); /* No glyphs for the characters (yet) */ in con_insert_unipair() [all …]
|