/Linux-v6.1/include/asm-generic/ |
D | xor.h | 11 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-v6.1/tools/testing/selftests/cgroup/ |
D | test_cpuset_prs.sh | 195 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1" 200 " S+ C0-1 . . C2-3 P1 . . . 0 " 201 " S+ C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 " 202 " S+ C0-1 . . C2-3 P1:S+ C1:P1 . . 0 " 203 " S+ C0-1:S+ . . C2-3 . . . P1 0 " 204 " S+ C0-1:P1 . . C2-3 S+ C1 . . 0 " 205 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . . 0 " 206 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 " 207 " S+ C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5" 208 " S+ C0-1:P1 . . C2-3 S+:C4-5 . . . 0 A1:4-5" [all …]
|
/Linux-v6.1/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 15 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 …]
|
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; 88 cocci.print_main("WARNING opportunity for kstrdup",p1) 92 p1 << r1.p1; 97 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-v6.1/scripts/coccinelle/misc/ |
D | array_size_dup.cocci | 30 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-v6.1/include/uapi/linux/ |
D | ultrasound.h | 26 * 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-v6.1/drivers/media/i2c/ |
D | aptina-pll.c | 24 unsigned int p1; in aptina_pll_calculate() local 41 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate() 46 /* We now have the smallest M and N*P1 values that will result in the in aptina_pll_calculate() 54 * - minimum/maximum combined N*P1 divisor in aptina_pll_calculate() 67 dev_err(dev, "pll: no valid combined N*P1 divisor.\n"); in aptina_pll_calculate() 72 * We're looking for the highest acceptable P1 value for which a in aptina_pll_calculate() 75 * 1. p1 is in the [p1_min, p1_max] range given by the limits and is in aptina_pll_calculate() 78 * 3. div * mf is a multiple of p1, in order to compute in aptina_pll_calculate() 79 * n = div * mf / p1 in aptina_pll_calculate() 86 * The first naive approach is to iterate over all p1 values acceptable in aptina_pll_calculate() [all …]
|
/Linux-v6.1/drivers/thermal/qcom/ |
D | tsens-v0_1.c | 229 u32 p1[5], p2[5]; in calibrate_8916() local 259 p1[0] = (qfprom_cdata[0] & MSM8916_S0_P1_MASK) >> MSM8916_S0_P1_SHIFT; in calibrate_8916() 260 p1[1] = (qfprom_cdata[0] & MSM8916_S1_P1_MASK) >> MSM8916_S1_P1_SHIFT; in calibrate_8916() 261 p1[2] = (qfprom_cdata[0] & MSM8916_S2_P1_MASK) >> MSM8916_S2_P1_SHIFT; in calibrate_8916() 262 p1[3] = (qfprom_cdata[1] & MSM8916_S3_P1_MASK) >> MSM8916_S3_P1_SHIFT; in calibrate_8916() 263 p1[4] = (qfprom_cdata[1] & MSM8916_S4_P1_MASK) >> MSM8916_S4_P1_SHIFT; in calibrate_8916() 265 p1[i] = (((base0) + p1[i]) << 3); in calibrate_8916() 269 p1[i] = 500; in calibrate_8916() 275 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916() 285 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 163 priv->sensor[i].offset = (p1[i] * MSM8976_SLOPE_FACTOR) - in compute_intercept_slope_8976() 172 u32 p1[10], p2[10]; in calibrate_v1() local 208 p1[0] = (qfprom_cdata[0] & S0_P1_MASK) >> S0_P1_SHIFT; in calibrate_v1() 209 p1[1] = (qfprom_cdata[0] & S1_P1_MASK) >> S1_P1_SHIFT; in calibrate_v1() 210 p1[2] = (qfprom_cdata[0] & S2_P1_MASK) >> S2_P1_SHIFT; in calibrate_v1() 211 p1[3] = (qfprom_cdata[1] & S3_P1_MASK) >> S3_P1_SHIFT; in calibrate_v1() 212 p1[4] = (qfprom_cdata[1] & S4_P1_MASK) >> S4_P1_SHIFT; in calibrate_v1() 213 p1[5] = (qfprom_cdata[2] & S5_P1_MASK) >> S5_P1_SHIFT; in calibrate_v1() 214 p1[6] = (qfprom_cdata[2] & S6_P1_MASK) >> S6_P1_SHIFT; in calibrate_v1() [all …]
|
/Linux-v6.1/scripts/coccinelle/locks/ |
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 38 write_trylock@p1 42 position p1 != locked.p1; [all …]
|
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 …]
|
D | call_kern.cocci | 41 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 …]
|
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 …]
|
/Linux-v6.1/scripts/coccinelle/null/ |
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)
|
D | deref_null.cocci | 23 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-v6.1/arch/arm/include/asm/ |
D | xor.h | 47 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-v6.1/arch/x86/include/asm/ |
D | xor.h | 39 #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 …]
|
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() 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 …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | i2c_.fuc | 102 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-v6.1/scripts/coccinelle/iterators/ |
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; 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 …]
|
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)
|
/Linux-v6.1/tools/testing/selftests/landlock/ |
D | ptrace_test.c | 75 * Test multiple tracing combinations between a parent process P1 and a child 80 * all P2 requests to trace P1 would be denied. 86 * P1-. P1 -> P2 : allow 87 * \ P2 -> P1 : allow 101 * P1--. P1 -> P2 : allow 102 * \ P2 -> P1 : deny 118 * | P1 --. P1 -> P2 : deny 119 * '------' \ P2 -> P1 : allow 134 * | P1 ---. P1 -> P2 : deny 135 * '------' \ P2 -> P1 : deny [all …]
|
/Linux-v6.1/drivers/block/paride/ |
D | on26.c | 40 #define P1 w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro 55 case 0: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 61 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 85 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr() 112 w0(2); P1; w0(8); P2; in on26_connect() 113 w0(2); P1; w0(x); P2; in on26_connect() 119 else { w0(4); P1; w0(4); P1; } in on26_disconnect() 152 w0(2); P1; w0(0); P2; in on26_test_port() 153 w0(3); P1; w0(0); P2; in on26_test_port() 154 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port() [all …]
|
/Linux-v6.1/arch/arm64/lib/ |
D | xor-neon.c | 13 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 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 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 …]
|