| /kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
| D | insn-x86-dat-src.c | 32 asm volatile("cmovno 0x12345678(%rax),%rcx"); in main() 33 asm volatile("cmovno 0x12345678(%rax),%cx"); in main() 36 asm volatile("cmove 0x12345678(%rax),%rcx"); in main() 37 asm volatile("cmove 0x12345678(%rax),%cx"); in main() 39 asm volatile("seto 0x12345678(%rax)"); in main() 40 asm volatile("setno 0x12345678(%rax)"); in main() 41 asm volatile("setb 0x12345678(%rax)"); in main() 42 asm volatile("setc 0x12345678(%rax)"); in main() 43 asm volatile("setnae 0x12345678(%rax)"); in main() 44 asm volatile("setae 0x12345678(%rax)"); in main() [all …]
|
| D | insn-x86-dat-64.c | 8 {{0x0f, 0x31, }, 2, 0, "", "", 9 "0f 31 \trdtsc ",}, 10 {{0xc4, 0xe2, 0x7d, 0x13, 0xeb, }, 5, 0, "", "", 12 {{0x48, 0x0f, 0x41, 0xd8, }, 4, 0, "", "", 13 "48 0f 41 d8 \tcmovno %rax,%rbx",}, 14 {{0x48, 0x0f, 0x41, 0x88, 0x78, 0x56, 0x34, 0x12, }, 8, 0, "", "", 15 "48 0f 41 88 78 56 34 12 \tcmovno 0x12345678(%rax),%rcx",}, 16 {{0x66, 0x0f, 0x41, 0x88, 0x78, 0x56, 0x34, 0x12, }, 8, 0, "", "", 17 "66 0f 41 88 78 56 34 12 \tcmovno 0x12345678(%rax),%cx",}, 18 {{0x48, 0x0f, 0x44, 0xd8, }, 4, 0, "", "", [all …]
|
| D | insn-x86-dat-32.c | 8 {{0x0f, 0x31, }, 2, 0, "", "", 9 "0f 31 \trdtsc ",}, 10 {{0xc4, 0xe2, 0x7d, 0x13, 0xeb, }, 5, 0, "", "", 12 {{0x62, 0x81, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 13 "62 81 78 56 34 12 \tbound %eax,0x12345678(%ecx)",}, 14 {{0x62, 0x88, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 15 "62 88 78 56 34 12 \tbound %ecx,0x12345678(%eax)",}, 16 {{0x62, 0x90, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 17 "62 90 78 56 34 12 \tbound %edx,0x12345678(%eax)",}, 18 {{0x62, 0x98, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", [all …]
|
| /kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
| D | insn-x86-dat-src.c | 32 asm volatile("cmovno 0x12345678(%rax),%rcx"); in main() 33 asm volatile("cmovno 0x12345678(%rax),%cx"); in main() 36 asm volatile("cmove 0x12345678(%rax),%rcx"); in main() 37 asm volatile("cmove 0x12345678(%rax),%cx"); in main() 39 asm volatile("seto 0x12345678(%rax)"); in main() 40 asm volatile("setno 0x12345678(%rax)"); in main() 41 asm volatile("setb 0x12345678(%rax)"); in main() 42 asm volatile("setc 0x12345678(%rax)"); in main() 43 asm volatile("setnae 0x12345678(%rax)"); in main() 44 asm volatile("setae 0x12345678(%rax)"); in main() [all …]
|
| D | insn-x86-dat-64.c | 8 {{0x0f, 0x31, }, 2, 0, "", "", 9 "0f 31 \trdtsc ",}, 10 {{0xc4, 0xe2, 0x7d, 0x13, 0xeb, }, 5, 0, "", "", 12 {{0x48, 0x0f, 0x41, 0xd8, }, 4, 0, "", "", 13 "48 0f 41 d8 \tcmovno %rax,%rbx",}, 14 {{0x48, 0x0f, 0x41, 0x88, 0x78, 0x56, 0x34, 0x12, }, 8, 0, "", "", 15 "48 0f 41 88 78 56 34 12 \tcmovno 0x12345678(%rax),%rcx",}, 16 {{0x66, 0x0f, 0x41, 0x88, 0x78, 0x56, 0x34, 0x12, }, 8, 0, "", "", 17 "66 0f 41 88 78 56 34 12 \tcmovno 0x12345678(%rax),%cx",}, 18 {{0x48, 0x0f, 0x44, 0xd8, }, 4, 0, "", "", [all …]
|
| D | insn-x86-dat-32.c | 8 {{0x0f, 0x31, }, 2, 0, "", "", 9 "0f 31 \trdtsc ",}, 10 {{0xc4, 0xe2, 0x7d, 0x13, 0xeb, }, 5, 0, "", "", 12 {{0x62, 0x81, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 13 "62 81 78 56 34 12 \tbound %eax,0x12345678(%ecx)",}, 14 {{0x62, 0x88, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 15 "62 88 78 56 34 12 \tbound %ecx,0x12345678(%eax)",}, 16 {{0x62, 0x90, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", 17 "62 90 78 56 34 12 \tbound %edx,0x12345678(%eax)",}, 18 {{0x62, 0x98, 0x78, 0x56, 0x34, 0x12, }, 6, 0, "", "", [all …]
|
| /kernel/liteos_m/components/net/test/ |
| D | net_socket_test_005.c | 41 uint32_t hl = ntohl(0x12345678); in ByteOrderTest() 42 ICUNIT_ASSERT_EQUAL(hl, 0x78563412, 1); in ByteOrderTest() 44 uint32_t nl = htonl(0x12345678); in ByteOrderTest() 45 ICUNIT_ASSERT_EQUAL(nl, 0x78563412, 2); in ByteOrderTest() 47 uint16_t hs = ntohs(0x1234); in ByteOrderTest() 48 ICUNIT_ASSERT_EQUAL(hs, 0x3412, 3); in ByteOrderTest() 50 uint16_t ns = htons(0x1234); in ByteOrderTest() 51 ICUNIT_ASSERT_EQUAL(ns, 0x3412, 4); in ByteOrderTest() 54 uint32_t hl = ntohl(0x12345678); in ByteOrderTest() 55 ICUNIT_ASSERT_EQUAL(hl, 0x12345678, 5); in ByteOrderTest() [all …]
|
| /kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
| D | net_socket_test_005.cpp | 39 uint32_t hl = ntohl(0x12345678); in ByteOrderTest() 40 ICUNIT_ASSERT_EQUAL(hl, 0x78563412, hl); in ByteOrderTest() 42 uint32_t nl = htonl(0x12345678); in ByteOrderTest() 43 ICUNIT_ASSERT_EQUAL(nl, 0x78563412, nl); in ByteOrderTest() 45 uint16_t hs = ntohs(0x1234); in ByteOrderTest() 46 ICUNIT_ASSERT_EQUAL(hs, 0x3412, hs); in ByteOrderTest() 48 uint16_t ns = htons(0x1234); in ByteOrderTest() 49 ICUNIT_ASSERT_EQUAL(ns, 0x3412, ns); in ByteOrderTest() 51 uint32_t hl = ntohl(0x12345678); in ByteOrderTest() 52 ICUNIT_ASSERT_EQUAL(hl, 0x12345678, hl); in ByteOrderTest() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
| D | heap.c | 26 data[1024 / sizeof(u32)] = 0x12345678; in lkdtm_OVERWRITE_ALLOCATION() 48 base[offset] = 0x0abcdef0; in lkdtm_WRITE_AFTER_FREE() 81 *val = 0x12345678; in lkdtm_READ_AFTER_FREE() 108 memset((void *)p, 0x3, PAGE_SIZE); in lkdtm_WRITE_BUDDY_AFTER_FREE() 112 memset((void *)p, 0x78, PAGE_SIZE); in lkdtm_WRITE_BUDDY_AFTER_FREE() 139 *val = 0x12345678; in lkdtm_READ_BUDDY_AFTER_FREE() 140 base[0] = *val; in lkdtm_READ_BUDDY_AFTER_FREE() 141 pr_info("Value in memory before free: %x\n", base[0]); in lkdtm_READ_BUDDY_AFTER_FREE() 144 saw = base[0]; in lkdtm_READ_BUDDY_AFTER_FREE() 166 *val = 0x12345678; in lkdtm_SLAB_FREE_DOUBLE() [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/lkdtm/ |
| D | heap.c | 38 memset(one, 0xAA, PAGE_SIZE + __offset); in lkdtm_VMALLOC_LINEAR_OVERFLOW() 61 data[1024 / sizeof(u32)] = 0x12345678; in lkdtm_SLAB_LINEAR_OVERFLOW() 83 base[offset] = 0x0abcdef0; in lkdtm_WRITE_AFTER_FREE() 116 *val = 0x12345678; in lkdtm_READ_AFTER_FREE() 144 memset((void *)p, 0x3, PAGE_SIZE); in lkdtm_WRITE_BUDDY_AFTER_FREE() 148 memset((void *)p, 0x78, PAGE_SIZE); in lkdtm_WRITE_BUDDY_AFTER_FREE() 175 *val = 0x12345678; in lkdtm_READ_BUDDY_AFTER_FREE() 176 base[0] = *val; in lkdtm_READ_BUDDY_AFTER_FREE() 177 pr_info("Value in memory before free: %x\n", base[0]); in lkdtm_READ_BUDDY_AFTER_FREE() 180 saw = base[0]; in lkdtm_READ_BUDDY_AFTER_FREE() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
| D | sleep.c | 69 header->pmode_behavior = 0; in x86_acpi_suspend_lowlevel() 92 if (__this_cpu_read(cpu_info.cpuid_level) >= 0) { in x86_acpi_suspend_lowlevel() 105 header->real_magic = 0x12345678; in x86_acpi_suspend_lowlevel() 110 saved_magic = 0x12345678; in x86_acpi_suspend_lowlevel() 119 saved_magic = 0x123456789abcdef0L; in x86_acpi_suspend_lowlevel() 129 return 0; in x86_acpi_suspend_lowlevel() 134 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup() 135 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 137 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 139 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() [all …]
|
| D | wakeup_32.S | 35 cmpl $0x12345678, %eax 94 SYM_DATA(saved_magic, .long 0) 95 saved_eip: .long 0 98 saved_idt: .long 0,0 99 saved_ldt: .long 0 100 saved_tss: .long 0
|
| /kernel/linux/linux-6.6/samples/bpf/ |
| D | trace_output.bpf.c | 21 data.cookie = 0x12345678; in bpf_prog1() 23 bpf_perf_event_output(ctx, &my_map, 0, &data, sizeof(data)); in bpf_prog1() 25 return 0; in bpf_prog1()
|
| D | trace_output_user.c | 29 if (e->cookie != 0x12345678) { in print_bpf_output() 50 int map_fd, ret = 0; in main() 54 snprintf(filename, sizeof(filename), "%s.bpf.o", argv[0]); in main() 58 return 0; in main() 68 if (map_fd < 0) { in main() 97 while ((ret = perf_buffer__poll(pb, 1000)) >= 0 && cnt < MAX_CNT) { in main() 99 kill(0, SIGINT); in main()
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| D | trace_output_kern.c | 23 data.cookie = 0x12345678; in SYSCALL() 25 bpf_perf_event_output(ctx, &my_map, 0, &data, sizeof(data)); in SYSCALL() 27 return 0; in SYSCALL()
|
| D | trace_output_user.c | 29 if (e->cookie != 0x12345678) { in print_bpf_output() 51 int map_fd, ret = 0; in main() 55 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main() 59 return 0; in main() 69 if (map_fd < 0) { in main() 99 while ((ret = perf_buffer__poll(pb, 1000)) >= 0 && cnt < MAX_CNT) { in main() 101 kill(0, SIGINT); in main()
|
| /kernel/linux/linux-6.6/arch/x86/kernel/acpi/ |
| D | sleep.c | 71 header->pmode_behavior = 0; in x86_acpi_suspend_lowlevel() 94 if (__this_cpu_read(cpu_info.cpuid_level) >= 0) { in x86_acpi_suspend_lowlevel() 107 header->real_magic = 0x12345678; in x86_acpi_suspend_lowlevel() 112 saved_magic = 0x12345678; in x86_acpi_suspend_lowlevel() 140 saved_magic = 0x123456789abcdef0L; in x86_acpi_suspend_lowlevel() 150 return 0; in x86_acpi_suspend_lowlevel() 155 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup() 156 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 158 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 160 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() [all …]
|
| D | wakeup_32.S | 35 cmpl $0x12345678, %eax 94 SYM_DATA(saved_magic, .long 0) 95 saved_eip: .long 0 98 saved_idt: .long 0,0 99 saved_ldt: .long 0 100 saved_tss: .long 0
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | recvmsg6_prog.c | 13 #define SERV6_IP_0 0xfaceb00c /* face:b00c:1234:5678::abcd */ 14 #define SERV6_IP_1 0x12345678 15 #define SERV6_IP_2 0x00000000 16 #define SERV6_IP_3 0x0000abcd 37 ctx->user_ip6[0] = bpf_htonl(SERV6_IP_0); in recvmsg6_prog()
|
| /kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
| D | core_compatiable.h | 92 * \param [in] sat Bit position to saturate to (0..31) 104 } else if (val < 0) { 105 return 0U; 116 * For example, 0x12345678 becomes 0x78563412. 124 result = ((value & 0xff000000) >> 24) in __REV() 125 | ((value & 0x00ff0000) >> 8 ) in __REV() 126 | ((value & 0x0000ff00) << 8 ) in __REV() 127 | ((value & 0x000000ff) << 24); in __REV() 134 * For example, 0x12345678 becomes 0x34127856. 141 result = ((value & 0xff000000) >> 8) in __REV16() [all …]
|
| /kernel/linux/linux-6.6/Documentation/sound/hd-audio/ |
| D | notes.rst | 74 0 is the default value for all other 104 last cmd=0x12345678 106 last cmd=0x12345678 128 In such a case, turn the bit 8 (0x100) of ``probe_mask`` option on. 130 unconditionally. For example, ``probe_mask=0x103`` will force to probe 131 the codec slots 0 and 1 no matter what the hardware reports. 144 in the recent kernel, try to pass ``enable_msi=0`` option to disable 263 chance via SET_EAPD_BTL verb (0x70c). On others, GPIO pin (mostly 270 triggered. Issuing GET_PIN_SENSE verb (0xf09) may result in the 289 should be set to exactly 50%, corresponding to 0dB -- neither extra [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
| D | notes.rst | 74 0 is the default value for all other 104 last cmd=0x12345678 106 last cmd=0x12345678 128 In such a case, turn the bit 8 (0x100) of ``probe_mask`` option on. 130 unconditionally. For example, ``probe_mask=0x103`` will force to probe 131 the codec slots 0 and 1 no matter what the hardware reports. 144 in the recent kernel, try to pass ``enable_msi=0`` option to disable 252 chance via SET_EAPD_BTL verb (0x70c). On others, GPIO pin (mostly 259 triggered. Issuing GET_PIN_SENSE verb (0xf09) may result in the 278 should be set to exactly 50%, corresponding to 0dB -- neither extra [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/s390x/ |
| D | diag318_test_handler.c | 3 * Test handler for the s390x DIAGNOSE 0x0318 instruction. 11 #define ICPT_INSTRUCTION 0x04 12 #define IPA0_DIAG 0x8300 16 uint64_t diag318_info = 0x12345678; in guest_code() 18 asm volatile ("diag %0,0,0x318\n" : : "d" (diag318_info)); in guest_code() 22 * The DIAGNOSE 0x0318 instruction call must be handled via userspace. As such, 40 "Unexpected intercept code: 0x%x", run->s390_sieic.icptcode); in diag318_handler() 41 TEST_ASSERT((run->s390_sieic.ipa & 0xff00) == IPA0_DIAG, in diag318_handler() 42 "Unexpected IPA0 code: 0x%x", (run->s390_sieic.ipa & 0xff00)); in diag318_handler() 44 reg = (run->s390_sieic.ipa & 0x00f0) >> 4; in diag318_handler() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/realmode/rm/ |
| D | wakemain.c | 16 enable = 0x00; /* Turn off speaker */ in beep() 20 outb(0xb6, 0x43); /* Ctr 2, squarewave, load, binary */ in beep() 22 outb(div, 0x42); /* LSB of counter */ in beep() 24 outb(div >> 8, 0x42); /* MSB of counter */ in beep() 27 enable = 0x03; /* Turn on speaker */ in beep() 29 inb(0x61); /* Dummy read of System Control Port B */ in beep() 31 outb(enable, 0x61); /* Enable timer 2 output to speaker */ in beep() 49 beep(0); in send_morse() 55 beep(0); in send_morse() 72 if (wakeup_header.real_magic != 0x12345678) in main() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/realmode/rm/ |
| D | wakemain.c | 16 enable = 0x00; /* Turn off speaker */ in beep() 20 outb(0xb6, 0x43); /* Ctr 2, squarewave, load, binary */ in beep() 22 outb(div, 0x42); /* LSB of counter */ in beep() 24 outb(div >> 8, 0x42); /* MSB of counter */ in beep() 27 enable = 0x03; /* Turn on speaker */ in beep() 29 inb(0x61); /* Dummy read of System Control Port B */ in beep() 31 outb(enable, 0x61); /* Enable timer 2 output to speaker */ in beep() 49 beep(0); in send_morse() 55 beep(0); in send_morse() 68 if (wakeup_header.real_magic != 0x12345678) in main() [all …]
|