Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 165) sorted by relevance

1234567

/linux-3.4.99/include/asm-generic/
Dxor.h19 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()
33 p2 += 8; in xor_8regs_2()
[all …]
/linux-3.4.99/arch/sparc/include/asm/
Dxor_32.h24 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in sparc_2() argument
51 : "r" (p1), "r" (p2) in sparc_2()
56 p2 += 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()
106 p2 += 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()
169 p2 += 8; in sparc_4()
176 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_5() argument
[all …]
/linux-3.4.99/scripts/coccinelle/locks/
Dflags.cocci17 position p1,p2;
35 spin_lock_irqsave@p2(lock2,flags)
37 read_lock_irqsave@p2(lock2,flags)
39 write_lock_irqsave@p2(lock2,flags)
45 position r.p1, r.p2;
57 *spin_lock_irqsave@p2(lock2,flags)
59 *read_lock_irqsave@p2(lock2,flags)
61 *write_lock_irqsave@p2(lock2,flags)
68 p2 << r.p2;
72 cocci.print_secs("nested lock+irqsave that reuses flags",p2)
[all …]
Ddouble_lock.cocci68 position locked.p,p1,p2;
74 lock@p2 (E1,...);
78 p2 << r.p2;
83 cocci.print_secs("second lock",p2)
87 p2 << r.p2;
91 msg = "second lock on line %s" % (p2[0].line)
Dcall_kern.cocci40 position p1,p2;
71 fn@p2(...)
90 p2 << locked.p2;
94 cocci.print_secs("call",p2)
101 p2 << locked.p2;
104 msg = "ERROR: function %s called on line %s inside lock on line %s but uses GFP_KERNEL" % (fn,p2[0]…
/linux-3.4.99/scripts/coccinelle/api/
Dkstrdup.cocci50 position p1,p2;
57 * strcpy@p2(to, from);
63 position p1,p2;
68 * to = \(kmalloc@p1\|kzalloc@p2\)(x,flag);
72 * memcpy@p2(to, from, x);
76 p2 << r1.p2;
80 cocci.print_secs("strcpy",p2)
84 p2 << r2.p2;
88 cocci.print_secs("memcpy",p2)
92 p2 << r1.p2;
[all …]
Ddevm_request_and_ioremap.cocci73 position p1,p2;
84 *devm_ioremap@p2(dev,res->start,size)
86 *devm_ioremap_nocache@p2(dev,res->start,size)
93 p2 << pb.p2;
97 cocci.print_secs("",p2)
101 p2 << pb.p2;
104 …m_region followed by ioremap on line %s can be replaced by devm_request_and_ioremap" % (p2[0].line)
/linux-3.4.99/scripts/coccinelle/iterators/
Dlist_entry_update.cocci21 position p1,p2;
24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
28 position r.p1,r.p2;
32 *x =@p2 E
40 position r.p1,r.p2;
44 x =@p2 E
50 p2 << r.p2;
54 cocci.print_secs("update",p2)
58 p2 << r.p2;
61 msg = "iterator with update on line %s" % (p2[0].line)
Ditnull.cocci67 position p1,p2;
73 * x@p2 == NULL
75 * x@p2 != NULL
82 p2 << r.p2;
86 cocci.print_secs("useless NULL test",p2)
90 p2 << r.p2;
94 coccilib.report.print_report(p2[0], msg)
Dfen.cocci78 position p1,p2;
107 * of_node_put@p2(np);
111 p2 << r.p2;
114 cocci.print_main("unneeded of_node_put",p2)
119 p2 << r.p2;
123 coccilib.report.print_report(p2[0], msg)
/linux-3.4.99/arch/s390/include/asm/
Dkvm_para.h55 unsigned long p2) in kvm_hypercall2() argument
59 register unsigned long __p2 asm("3") = p2; in kvm_hypercall2()
69 unsigned long p2, unsigned long p3) in kvm_hypercall3() argument
73 register unsigned long __p2 asm("3") = p2; in kvm_hypercall3()
85 unsigned long p2, unsigned long p3, in kvm_hypercall4() argument
90 register unsigned long __p2 asm("3") = p2; in kvm_hypercall4()
102 unsigned long p2, unsigned long p3, in kvm_hypercall5() argument
107 register unsigned long __p2 asm("3") = p2; in kvm_hypercall5()
120 unsigned long p2, unsigned long p3, in kvm_hypercall6() argument
126 register unsigned long __p2 asm("3") = p2; in kvm_hypercall6()
/linux-3.4.99/scripts/coccinelle/misc/
Difcol.cocci22 position p1,p2;
29 if (...) S1@p1 S2@p2
34 p2 << r.p2;
37 if (p1[0].column == p2[0].column):
39 cocci.print_secs("after",p2)
43 p2 << r.p2;
46 if (p1[0].column == p2[0].column):
47 msg = "code aligned with following code on line %s" % (p2[0].line)
Dcstptr.cocci18 position p1,p2;
25 *PTR_ERR@p2(e)
29 p2 << r.p2;
32 cocci.print_main("PTR_ERR",p2)
37 p2 << r.p2;
41 coccilib.report.print_report(p2[0],msg)
/linux-3.4.99/arch/x86/include/asm/
Dxor_32.h32 xor_pII_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_pII_mmx_2() argument
67 "+r" (p1), "+r" (p2) in xor_pII_mmx_2()
75 xor_pII_mmx_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_3() argument
116 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_3()
124 xor_pII_mmx_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_4() argument
170 "+r" (p1), "+r" (p2), "+r" (p3), "+r" (p4) in xor_pII_mmx_4()
179 xor_pII_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_5() argument
238 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_5()
259 xor_p5_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_p5_mmx_2() argument
298 "+r" (p1), "+r" (p2) in xor_p5_mmx_2()
[all …]
Dxor_64.h91 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument
134 : [p1] "+r" (p1), [p2] "+r" (p2), [cnt] "+r" (lines) in xor_sse_2()
142 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3() argument
194 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3()
201 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_4() argument
260 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3), [p4] "+r" (p4) in xor_sse_4()
268 xor_sse_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_5() argument
334 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3), [p4] "+r" (p4), in xor_sse_5()
Dcmpxchg.h210 #define __cmpxchg_double(pfx, p1, p2, o1, o2, n1, n2) \ argument
214 __typeof__(*(p2)) __old2 = (o2), __new2 = (n2); \
216 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
218 VM_BUG_ON((unsigned long)((p1) + 1) != (unsigned long)(p2)); \
221 "+m" (*(p1)), "+m" (*(p2)) \
227 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
228 __cmpxchg_double(LOCK_PREFIX, p1, p2, o1, o2, n1, n2)
230 #define cmpxchg_double_local(p1, p2, o1, o2, n1, n2) \ argument
231 __cmpxchg_double(, p1, p2, o1, o2, n1, n2)
Dkvm_para.h135 unsigned long p2) in kvm_hypercall2() argument
140 : "a"(nr), "b"(p1), "c"(p2) in kvm_hypercall2()
146 unsigned long p2, unsigned long p3) in kvm_hypercall3() argument
151 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_hypercall3()
157 unsigned long p2, unsigned long p3, in kvm_hypercall4() argument
163 : "a"(nr), "b"(p1), "c"(p2), "d"(p3), "S"(p4) in kvm_hypercall4()
/linux-3.4.99/scripts/coccinelle/null/
Deno.cocci27 position p1,p2;
32 * IS_ERR@p2(x)
36 p2 << r.p2;
40 cocci.print_secs("IS_ERR that should be NULL tests",p2)
44 p2 << r.p2;
48 coccilib.report.print_report(p2[0], msg)
Dkmerr.cocci47 position p2;
55 x1@p = f@p2(...);
60 p2 << rfixed.p2;
64 cocci.print_secs("possible model",p2)
68 p2 << rfixed.p2;
71 msg = "alloc with no test, possible model on line %s" % (p2[0].line)
/linux-3.4.99/scripts/coccinelle/free/
Dclk_put.cocci22 position p1,p2,p3;
42 *if@p2 (...)
52 p2 << clk.p2;
57 cocci.print_secs("if",p2)
62 p2 << clk.p2;
66 …ing clk_put; clk_get on line %s and execution via conditional on line %s" % (p1[0].line,p2[0].line)
Diounmap.cocci22 position p1,p2,p3;
42 *if@p2 (...)
52 p2 << iom.p2;
57 cocci.print_secs("if",p2)
62 p2 << iom.p2;
66 …ing iounmap; ioremap on line %s and execution via conditional on line %s" % (p1[0].line,p2[0].line)
Dkfree.cocci74 position free.p1!=loop.ok,p2!={print.p,sz.p};
104 E@p2 // bad use
109 p2 << r.p2;
113 cocci.print_secs("ref",p2)
117 p2 << r.p2;
121 coccilib.report.print_report(p2[0],msg)
/linux-3.4.99/arch/arm/include/asm/
Dxor.h47 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()
/linux-3.4.99/drivers/tty/vt/
Dconsolemap.c215 u16 **p1, *p2; in set_inverse_trans_unicode() local
233 p2 = p1[j]; in set_inverse_trans_unicode()
234 if (!p2) in set_inverse_trans_unicode()
237 glyph = p2[k]; in set_inverse_trans_unicode()
468 u16 **p1, *p2; in con_insert_unipair() local
477 if (!(p2 = p1[n = (unicode >> 6) & 0x1f])) { in con_insert_unipair()
478 p2 = p1[n] = kmalloc(64*sizeof(u16), GFP_KERNEL); in con_insert_unipair()
479 if (!p2) return -ENOMEM; in con_insert_unipair()
480 memset(p2, 0xff, 64*sizeof(u16)); /* No glyphs for the characters (yet) */ in con_insert_unipair()
483 p2[unicode & 0x3f] = fontpos; in con_insert_unipair()
[all …]
/linux-3.4.99/arch/powerpc/include/asm/
Dkvm_para.h159 unsigned long p2) in kvm_hypercall2() argument
165 in[1] = p2; in kvm_hypercall2()
170 unsigned long p2, unsigned long p3) in kvm_hypercall3() argument
176 in[1] = p2; in kvm_hypercall3()
182 unsigned long p2, unsigned long p3, in kvm_hypercall4() argument
189 in[1] = p2; in kvm_hypercall4()

1234567