| /linux/tools/testing/selftests/bpf/verifier/ |
| H A D | jump.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_1, -8), 7 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 9 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 1), 11 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 2), 13 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 3), 15 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 4), 17 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 5), 30 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 33 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 0), 36 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 0), [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_stack_ptr.c | 1 // SPDX-License-Identifier: GPL-2.0 30 r1 += -10; \ in ptr_to_stack_store_load() 39 __description("PTR_TO_STACK store/load - bad alignment on off") 40 __failure __msg("misaligned stack access off 0+-8+2 size 8") 46 r1 += -8; \ in load_bad_alignment_on_off() 55 __description("PTR_TO_STACK store/load - bad alignment on reg") 56 __failure __msg("misaligned stack access off 0+-10+8 size 8") 62 r1 += -1 in load_bad_alignment_on_reg() [all...] |
| H A D | verifier_div0.c | 1 // SPDX-License-Identifier: GPL-2.0 10 __success __success_unpriv __retval(42) 14 w0 = 42; \ in by_0_zero_check_1_1() 24 __success __success_unpriv __retval(42) 28 w0 = 42; \ in by_0_zero_check_2_1() 38 __success __success_unpriv __retval(42) 42 w0 = 42; \ in div64_by_0_zero_check() 52 __success __success_unpriv __retval(42) 56 w0 = 42; \ in by_0_zero_check_1_2() 66 __success __success_unpriv __retval(42) [all …]
|
| H A D | verifier_sdiv.c | 1 // SPDX-License-Identifier: GPL-2.0 15 __description("SDIV32, non-zero imm divisor, check 1") 16 __success __success_unpriv __retval(-20) 20 w0 = -41; \ in sdiv32_non_zero_imm_1() 27 __description("SDIV32, non-zero imm divisor, check 2") 28 __success __success_unpriv __retval(-20) 33 w0 s/= -2; \ in sdiv32_non_zero_imm_2() 39 __description("SDIV32, non-zero imm divisor, check 3") 44 w0 = -41; \ in sdiv32_non_zero_imm_3() 45 w0 s/= -2; \ in sdiv32_non_zero_imm_3() [all …]
|
| H A D | compute_live_registers.c | 1 // SPDX-License-Identifier: GPL-2.0 24 __msg(" 0: .......... (b7) r0 = 42") 39 "r0 = 42;" in assign_chain() 59 __msg("3: ..2....... (b7) r3 = 42") 69 "r3 = 42;" in arithmetics() 79 __msg(" 1: .1........ (07) r1 += -8") 81 __msg(" 3: .1........ (b7) r2 = 42") 89 "r1 += -8;" in store() 91 "r2 = 42;" in store() 102 __msg("1: ....4..... (07) r4 += -8") [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_multitouch.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 20 KERNEL_MODULE = base.KernelModule("hid-multitouch", "hid_multitouch") 310 Unit Exponent (-1) 335 Unit Exponent (-4) 378 Unit Exponent (-1) 397 Unit Exponent (-4) 442 Unit Exponent (-1) 467 Unit Exponent (-4) 492 …42 09 45 81 02 75 06 95 01 09 30 81 02 26 ff 00 75 08 09 51 81 02 75 10 09 38 81 02 95 02 26 ff 0f… [all …]
|
| H A D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 67 def from_evdev(cls, evdev, test_button) -> "PenState": 100 ) -> "PenState": 147 def valid_transitions(self) -> Tuple["PenState", ...]: 207 def historically_tolerated_transitions(self) -> Tuple["PenState", ...]: 209 for skipping the in-range state, due to historical reasons. 272 def legal_transitions() -> Dict[str, Tuple["PenState", ...]]: 274 we don't have Invert nor Erase bits, so just move in/out-of-range or proximity. [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | ct.json | 20 "cmdUnderTest": "$TC actions add action ct index 42", 23 "matchPattern": "action order [0-9]*: ct zone 0 pipe.*index 42 ref", 47 "cmdUnderTest": "$TC actions add action ct index 42 cookie deadbeef", 50 "matchPattern": "action order [0-9]*: ct zone 0 pipe.*index 42 ref.*cookie deadbeef", 74 "cmdUnderTest": "$TC actions add action ct clear index 42", 77 "matchPattern": "action order [0-9]*: ct clear pipe.*index 42 ref", 101 …"cmdUnderTest": "$TC actions add action ct clear index 42 cookie aa11bb22cc33dd44ee55ff66aa11b1b2", 104 …"matchPattern": "action order [0-9]*: ct clear pipe.*index 42 ref.*cookie aa11bb22cc33dd44ee55ff66… 128 "cmdUnderTest": "$TC actions add action ct zone 404 index 42", 131 "matchPattern": "action order [0-9]*: ct zone 404 pipe.*index 42 ref", [all …]
|
| H A D | tunnel_key.json | 23 …"matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 10.10.10.1.*dst_ip 20.20.20.2.*key_i… 50 "matchPattern": "action order [0-9]+: tunnel_key set.*dst_ip 20.20.20.2.*key_id 100", 82 "matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 10.10.10.1.*key_id 100", 114 …"matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 300.168.100.1.*dst_ip 192.168.200.1.*… 146 …"matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 192.168.100.1.*dst_ip 192.168.800.1.*… 178 …"matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 11223… 210 …"matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 11.*d… 242 …"matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 192.168.100.1.*dst_ip 192.168.200.1.… 250 "name": "Add tunnel_key set action with index at 32-bit maximum", 269 …"matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*id 11.*inde… [all …]
|
| /linux/drivers/video/logo/ |
| H A D | logo_sgi_clut224.ppm | 2 # 224-color SGI Linux logo 53 6 6 6 14 14 14 26 26 26 42 42 42 56 42 42 42 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 42 66 66 66 86 86 86 132 6 6 6 18 18 18 42 42 42 82 82 82 137 42 42 42 78 78 78 42 42 42 18 18 18 172 14 14 14 42 42 42 86 86 86 10 10 10 252 42 42 42 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 42 14 14 14 0 0 0 372 42 42 42 86 86 86 6 6 6 116 116 116 [all …]
|
| H A D | logo_linux_clut224.ppm | 2 # Standard 224-color Linux logo 53 6 6 6 14 14 14 26 26 26 42 42 42 56 42 42 42 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 42 66 66 66 86 86 86 132 6 6 6 18 18 18 42 42 42 82 82 82 137 42 42 42 78 78 78 42 42 42 18 18 18 172 14 14 14 42 42 42 86 86 86 10 10 10 252 42 42 42 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 42 14 14 14 0 0 0 372 42 42 42 86 86 86 6 6 6 116 116 116 [all …]
|
| H A D | logo_mac_clut224.ppm | 2 # 224-color Macintosh Linux logo 53 6 6 6 14 14 14 26 26 26 42 42 42 56 42 42 42 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 42 66 66 66 86 86 86 252 42 42 42 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 42 14 14 14 0 0 0 372 42 42 42 86 86 86 6 6 6 116 116 116 392 42 42 42 94 94 94 14 14 14 101 101 101 409 0 0 0 0 0 0 0 0 0 42 42 42 429 0 0 0 0 0 0 0 0 0 42 42 42 [all …]
|
| H A D | logo_dec_clut224.ppm | 2 # 224-color Digital Equipment Corporation Linux logo 53 6 6 6 14 14 14 26 26 26 42 42 42 56 42 42 42 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 42 66 66 66 86 86 86 132 6 6 6 18 18 18 42 42 42 82 82 82 137 42 42 42 78 78 78 42 42 42 18 18 18 172 14 14 14 42 42 42 86 86 86 10 10 10 252 42 42 42 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 42 14 14 14 0 0 0 372 42 42 42 86 86 86 6 6 6 116 116 116 [all …]
|
| H A D | logo_sun_clut224.ppm | 2 # 224-color Sun Linux logo 53 6 6 6 14 14 14 26 26 26 42 42 42 56 42 42 42 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 42 66 66 66 86 86 86 132 6 6 6 18 18 18 42 42 42 82 82 82 137 42 42 42 78 78 78 42 42 42 18 18 18 172 14 14 14 42 42 42 86 86 86 10 10 10 252 42 42 42 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 42 14 14 14 0 0 0 372 42 42 42 86 86 86 6 6 6 116 116 116 [all …]
|
| H A D | logo_superh_clut224.ppm | 2 # 224-color SuperH Linux logo 53 6 6 6 14 14 13 26 26 26 42 42 43 56 42 42 43 26 26 26 18 18 18 10 10 10 73 22 22 22 42 42 43 66 66 66 86 86 86 132 6 6 6 18 18 18 42 42 43 82 82 82 137 42 42 43 78 78 78 42 42 43 18 18 18 172 14 14 13 42 42 43 86 86 86 10 10 10 252 42 42 43 82 82 82 2 2 6 2 2 6 278 86 86 86 42 42 43 14 14 13 2 2 2 372 42 42 43 86 86 86 6 6 6 118 118 118 [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | packing.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 .. include:: ../disclaimer-zh_CN.rst 5 :Original: Documentation/core-api/packing.rst 22 -------- 42 -------- 46 - 将一个CPU可使用的数字打包到内存缓冲区中(具有硬件约束/特殊性)。 47 - 将内存缓冲区(具有硬件约束/特殊性)解压缩为一个CPU可使用的数字。 61 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 75 56 57 58 59 60 61 62 63 48 49 50 51 52 53 54 55 40 41 42 43 44 45 46 47 32 33 34 35 36 37 38 39 87 39 38 37 36 35 34 33 32 47 46 45 44 43 42 41 40 55 54 53 52 51 50 49 48 63 62 61 60 59 58 57 56 [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kvm_ppc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 44 EMULATE_EXIT_USER, /* emulation requires exit to user-space */ 105 /* Core-specific hooks */ 187 (iommu_tce_check_ioba((stt)->page_shift, (stt)->offset, \ 188 (stt)->size, (ioba), (npages)) ? \ 335 if (vcpu->arch.last_inst == KVM_INST_FETCH_FAILED) in kvmppc_get_last_inst() 336 ret = kvmppc_load_last_inst(vcpu, type, &vcpu->arch.last_inst); in kvmppc_get_last_inst() 346 if ((vcpu->arch.last_inst >> 32) != 0) { in kvmppc_get_last_inst() 347 u32 prefix = vcpu->arch.last_inst >> 32; in kvmppc_get_last_inst() 348 u32 suffix = vcpu->arch.last_inst; in kvmppc_get_last_inst() [all …]
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hidraw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022-2024 Red Hat */ 20 if (self->hidraw_fd) in close_hidraw() 21 close(self->hidraw_fd); 22 self->hidraw_fd = 0; in FIXTURE_TEARDOWN() 28 uhid_destroy(_metadata, &self->hid); in FIXTURE_TEARDOWN() 31 pthread_join(self->hid.tid, &uhid_err); 42 err = setup_uhid(_metadata, &self->hi in FIXTURE_SETUP() [all...] |
| H A D | hid_bpf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022-2024 Red Hat */ 26 if (self->hidraw_fd) in detach_bpf() 27 close(self->hidraw_fd); in detach_bpf() 28 self->hidraw_fd = 0; in detach_bpf() 30 if (!self->skel) in detach_bpf() 33 hid__detach(self->skel); in detach_bpf() 35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf() 36 if (self->hid_links[i]) in detach_bpf() 37 bpf_link__destroy(self->hid_links[i]); in detach_bpf() [all …]
|
| /linux/rust/kernel/sync/ |
| H A D | atomic.rs | 1 // SPDX-License-Identifier: GPL-2.0 13 //! - A normal write from C side is treated as an atomic write if 15 //! - Mixed-size atomic accesses don't cause data races. 17 //! [`LKMM`]: srctree/tools/memory-model/ 38 /// [`Atomic::as_ptr()`], this provides a way to interact with [C-side atomic operations] 47 /// [LKMM]: srctree/tools/memory-model/ 48 /// [C-side atomic operations]: srctree/Documentation/atomic_t.txt 57 /// # Round-trip transmutability 59 /// `T` is round-trip transmutable to `U` if and only if both of these properties hold: 61 /// - Any valid bit pattern for `T` is also a valid bit pattern for `U`. [all …]
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | samsung,exynos4210-mct.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/timer/samsung,exynos4210-mct.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 global timer and CPU local timers. The global timer is a 64-bit free running 15 up-counter and can generate 4 interrupts when the counter reaches one of the 16 four preset counter values. The CPU local timers are 32-bit free running 17 down-counters and generate an interrupt when the counter expires. There is 23 - enum: [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | rpath.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 if iptables-legacy --version >/dev/null 2>&1; then 8 iptables='iptables-legacy' 9 elif iptables --version >/dev/null 2>&1; then 15 if ip6tables-legac [all...] |
| /linux/arch/hexagon/include/asm/ |
| H A D | kgdb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/hexagon/include/asm/kgdb.h - Hexagon KGDB Support 21 * 32 gpr + sa0/1 + lc0/1 + m0/1 + gp + ugp + pred + pc = 42 total. 25 * so 48 = 42 + 4 + 2 + 2 27 #define DBG_USER_REGS 42
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_bpf_syscall_macro.c | 1 // SPDX-License-Identifier: GPL-2.0 26 skel->rodata->filter_pid = getpid(); in test_bpf_syscall_macro() 41 ASSERT_EQ(skel->bss->arg1, exp_arg1, "syscall_arg1"); in test_bpf_syscall_macro() 42 ASSERT_EQ(skel->bss->arg2, exp_arg2, "syscall_arg2"); in test_bpf_syscall_macro() 43 ASSERT_EQ(skel->bss->arg3, exp_arg3, "syscall_arg3"); in test_bpf_syscall_macro() 46 ASSERT_NEQ(skel->bss->arg4_cx, exp_arg4, "syscall_arg4_from_cx"); in test_bpf_syscall_macro() 48 ASSERT_EQ(skel->bss->arg4_cx, exp_arg4, "syscall_arg4_from_cx"); in test_bpf_syscall_macro() 50 ASSERT_EQ(skel->bss->arg4, exp_arg4, "syscall_arg4"); in test_bpf_syscall_macro() 51 ASSERT_EQ(skel->bss->arg5, exp_arg5, "syscall_arg5"); in test_bpf_syscall_macro() 54 ASSERT_EQ(skel->bss->arg1_core, exp_arg1, "syscall_arg1_core_variant"); in test_bpf_syscall_macro() [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 19 /*-************************************* 27 /*-************************************* 41 /*-************************************* 86 U16 mlBase; /* mlBase == matchLength - MINMATCH */ 127 seqLen.litLength = seq->litLength; in ZSTD_getSequenceLength() 128 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength() 129 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength() [all …]
|