/Linux-v5.10/tools/testing/selftests/livepatch/ |
D | test-shadow-vars.sh | 5 . $(dirname $0)/functions.sh 20 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1234) = PTR0 23 $MOD_TEST: klp_shadow_get_or_alloc(obj=PTR1, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, c… 25 $MOD_TEST: klp_shadow_alloc(obj=PTR1, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 27 $MOD_TEST: klp_shadow_alloc(obj=PTR9, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 29 $MOD_TEST: klp_shadow_alloc(obj=PTR9, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 31 $MOD_TEST: klp_shadow_get_or_alloc(obj=PTR14, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, … 33 $MOD_TEST: klp_shadow_alloc(obj=PTR14, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_da… 34 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1234) = PTR3 36 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1235) = PTR6 [all …]
|
/Linux-v5.10/tools/testing/selftests/kvm/x86_64/ |
D | user_msr_test.c | 31 static u8 bitmap_deadbeef[1] = { 0x1 }; 42 memset(bitmap_00000000, 0xff, sizeof(bitmap_00000000)); in prepare_bitmaps() 43 memset(bitmap_00000000_write, 0xff, sizeof(bitmap_00000000_write)); in prepare_bitmaps() 44 memset(bitmap_40000000, 0xff, sizeof(bitmap_40000000)); in prepare_bitmaps() 45 memset(bitmap_c0000000, 0xff, sizeof(bitmap_c0000000)); in prepare_bitmaps() 46 memset(bitmap_c0000000_read, 0xff, sizeof(bitmap_c0000000_read)); in prepare_bitmaps() 58 .base = 0x00000000, 63 .base = 0x00000000, 68 .base = 0x40000000, 73 .base = 0xc0000000, [all …]
|
/Linux-v5.10/tools/testing/selftests/tc-testing/tc-tests/filters/ |
D | tests.json | 14 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok" 16 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall", 17 "expExitCode": "0", 19 "matchPattern": "filter protocol all pref 1 matchall chain 0 handle 0x1234", 35 …"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress handle 0xffffffff flower acti… 36 "expExitCode": "0", 38 "matchPattern": "filter protocol ip pref 1 flower.*handle 0xffffffff", 59 "expExitCode": "0", 61 "matchPattern": "action order 0: gact action drop.*index 1 ref 1000000 bind 1000000", 85 "matchPattern": "filter protocol ip pref 1 flower chain 0 handle", [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath10k/ |
D | hw.h | 23 #define QCA988X_2_0_DEVICE_ID_UBNT (0x11ac) 24 #define QCA988X_2_0_DEVICE_ID (0x003c) 25 #define QCA6164_2_1_DEVICE_ID (0x0041) 26 #define QCA6174_2_1_DEVICE_ID (0x003e) 27 #define QCA6174_3_2_DEVICE_ID (0x0042) 28 #define QCA99X0_2_0_DEVICE_ID (0x0040) 29 #define QCA9888_2_0_DEVICE_ID (0x0056) 30 #define QCA9984_1_0_DEVICE_ID (0x0046) 31 #define QCA9377_1_0_DEVICE_ID (0x0042) 32 #define QCA9887_1_0_DEVICE_ID (0x0050) [all …]
|
/Linux-v5.10/arch/mips/kernel/ |
D | r4k-bugs64.c | 33 ".balign %0\n\t" in align_mod() 72 : "0" (5), "1" (8), "2" (5)); in mult_sh_align_mod() 86 "dsll32 %0, %4, %5\n\t" in mult_sh_align_mod() 87 "mflo $0\n\t" in mult_sh_align_mod() 92 : "r" (m1), "r" (m2), "r" (s), "I" (0) in mult_sh_align_mod() 93 : "hi", "lo", "$0"); in mult_sh_align_mod() 103 : "0" (m1), "1" (m2), "2" (s)); in mult_sh_align_mod() 110 : "0" (lv2), "r" (p)); in mult_sh_align_mod() 134 mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); in check_mult_sh() 143 bug = 0; in check_mult_sh() [all …]
|
/Linux-v5.10/drivers/usb/serial/ |
D | pl2303.h | 6 #define BENQ_VENDOR_ID 0x04a5 7 #define BENQ_PRODUCT_ID_S81 0x4027 9 #define PL2303_VENDOR_ID 0x067b 10 #define PL2303_PRODUCT_ID 0x2303 11 #define PL2303_PRODUCT_ID_TB 0x2304 12 #define PL2303_PRODUCT_ID_GC 0x23a3 13 #define PL2303_PRODUCT_ID_GB 0x23b3 14 #define PL2303_PRODUCT_ID_GT 0x23c3 15 #define PL2303_PRODUCT_ID_GL 0x23d3 16 #define PL2303_PRODUCT_ID_GE 0x23e3 [all …]
|
/Linux-v5.10/drivers/gpu/drm/bochs/ |
D | bochs_drv.c | 51 return 0; in bochs_load() 67 .minor = 0, 106 fbsize = pci_resource_len(pdev, 0); in bochs_pci_probe() 131 ret = drm_dev_register(dev, 0); in bochs_pci_probe() 157 .vendor = 0x1234, 158 .device = 0x1111, 164 .vendor = 0x1234, 165 .device = 0x1111, 189 if (bochs_modeset == 0) in bochs_init()
|
/Linux-v5.10/drivers/s390/crypto/ |
D | zcrypt_ep11misc.h | 16 #define EP11_STRUCT_MAGIC 0x1234 17 #define EP11_BLOB_PKEY_EXTRACTABLE 0x00200000 23 #define TOKVER_EP11_AES 0x03 /* EP11 AES key blob (old style) */ 24 #define TOKVER_EP11_AES_WITH_HEADER 0x06 /* EP11 AES key blob with header */ 25 #define TOKVER_EP11_ECC_WITH_HEADER 0x07 /* EP11 ECC key blob with header */ 33 u8 type; /* 0x00 (TOKTYPE_NON_CCA) */ 36 u8 version; /* 0x03 (TOKVER_EP11_AES) */ 38 u16 keybitlen; /* clear key bit len, 0 for unknown */ 44 u16 version; /* 0x1234, EP11_STRUCT_MAGIC */ 62 * Returns 0 on success or errno value on failure. [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | map_init.c | 7 #define TEST_VALUE 0x1234 8 #define FILL_VALUE 0xdeadbeef 26 for (i = 0; i < nr_cpus; i++) in map_populate() 35 return 0; in map_populate() 61 if (CHECK(*map_fd < 0, "bpf_map__fd", "failed\n")) in setup() 97 return 0; in prog_run_insert_elem() 102 int i, nzCnt = 0; in check_values_one_cpu() 105 for (i = 0; i < nr_cpus; i++) { in check_values_one_cpu() 109 "unexpected for cpu %d: 0x%llx\n", i, val)) in check_values_one_cpu() 119 return 0; in check_values_one_cpu() [all …]
|
D | endian.c | 9 #define IN16 0x1234 10 #define IN32 0x12345678U 11 #define IN64 0x123456789abcdef0ULL 13 #define OUT16 0x3412 14 #define OUT32 0x78563412U 15 #define OUT64 0xf0debc9a78563412ULL 38 CHECK(bss->out16 != OUT16, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian() 40 CHECK(bss->out32 != OUT32, "out32", "got 0x%llx != exp 0x%llx\n", in test_endian() 42 CHECK(bss->out64 != OUT64, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian() 45 CHECK(bss->const16 != OUT16, "const16", "got 0x%llx != exp 0x%llx\n", in test_endian() [all …]
|
D | raw_tp_test_run.c | 14 __u64 args[2] = {0x1234ULL, 0x5678ULL}; in test_raw_tp_test_run() 15 int expected_retval = 0x1234 + 0x5678; in test_raw_tp_test_run() 39 if (CHECK(comm_fd < 0, "open /proc/self/comm", "err %d\n", errno)) in test_raw_tp_test_run() 43 CHECK(err < 0, "task rename", "err %d", errno); in test_raw_tp_test_run() 45 CHECK(skel->bss->count == 0, "check_count", "didn't increase\n"); in test_raw_tp_test_run() 46 CHECK(skel->data->on_cpu != 0xffffffff, "check_on_cpu", "got wrong value\n"); in test_raw_tp_test_run() 54 CHECK(err == 0, "test_run", "should fail for too small ctx\n"); in test_raw_tp_test_run() 58 CHECK(err < 0, "test_run", "err %d\n", errno); in test_raw_tp_test_run() 60 "expect 0x%x, got 0x%x\n", expected_retval, test_attr.retval); in test_raw_tp_test_run() 62 for (i = 0; i < nr_online; i++) { in test_raw_tp_test_run() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_endian.c | 8 #define IN16 0x1234 9 #define IN32 0x12345678U 10 #define IN64 0x123456789abcdef0ULL 12 __u16 in16 = 0; 13 __u32 in32 = 0; 14 __u64 in64 = 0; 16 __u16 out16 = 0; 17 __u32 out32 = 0; 18 __u64 out64 = 0; 20 __u16 const16 = 0; [all …]
|
/Linux-v5.10/include/linux/soc/samsung/ |
D | exynos-regs-pmu.h | 17 #define S5P_CENTRAL_SEQ_CONFIGURATION 0x0200 21 #define S5P_CENTRAL_SEQ_OPTION 0x0208 42 #define EXYNOS_SWRESET 0x0400 44 #define S5P_WAKEUP_STAT 0x0600 46 #define EXYNOS_EINT_WAKEUP_MASK_DISABLED 0xffffffff 47 #define EXYNOS_EINT_WAKEUP_MASK 0x0604 48 #define S5P_WAKEUP_MASK 0x0608 49 #define S5P_WAKEUP_MASK2 0x0614 52 #define EXYNOS4_MIPI_PHY_CONTROL(n) (0x0710 + (n) * 4) 54 #define EXYNOS4_PHY_ENABLE (1 << 0) [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | network_helpers.h | 15 #define MAGIC_VAL 0x1234
|
/Linux-v5.10/Documentation/input/ |
D | uinput.rst | 56 ie.time.tv_sec = 0; 57 ie.time.tv_usec = 0; 76 memset(&usetup, 0, sizeof(usetup)); 78 usetup.id.vendor = 0x1234; /* sample vendor */ 79 usetup.id.product = 0x5678; /* sample product */ 96 emit(fd, EV_SYN, SYN_REPORT, 0); 97 emit(fd, EV_KEY, KEY_SPACE, 0); 98 emit(fd, EV_SYN, SYN_REPORT, 0); 109 return 0; 139 memset(&usetup, 0, sizeof(usetup)); [all …]
|
/Linux-v5.10/drivers/net/wireguard/selftest/ |
D | allowedips.c | 26 memset(dst + (cidr + 7) / 8, 0, bits / 8 - (cidr + 7) / 8); in swap_endian_and_apply_cidr() 28 dst[(cidr + 7) / 8 - 1] &= ~0U << ((8 - (cidr % 8)) % 8); in swap_endian_and_apply_cidr() 38 u32 color = 0; in print_node() 50 hsiphash_key_t key = { { 0 } }; in print_node() 53 color = hsiphash_1u32(0xdeadbeef, &key) % 200 << 16 | in print_node() 54 hsiphash_1u32(0xbabecafe, &key) % 200 << 8 | in print_node() 55 hsiphash_1u32(0xabad1dea, &key) % 200; in print_node() 60 if (node->bit[0]) { in print_node() 62 rcu_dereference_raw(node->bit[0])->bits, bits, in print_node() 65 rcu_dereference_raw(node->bit[0])->cidr); in print_node() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/serial/ |
D | serial.yaml | 133 reg = <0x1234 0x20>;
|
/Linux-v5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | pedit.json | 12 0, 18 "expExitCode": "0", 20 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 1 ref.*key #0 at ipv4\\+8:… 36 0, 45 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 90 ref.*key #0 at ipv4\\+8… 62 0, 67 "cmdUnderTest": "$TC actions add action pedit munge offset 12 u32 set 0x90abcdef", 68 "expExitCode": "0", 87 0, 92 "cmdUnderTest": "$TC actions add action pedit munge offset 2 u32 set 0x12345678", [all …]
|
/Linux-v5.10/arch/powerpc/lib/ |
D | test_emulate_step.c | 19 #define IGNORE_GPR(n) (0x1UL << (n)) 20 #define IGNORE_XER (0x1UL << 32) 21 #define IGNORE_CCR (0x1UL << 33) 22 #define NEGATIVE_TEST (0x1UL << 63) 62 memset(regs, 0, sizeof(struct pt_regs)); in init_pt_regs() 69 asm volatile("mfmsr %0" : "=r"(regs->msr)); in init_pt_regs() 93 unsigned long a = 0x23; in test_ld() 99 /* ld r5, 0(r3) */ in test_ld() 100 stepped = emulate_step(®s, ppc_inst(PPC_RAW_LD(5, 3, 0))); in test_ld() 111 unsigned long a = 0x23; in test_pld() [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 39 .dataset_patch_addr = 0x57e884, 40 .app_load_addr = 0x543180, 41 .board_ext_data_addr = 0x57e500, 47 /* hw2.0 needs override address hardcoded */ 48 .app_start_override_addr = 0x944C00, 64 .dataset_patch_addr = 0x57ff74, 65 .app_load_addr = 0x1234, 66 .board_ext_data_addr = 0x542330, 70 .testscript_addr = 0x57ef74, 89 .dataset_patch_addr = 0x57e884, [all …]
|
/Linux-v5.10/drivers/staging/wfx/ |
D | hif_api_general.h | 20 #define HIF_ID_IS_INDICATION 0x80 34 HIF_REQ_ID_CONFIGURATION = 0x09, 35 HIF_REQ_ID_CONTROL_GPIO = 0x26, 36 HIF_REQ_ID_SET_SL_MAC_KEY = 0x27, 37 HIF_REQ_ID_SL_EXCHANGE_PUB_KEYS = 0x28, 38 HIF_REQ_ID_SL_CONFIGURE = 0x29, 39 HIF_REQ_ID_PREVENT_ROLLBACK = 0x2a, 40 HIF_REQ_ID_PTA_SETTINGS = 0x2b, 41 HIF_REQ_ID_PTA_PRIORITY = 0x2c, 42 HIF_REQ_ID_PTA_STATE = 0x2d, [all …]
|
/Linux-v5.10/include/linux/ |
D | efi.h | 31 #define EFI_SUCCESS 0 55 #define __efiapi __attribute__((regparm(0))) 94 #define EFI_RESERVED_TYPE 0 112 #define EFI_MEMORY_UC ((u64)0x0000000000000001ULL) /* uncached */ 113 #define EFI_MEMORY_WC ((u64)0x0000000000000002ULL) /* write-coalescing */ 114 #define EFI_MEMORY_WT ((u64)0x0000000000000004ULL) /* write-through */ 115 #define EFI_MEMORY_WB ((u64)0x0000000000000008ULL) /* write-back */ 116 #define EFI_MEMORY_UCE ((u64)0x0000000000000010ULL) /* uncached, exported */ 117 #define EFI_MEMORY_WP ((u64)0x0000000000001000ULL) /* write-protect */ 118 #define EFI_MEMORY_RP ((u64)0x0000000000002000ULL) /* read-protect */ [all …]
|
/Linux-v5.10/drivers/watchdog/ |
D | zx2967_wdt.c | 20 #define ZX2967_WDT_CFG_REG 0x4 21 #define ZX2967_WDT_LOAD_REG 0x8 22 #define ZX2967_WDT_REFRESH_REG 0x18 23 #define ZX2967_WDT_START_REG 0x1c 25 #define ZX2967_WDT_REFRESH_MASK GENMASK(5, 0) 27 #define ZX2967_WDT_CFG_DIV(n) ((((n) & 0xff) - 1) << 8) 28 #define ZX2967_WDT_START_EN 0x1 35 #define ZX2967_WDT_WRITEKEY (0x1234 << 16) 36 #define ZX2967_WDT_VAL_MASK GENMASK(15, 0) 42 #define ZX2967_WDT_MAX_COUNT 0xffff [all …]
|
/Linux-v5.10/tools/perf/tests/ |
D | bp_signal.c | 58 *ptr = 0x1234; in __test_function() 75 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 76 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 77 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 96 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 97 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 98 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 107 memset(&pe, 0, sizeof(struct perf_event_attr)); in __event() 111 pe.config = 0; in __event() 124 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event() [all …]
|
/Linux-v5.10/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 22 #define PAC_MASK (~0xff80ffffffffffff) 23 #define ARBITRARY_VALUE (0x1234) 28 ASSERT_NE(0, hwcaps & HWCAP_PACA) TH_LOG("PAUTH not enabled"); \ 29 } while (0) 34 ASSERT_NE(0, hwcaps & HWCAP_PACG) TH_LOG("Generic PAUTH not enabled"); \ 35 } while (0) 56 int res = 0; in n_same() 71 int same = 0; in n_same_single_set() 73 vals[0] = sign->keyia & PAC_MASK; in n_same_single_set() 81 for (int i = 0; i < nkeys - 1; i++) { in n_same_single_set() [all …]
|