Home
last modified time | relevance | path

Searched full:p1 (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/linux-6.12.1/include/asm-generic/
Dxor.h11 xor_8regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_2() argument
17 p1[0] ^= p2[0]; in xor_8regs_2()
18 p1[1] ^= p2[1]; in xor_8regs_2()
19 p1[2] ^= p2[2]; in xor_8regs_2()
20 p1[3] ^= p2[3]; in xor_8regs_2()
21 p1[4] ^= p2[4]; in xor_8regs_2()
22 p1[5] ^= p2[5]; in xor_8regs_2()
23 p1[6] ^= p2[6]; in xor_8regs_2()
24 p1[7] ^= p2[7]; in xor_8regs_2()
25 p1 += 8; in xor_8regs_2()
[all …]
/linux-6.12.1/scripts/coccinelle/api/
Datomic_as_refcounter.cocci15 position p1, p2;
26 atomic_dec_and_test@p1(&(a)->x)
28 atomic_dec_and_lock@p1(&(a)->x, ...)
30 atomic_long_dec_and_lock@p1(&(a)->x, ...)
32 atomic_long_dec_and_test@p1(&(a)->x)
34 atomic64_dec_and_test@p1(&(a)->x)
36 local_dec_and_test@p1(&(a)->x)
55 p1 << r1.p1;
59 coccilib.report.print_report(p1[0], msg % (p2[0].line))
63 position p1, p2;
[all …]
Dkstrdup.cocci51 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;
88 cocci.print_main("WARNING opportunity for kstrdup",p1)
92 p1 << r1.p1;
97 coccilib.report.print_report(p1[0], msg)
[all …]
Dd_find_alias.cocci19 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.12.1/scripts/coccinelle/misc/
Darray_size_dup.cocci30 position p1, p2;
33 * E1 * E2@p1
39 p1 << as_next.p1;
44 coccilib.report.print_report(p1[0], msg)
47 p1 << as_next.p1;
52 coccilib.org.print_todo(p1[0], msg)
59 position p1, p2;
62 * array_size(E1, E2)@p1
68 p1 << as_prev.p1;
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
[all …]
/linux-6.12.1/include/uapi/linux/
Dultrasound.h26 * bytes 4 and 5 - parameter P1 (unsigned short)
31 * Unused parameters (P1 and/or P2 *MUST* be initialized to zero).
32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16)
34 * _GUS_VOICEON - Starts voice (P1=voice mode)
37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode)
38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7)
39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz)
40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
45 * _GUS_RAMPRANGE - Sets limits for volume ramping (P1=low volume, P2=high volume)
[all …]
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh194 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1"
199 " C0-1 . . C2-3 P1 . . . 0 "
200 " C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 "
201 " C0-1 . . C2-3 P1:S+ C1:P1 . . 0 "
202 " C0-1:S+ . . C2-3 . . . P1 0 "
203 " C0-1:P1 . . C2-3 S+ C1 . . 0 "
204 " C0-1:P1 . . C2-3 S+ C1:P1 . . 0 "
205 " C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 "
206 " C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5"
207 " C0-1:P1 . . C2-3 S+:C4-5 . . . 0 A1:4-5"
[all …]
/linux-6.12.1/drivers/media/i2c/
Daptina-pll.c23 unsigned int p1; in aptina_pll_calculate() local
40 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate()
45 /* We now have the smallest M and N*P1 values that will result in the in aptina_pll_calculate()
53 * - minimum/maximum combined N*P1 divisor in aptina_pll_calculate()
66 dev_err(dev, "pll: no valid combined N*P1 divisor.\n"); in aptina_pll_calculate()
71 * We're looking for the highest acceptable P1 value for which a in aptina_pll_calculate()
74 * 1. p1 is in the [p1_min, p1_max] range given by the limits and is in aptina_pll_calculate()
77 * 3. div * mf is a multiple of p1, in order to compute in aptina_pll_calculate()
78 * n = div * mf / p1 in aptina_pll_calculate()
85 * The first naive approach is to iterate over all p1 values acceptable in aptina_pll_calculate()
[all …]
/linux-6.12.1/scripts/coccinelle/locks/
Ddouble_lock.cocci18 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
38 write_trylock@p1
42 position p1 != locked.p1;
[all …]
Dmini_lock.cocci22 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 …]
Dcall_kern.cocci41 position p1,p2;
45 read_lock_irq@p1
47 write_lock_irq@p1
49 read_lock_irqsave@p1
51 write_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
[all …]
Dflags.cocci18 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 …]
/linux-6.12.1/tools/testing/selftests/landlock/
Dscoped_base_variants.h23 * P1-. P1 -> P2 : allow
24 * \ P2 -> P1 : allow
38 * P1--. P1 -> P2 : allow
39 * \ P2 -> P1 : deny
55 * | P1 --. P1 -> P2 : deny
56 * '------' \ P2 -> P1 : allow
71 * | P1 ---. P1 -> P2 : deny
72 * '------' \ P2 -> P1 : deny
88 * | P1----. | P1 -> P2 : allow
89 * | \ | P2 -> P1 : allow
[all …]
/linux-6.12.1/scripts/coccinelle/null/
Deno.cocci28 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)
Dderef_null.cocci23 position p1;
26 (E != NULL && ...) ? <+...E->f@p1...+> : ...
45 position p1;
48 if@p1 ((E == NULL && ...) || ...) S1 else S2
59 position p!={pr1.p1,pr2.p2};
60 position ifm.p1;
63 if@p1 ((E == NULL && ...) || ...)
94 p1 << ifm.p1;
104 p1 << ifm.p1;
120 position p!={pr1.p1,pr2.p2};
[all …]
/linux-6.12.1/arch/arm/include/asm/
Dxor.h47 xor_arm4regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_2() argument
61 GET_BLOCK_4(p1); in xor_arm4regs_2()
63 PUT_BLOCK_4(p1); in xor_arm4regs_2()
68 xor_arm4regs_3(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_3() argument
83 GET_BLOCK_4(p1); in xor_arm4regs_3()
86 PUT_BLOCK_4(p1); in xor_arm4regs_3()
91 xor_arm4regs_4(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_4() argument
103 GET_BLOCK_2(p1); in xor_arm4regs_4()
107 PUT_BLOCK_2(p1); in xor_arm4regs_4()
112 xor_arm4regs_5(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_5() argument
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dxor.h39 #define PF0(x) " prefetchnta "PF_OFFS(x)"(%[p1]) ;\n"
40 #define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n"
41 #define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n"
60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2() argument
99 " add %[inc], %[p1] ;\n" in xor_sse_2()
104 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
112 xor_sse_2_pf64(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2_pf64() argument
134 " add %[inc], %[p1] ;\n" in xor_sse_2_pf64()
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
[all …]
Dxor_avx.h30 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()
88 const unsigned long * __restrict p1, in xor_avx_4() argument
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
[all …]
Dkvm_para.h48 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()
77 static inline long kvm_hypercall3(unsigned int nr, unsigned long p1, in kvm_hypercall3() argument
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()
92 static inline long kvm_hypercall4(unsigned int nr, unsigned long p1, in kvm_hypercall4() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Di2c_.fuc102 bclr $flags $p1
106 bset $flags $p1
111 bclr $flags $p1
115 bset $flags $p1
166 bra $p1 #i2c_raise_scl_done
175 bra not $p1 #i2c_start_rep
177 bra not $p1 #i2c_start_rep
183 bra not $p1 #i2c_start_out
210 bra not $p1 #i2c_bitw_out
225 bra not $p1 #i2c_bitr_done
[all …]
/linux-6.12.1/scripts/coccinelle/iterators/
Duse_after_iter.cocci38 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;
58 list_for_each_entry_continue_reverse@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;
73 list_for_each_entry_safe_continue@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;
[all …]
Dlist_entry_update.cocci22 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)
/linux-6.12.1/drivers/ata/pata_parport/
Don26.c28 #define P1 \ macro
51 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
57 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
79 w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr()
113 w0(2); P1; w0(8); P2; in on26_connect()
114 w0(2); P1; w0(x); P2; in on26_connect()
122 w0(4); P1; w0(4); P1; in on26_disconnect()
156 w0(2); P1; w0(0); P2; in on26_test_port()
157 w0(3); P1; w0(0); P2; in on26_test_port()
158 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port()
[all …]
/linux-6.12.1/arch/arm64/lib/
Dxor-neon.c13 static void xor_arm64_neon_2(unsigned long bytes, unsigned long * __restrict p1, in xor_arm64_neon_2() argument
16 uint64_t *dp1 = (uint64_t *)p1; in xor_arm64_neon_2()
23 /* p1 ^= p2 */ in xor_arm64_neon_2()
40 static void xor_arm64_neon_3(unsigned long bytes, unsigned long * __restrict p1, in xor_arm64_neon_3() argument
44 uint64_t *dp1 = (uint64_t *)p1; in xor_arm64_neon_3()
52 /* p1 ^= p2 */ in xor_arm64_neon_3()
58 /* p1 ^= p3 */ in xor_arm64_neon_3()
76 static void xor_arm64_neon_4(unsigned long bytes, unsigned long * __restrict p1, in xor_arm64_neon_4() argument
81 uint64_t *dp1 = (uint64_t *)p1; in xor_arm64_neon_4()
90 /* p1 ^= p2 */ in xor_arm64_neon_4()
[all …]
/linux-6.12.1/scripts/coccinelle/free/
Dkfree.cocci21 position p1;
25 kfree@p1(E)
27 kfree_sensitive@p1(E)
83 position free.p1!=loop.ok,p2!={print.p,sz.p};
87 kfree@p1(E,...)
89 kfree_sensitive@p1(E,...)
121 p1 << free.p1;
125 cocci.print_main("kfree",p1)
129 p1 << free.p1;
133 msg = "ERROR: reference preceded by free on line %s" % (p1[0].line)

12345678910>>...34