/Linux-v4.19/include/asm-generic/ |
D | xor.h | 19 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_8regs_2() argument 24 p1[0] ^= p2[0]; in xor_8regs_2() 25 p1[1] ^= p2[1]; in xor_8regs_2() 26 p1[2] ^= p2[2]; in xor_8regs_2() 27 p1[3] ^= p2[3]; in xor_8regs_2() 28 p1[4] ^= p2[4]; in xor_8regs_2() 29 p1[5] ^= p2[5]; in xor_8regs_2() 30 p1[6] ^= p2[6]; in xor_8regs_2() 31 p1[7] ^= p2[7]; in xor_8regs_2() 32 p1 += 8; in xor_8regs_2() [all …]
|
/Linux-v4.19/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 14 position p1, p2; 25 atomic_dec_and_test@p1(&(a)->x) 27 atomic_dec_and_lock@p1(&(a)->x, ...) 29 atomic_long_dec_and_lock@p1(&(a)->x, ...) 31 atomic_long_dec_and_test@p1(&(a)->x) 33 atomic64_dec_and_test@p1(&(a)->x) 35 local_dec_and_test@p1(&(a)->x) 54 p1 << r1.p1; 58 coccilib.report.print_report(p1[0], msg % (p2[0].line)) 62 position p1, p2; [all …]
|
D | kstrdup.cocci | 50 position p1,p2; 53 * to = kmalloc@p1(strlen(from) + 1,flag); 63 position p1,p2; 68 * to = \(kmalloc@p1\|kzalloc@p2\)(x,flag); 75 p1 << r1.p1; 79 cocci.print_main("WARNING opportunity for kstrdep",p1) 83 p1 << r2.p1; 87 cocci.print_main("WARNING opportunity for kstrdep",p1) 91 p1 << r1.p1; 96 coccilib.report.print_report(p1[0], msg) [all …]
|
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-v4.19/drivers/thermal/qcom/ |
D | tsens-8974.c | 106 u32 p1[11], p2[11]; in calibrate_8974() local 144 p1[0] = (bkp[0] & S0_P1_MASK) >> S0_P1_SHIFT; in calibrate_8974() 145 p1[1] = (bkp[0] & S1_P1_MASK) >> S1_P1_SHIFT; in calibrate_8974() 146 p1[2] = (bkp[0] & S2_P1_MASK) >> S2_P1_SHIFT; in calibrate_8974() 147 p1[3] = (bkp[0] & S3_P1_MASK) >> S3_P1_SHIFT; in calibrate_8974() 148 p1[4] = (bkp[1] & S4_P1_MASK); in calibrate_8974() 149 p1[5] = (bkp[1] & S5_P1_MASK) >> S5_P1_SHIFT; in calibrate_8974() 150 p1[6] = (bkp[1] & S6_P1_MASK) >> S6_P1_SHIFT; in calibrate_8974() 151 p1[7] = (bkp[1] & S7_P1_MASK) >> S7_P1_SHIFT; in calibrate_8974() 152 p1[8] = (bkp[2] & S8_P1_MASK_BKP) >> S8_P1_SHIFT; in calibrate_8974() [all …]
|
/Linux-v4.19/include/uapi/linux/ |
D | ultrasound.h | 76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument 80 *(unsigned short*)&_seqbuf[_seqbufptr+4] = p1;\ 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 [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | kvm_para.h | 43 static inline long __kvm_hypercall1(unsigned long nr, unsigned long p1) in __kvm_hypercall1() argument 46 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall1() 54 static inline long kvm_hypercall1(unsigned long nr, unsigned long p1) in kvm_hypercall1() argument 57 return __kvm_hypercall1(nr, p1); in kvm_hypercall1() 60 static inline long __kvm_hypercall2(unsigned long nr, unsigned long p1, in __kvm_hypercall2() argument 64 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall2() 74 static inline long kvm_hypercall2(unsigned long nr, unsigned long p1, in kvm_hypercall2() argument 78 return __kvm_hypercall2(nr, p1, p2); in kvm_hypercall2() 81 static inline long __kvm_hypercall3(unsigned long nr, unsigned long p1, in __kvm_hypercall3() argument 85 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall3() [all …]
|
/Linux-v4.19/scripts/coccinelle/locks/ |
D | double_lock.cocci | 17 position p1; 23 mutex_lock@p1 25 mutex_trylock@p1 27 spin_lock@p1 29 spin_trylock@p1 31 read_lock@p1 33 read_trylock@p1 35 write_lock@p1 37 write_trylock@p1 41 position p1 != locked.p1; [all …]
|
D | mini_lock.cocci | 21 position p1,p; 26 mutex_lock@p1 28 mutex_trylock@p1 30 spin_lock@p1 32 spin_trylock@p1 34 read_lock@p1 36 read_trylock@p1 38 write_lock@p1 40 write_trylock@p1 42 read_lock_irq@p1 [all …]
|
D | flags.cocci | 17 position p1,p2; 21 spin_lock_irqsave@p1(lock1,flags) 23 read_lock_irqsave@p1(lock1,flags) 25 write_lock_irqsave@p1(lock1,flags) 45 position r.p1, r.p2; 49 *spin_lock_irqsave@p1(lock1,flags) 51 *read_lock_irqsave@p1(lock1,flags) 53 *write_lock_irqsave@p1(lock1,flags) 67 p1 << r.p1; 71 cocci.print_main("original lock",p1) [all …]
|
D | call_kern.cocci | 40 position p1,p2; 44 read_lock_irq@p1 46 write_lock_irq@p1 48 read_lock_irqsave@p1 50 write_lock_irqsave@p1 52 spin_lock@p1 54 spin_trylock@p1 56 spin_lock_irq@p1 58 spin_lock_irqsave@p1 60 local_irq_disable@p1 [all …]
|
/Linux-v4.19/arch/arm/include/asm/ |
D | xor.h | 50 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument 63 GET_BLOCK_4(p1); in xor_arm4regs_2() 65 PUT_BLOCK_4(p1); in xor_arm4regs_2() 70 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument 84 GET_BLOCK_4(p1); in xor_arm4regs_3() 87 PUT_BLOCK_4(p1); in xor_arm4regs_3() 92 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument 102 GET_BLOCK_2(p1); in xor_arm4regs_4() 106 PUT_BLOCK_2(p1); in xor_arm4regs_4() 111 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | xor_avx.h | 35 static void xor_avx_2(unsigned long bytes, unsigned long *p0, unsigned long *p1) in xor_avx_2() argument 45 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p1[i / sizeof(*p1)])); \ in xor_avx_2() 55 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 61 static void xor_avx_3(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_3() argument 74 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3() 84 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 91 static void xor_avx_4(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_4() argument 106 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_4() 116 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4() 124 static void xor_avx_5(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_5() argument [all …]
|
D | xor.h | 68 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument 111 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2() 119 xor_sse_2_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2_pf64() argument 145 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64() 153 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3() argument 204 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3() 212 xor_sse_3_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3_pf64() argument 241 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64() 249 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_4() argument 306 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4() [all …]
|
/Linux-v4.19/arch/nds32/kernel/ |
D | ex-scall.S | 22 move $p1, $r0 23 addi $p1, $p1, #THREAD_CPU_CONTEXT 24 smw.bi $r6, [$p1], $r14, #0xb ! push r6~r14, fp, lp, sp 54 andi $p1, $p0, #_TIF_WORK_SYSCALL_ENTRY ! are we tracing syscalls? 55 bnez $p1, __sys_trace 59 addi $p1, $r7, #-__NR_syscalls ! syscall number of syscall instruction is guarded by addembler 60 bgez $p1, _SCNO_EXCEED ! call sys_* routine 62 slli $p1, $r7, #2 63 add $p1, tbl, $p1 64 lwi $p1, [$p1] [all …]
|
D | ex-entry.S | 48 movi $p1, #0x0 49 cmovz $fp, $p1, $p0 87 andi $p1, $p0, #NDS32_VECTOR_mskNONEXCEPTION 88 bnez $p1, 1f 91 sethi $p1, hi20(exception_handlers) 92 ori $p1, $p1, lo12(exception_handlers) 93 lw $p1, [$p1+$p0<<2] 105 jr $p1 109 addi $p1, $p0, #-NDS32_VECTOR_offEXCEPTION 110 bnez $p1, 2f [all …]
|
/Linux-v4.19/scripts/coccinelle/null/ |
D | eno.cocci | 27 position p1,p2; 30 …= \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_allo… 35 p1 << r.p1; 39 cocci.print_main("alloc call",p1) 43 p1 << r.p1; 47 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
|
D | deref_null.cocci | 22 position p1; 25 (E != NULL && ...) ? <+...E->f@p1...+> : ... 44 position p1; 47 if@p1 ((E == NULL && ...) || ...) S1 else S2 58 position p!={pr1.p1,pr2.p2}; 59 position ifm.p1; 62 if@p1 ((E == NULL && ...) || ...) 93 p1 << ifm.p1; 103 p1 << ifm.p1; 119 position p!={pr1.p1,pr2.p2}; [all …]
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | xor_32.h | 24 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in sparc_2() argument 51 : "r" (p1), "r" (p2) in sparc_2() 55 p1 += 8; in sparc_2() 61 sparc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_3() argument 101 : "r" (p1), "r" (p2), "r" (p3) in sparc_3() 105 p1 += 8; in sparc_3() 112 sparc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_4() argument 164 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4() 168 p1 += 8; in sparc_4() 176 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_5() argument [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | tcm.h | 53 struct tcm_pt p1; member 228 slice->p0.y != slice->p1.y && in tcm_slice() 229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice() 231 slice->p1.x = slice->tcm->width - 1; 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() [all …]
|
/Linux-v4.19/drivers/tty/vt/ |
D | consolemap.c | 227 u16 **p1, *p2; in set_inverse_trans_unicode() local 241 p1 = p->uni_pgdir[i]; in set_inverse_trans_unicode() 242 if (!p1) in set_inverse_trans_unicode() 245 p2 = p1[j]; in set_inverse_trans_unicode() 398 u16 **p1; in con_release_unimap() local 403 p1 = p->uni_pgdir[i]; in con_release_unimap() 404 if (p1 != NULL) { in con_release_unimap() 406 kfree(p1[j]); in con_release_unimap() 407 kfree(p1); in con_release_unimap() 446 u16 **p1, **q1; in con_unify_unimap() local [all …]
|
/Linux-v4.19/arch/s390/lib/ |
D | xor.c | 13 static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_xc_2() argument 30 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2() 34 static void xor_xc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_3() argument 56 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3() 60 static void xor_xc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_4() argument 86 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4() 90 static void xor_xc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_5() argument 123 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()
|
/Linux-v4.19/scripts/coccinelle/iterators/ |
D | list_entry_update.cocci | 21 position p1,p2; 24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> } 28 position r.p1,r.p2; 34 list_for_each_entry@p1(x,...) S 40 position r.p1,r.p2; 46 list_for_each_entry@p1(x,...) S 49 p1 << r.p1; 53 cocci.print_main("iterator",p1) 57 p1 << r.p1; 62 coccilib.report.print_report(p1[0],msg)
|
/Linux-v4.19/drivers/media/i2c/ |
D | aptina-pll.c | 32 unsigned int p1; in aptina_pll_calculate() local 141 for (p1 = p1_max & ~1; p1 >= p1_min; p1 -= 2) { in aptina_pll_calculate() 142 unsigned int mf_inc = p1 / gcd(div, p1); in aptina_pll_calculate() 146 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate() 148 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate() 154 pll->n = div * mf_low / p1; in aptina_pll_calculate() 156 pll->p1 = p1; in aptina_pll_calculate() 157 dev_dbg(dev, "PLL: N %u M %u P1 %u\n", pll->n, pll->m, pll->p1); in aptina_pll_calculate()
|
/Linux-v4.19/scripts/coccinelle/misc/ |
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)
|