/Linux-v6.1/tools/testing/selftests/cpufreq/ |
D | module.sh | 21 printf "** Test: Running ${FUNCNAME[0]} **\n\n" 23 printf "Inserting $1 module\n" 27 printf "Insmod $1 failed\n" 31 printf "Removing $1 module\n" 35 printf "rmmod $1 failed\n" 39 printf "\n" 47 printf "** Test: Running ${FUNCNAME[0]} for driver $1 and cpus_hotplug=$2 **\n\n" 52 printf "\n" 56 printf "Inserting $1 module\n\n" 59 printf "Insmod $1 failed\n" [all …]
|
D | cpufreq.sh | 18 printf "Warning: No cpufreq directory present for $1\n" 25 printf "Warning: cpufreq directory present for $1\n" 50 printf "Printing directory: $1\n\n" 54 printf "$file:" 57 printf "\n" 61 printf "\n" 67 printf "** Test: Running ${FUNCNAME[0]} **\n\n" 71 printf "%s\n\n" "------------------------------------------------" 82 printf "Updating directory: $1\n\n" 94 printf "Writing $val to: $file\n" [all …]
|
/Linux-v6.1/lib/raid6/ |
D | mktables.c | 59 printf("#include <linux/export.h>\n"); in main() 60 printf("#include <linux/raid/pq.h>\n"); in main() 63 printf("\nconst u8 __attribute__((aligned(256)))\n" in main() 67 printf("\t{\n"); in main() 69 printf("\t\t"); in main() 71 printf("0x%02x,%c", gfmul(i, j + k), in main() 74 printf("\t},\n"); in main() 76 printf("};\n"); in main() 77 printf("#ifdef __KERNEL__\n"); in main() 78 printf("EXPORT_SYMBOL(raid6_gfmul);\n"); in main() [all …]
|
/Linux-v6.1/arch/arm/tools/ |
D | gen-mach-types | 26 printf("/*\n"); 27 printf(" * This was automagically generated from %s!\n", FILENAME); 28 printf(" * Do NOT edit\n"); 29 printf(" */\n\n"); 30 printf("#ifndef __ASM_ARM_MACH_TYPE_H\n"); 31 printf("#define __ASM_ARM_MACH_TYPE_H\n\n"); 32 printf("#ifndef __ASSEMBLY__\n"); 33 printf("/* The type of machine we're running on */\n"); 34 printf("extern unsigned int __machine_arch_type;\n"); 35 printf("#endif\n\n"); [all …]
|
/Linux-v6.1/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 51 printf("."); in keep_alive() 65 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term() 67 printf("\nStopping watchdog ticks...\n"); in term() 73 printf("Usage: %s [options]\n", progname); in usage() 74 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage() 75 printf("\t\t\tDefault is /dev/watchdog\n"); in usage() 76 printf(" -i, --info\t\tShow watchdog_info\n"); in usage() 77 printf(" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n"); in usage() 78 printf(" -d, --disable\t\tTurn off the watchdog timer\n"); in usage() 79 printf(" -e, --enable\t\tTurn on the watchdog timer\n"); in usage() [all …]
|
/Linux-v6.1/arch/sh/tools/ |
D | gen-mach-types | 18 printf("/*\n"); 19 printf(" * Automagically generated, don't touch.\n"); 20 printf(" */\n"); 21 printf("#ifndef __ASM_SH_MACHTYPES_H\n"); 22 printf("#define __ASM_SH_MACHTYPES_H\n"); 23 printf("\n"); 24 printf("/*\n"); 25 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n"); 26 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n"); 27 printf(" *\n"); [all …]
|
/Linux-v6.1/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 173 printf("Error in create VM, no CPUs available in the NE CPU pool\n"); in ne_create_vm() 179 printf("Error in create VM [%m]\n"); in ne_create_vm() 203 printf("Running from poll thread, enclave fd %d\n", enclave_fd); in ne_poll_enclave_fd() 210 printf("[iter %d] Polling ...\n", i); in ne_poll_enclave_fd() 214 printf("Error in poll [%m]\n"); in ne_poll_enclave_fd() 222 printf("Poll: %d seconds elapsed\n", in ne_poll_enclave_fd() 228 printf("Poll received value 0x%x\n", fds[0].revents); in ne_poll_enclave_fd() 231 printf("Received POLLHUP\n"); in ne_poll_enclave_fd() 237 printf("Received POLLNVAL\n"); in ne_poll_enclave_fd() 266 printf("Error in mmap memory [%m]\n"); in ne_alloc_user_mem_region() [all …]
|
/Linux-v6.1/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 32 …printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus() 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output() 93 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration() 96 printf("%u us", ((unsigned int) duration/1000)); in print_duration() 98 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration() 101 printf("%lu ns", duration); in print_duration() 107 printf("%u.%02u ms", ((unsigned int) duration/1000000), in print_duration() 113 printf("%u us", ((unsigned int) duration / 1000)); in print_duration() 118 printf("%u.%01u us", ((unsigned int) duration/1000), in print_duration() [all …]
|
D | cpuidle-info.c | 30 printf(_("CPU %u: No idle states\n"), cpu); in cpuidle_cpu_output() 34 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output() 35 printf(_("Available idle states:")); in cpuidle_cpu_output() 40 printf(" %s", tmp); in cpuidle_cpu_output() 43 printf("\n"); in cpuidle_cpu_output() 56 printf("%s%s:\n", tmp, (disabled) ? " (DISABLED) " : ""); in cpuidle_cpu_output() 62 printf(_("Flags/Description: %s\n"), tmp); in cpuidle_cpu_output() 65 printf(_("Latency: %lu\n"), in cpuidle_cpu_output() 67 printf(_("Usage: %lu\n"), in cpuidle_cpu_output() 69 printf(_("Duration: %llu\n"), in cpuidle_cpu_output() [all …]
|
/Linux-v6.1/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 158 printf("Current rlimit value for POSIX message queue bytes is " in validate_current_settings() 169 printf("Temporarily lowering default queue parameters " in validate_current_settings() 181 printf("Temporarily lowering maximum queue parameters " in validate_current_settings() 244 printf("Using Default queue path - %s\n", default_queue_path); in main() 296 printf("\nInitial system state:\n"); in main() 297 printf("\tUsing queue path:\t\t%s\n", queue_path); in main() 298 printf("\tRLIMIT_MSGQUEUE(soft):\t\t%ld\n", in main() 300 printf("\tRLIMIT_MSGQUEUE(hard):\t\t%ld\n", in main() 302 printf("\tMaximum Message Size:\t\t%d\n", saved_max_msgsize); in main() 303 printf("\tMaximum Queue Size:\t\t%d\n", saved_max_msgs); in main() [all …]
|
/Linux-v6.1/tools/testing/selftests/x86/ |
D | ioperm.c | 71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); in expect_ok() 75 printf("[OK]\toutb to 0x%02hx worked\n", port); in expect_ok() 81 printf("[FAIL]\toutb to 0x%02hx worked\n", port); in expect_gp() 85 printf("[OK]\toutb to 0x%02hx failed\n", port); in expect_gp() 103 printf("[RUN]\tenable 0x80\n"); in main() 105 printf("[OK]\tioperm(0x80, 1, 1) failed (%d) -- try running as root\n", in main() 112 printf("[RUN]\tdisable 0x80\n"); in main() 114 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main() 122 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main() 131 printf("[RUN]\tchild: check that we inherited permissions\n"); in main() [all …]
|
D | test_vsyscall.c | 78 printf("[WARN]\tfailed to find vDSO\n"); in init_vdso() 84 printf("[WARN]\tfailed to find gettimeofday in vDSO\n"); in init_vdso() 88 printf("[WARN]\tfailed to find clock_gettime in vDSO\n"); in init_vdso() 92 printf("[WARN]\tfailed to find time in vDSO\n"); in init_vdso() 97 printf("[%s]\tfailed to find getcpu in vDSO\n", in init_vdso() 112 printf("[WARN]\tCould not open /proc/self/maps -- assuming vsyscall is r-x\n"); in init_vsys() 130 printf("\tvsyscall map: %s", line); in init_vsys() 134 printf("[FAIL]\taddress range is nonsense\n"); in init_vsys() 138 printf("\tvsyscall permissions are %c-%c\n", r, x); in init_vsys() 149 printf("\tno vsyscall map in /proc/self/maps\n"); in init_vsys() [all …]
|
D | iopl.c | 71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); in expect_ok_outb() 75 printf("[OK]\toutb to 0x%02hx worked\n", port); in expect_ok_outb() 81 printf("[FAIL]\toutb to 0x%02hx worked\n", port); in expect_gp_outb() 85 printf("[OK]\toutb to 0x%02hx failed\n", port); in expect_gp_outb() 138 printf("[OK]\tSTI faulted\n"); in expect_gp_sti() 141 printf("[OK]\tSTI NOPped\n"); in expect_gp_sti() 144 printf("[FAIL]\tSTI worked\n"); in expect_gp_sti() 158 printf("[OK]\tCLI faulted\n"); in test_cli() 161 printf("[OK]\tCLI NOPped\n"); in test_cli() 164 printf("[FAIL]\tCLI worked\n"); in test_cli() [all …]
|
D | fsgsbase.c | 164 printf("[RUN]\tARCH_SET_GS to 0x%lx\n", value); in check_gs_value() 171 printf("[OK]\tGSBASE was set as expected (selector 0x%hx)\n", in check_gs_value() 175 printf("[FAIL]\tGSBASE was not as expected: got 0x%lx (selector 0x%hx)\n", in check_gs_value() 182 printf("[OK]\tARCH_GET_GS worked as expected (selector 0x%hx)\n", in check_gs_value() 186 printf("[FAIL]\tARCH_GET_GS was not as expected: got 0x%lx (selector 0x%hx)\n", in check_gs_value() 195 …printf("[RUN]\tARCH_SET_GS to 0x%lx then mov 0 to %%gs%s\n", initial_base, schedule ? " and schedu… in mov_0_gs() 207 printf("[OK]\tGSBASE is 0x%lx\n", base); in mov_0_gs() 210 printf("[FAIL]\tGSBASE changed to 0x%lx but kernel reports 0x%lx\n", base, arch_base); in mov_0_gs() 241 printf("\tother thread: ARCH_SET_GS(0x%lx)%s -- sel is 0x%hx\n", in do_remote_base() 271 printf("\tusing LDT slot 0\n"); in load_gs() [all …]
|
/Linux-v6.1/Documentation/arm/samsung/ |
D | clksrc-change-registers.awk | 33 printf "find_length " f "\n" > "/dev/stderr" 44 printf "unknown length " f "\n" > "/dev/stderr" 52 printf "cannot find shift " s "\n" > "/dev/stderr" 75 printf "MASK " line "\n" > "/dev/stderr" 79 printf "=> '" name "' LENGTH=" dmask[name,0] " SHIFT=" dmask[name,1] "\n" > "/dev/stderr" 99 printf "unexpected end of file" > "/dev/stderr" 121 printf "shift '" shift "' ='" dmask[shift,0] "'\n" > "/dev/stderr" 122 printf "mask '" mask "'\n" > "/dev/stderr" 123 printf "dshft '" divshift "'\n" > "/dev/stderr" 124 printf "rdiv '" reg_div "'\n" > "/dev/stderr" [all …]
|
/Linux-v6.1/tools/power/cpupower/debug/i386/ |
D | intel_gsic.c | 31 printf("Failed!\n"); in main() 35 printf("BIOS supports GSIC call:\n"); in main() 36 printf("\tsignature: %c%c%c%c\n", in main() 41 printf("\tcommand port = 0x%.4x\n", in main() 43 printf("\tcommand = 0x%.4x\n", in main() 45 printf("\tevent port = 0x%.8x\n", r.ecx); in main() 46 printf("\tflags = 0x%.8x\n", r.edx); in main() 48 printf("non-default command value. If speedstep-smi " in main() 55 printf("non-default command port. If speedstep-smi " in main() 62 printf("BIOS DOES NOT support GSIC call. Dumping registers anyway:\n"); in main() [all …]
|
/Linux-v6.1/samples/vfs/ |
D | test-statx.c | 65 printf("%s", field); in print_time() 67 printf(".%09u", ts->tv_nsec); in print_time() 74 printf("\n"); in print_time() 81 printf("results=%x\n", stx->stx_mask); in dump_statx() 83 printf(" "); in dump_statx() 85 printf(" Size: %-15llu", (unsigned long long)stx->stx_size); in dump_statx() 87 printf(" Blocks: %-10llu", (unsigned long long)stx->stx_blocks); in dump_statx() 88 printf(" IO Block: %-6llu", (unsigned long long)stx->stx_blksize); in dump_statx() 91 case S_IFIFO: printf(" FIFO\n"); ft = 'p'; break; in dump_statx() 92 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx() [all …]
|
/Linux-v6.1/arch/powerpc/xmon/ |
D | spu-dis.c | 94 printf(".long 0x%lx", insn); in print_insn_spu() 101 printf("%s", index->mnemonic); in print_insn_spu() 108 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu() 110 printf("d"); in print_insn_spu() 112 printf("e"); in print_insn_spu() 115 printf("\t"); in print_insn_spu() 121 printf(","); in print_insn_spu() 126 printf("$%lu", in print_insn_spu() 130 printf("$%lu", in print_insn_spu() 134 printf("$%lu", in print_insn_spu() [all …]
|
D | xmon.c | 149 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog() 313 printf("xmon: Disabled due to kernel lockdown\n"); in xmon_is_locked_down() 321 printf("xmon: Read-only due to kernel lockdown\n"); in xmon_is_locked_down() 533 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core() 543 printf("xmon: WARNING: bad recursive fault " in xmon_core() 565 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core() 570 printf("WARNING: exception is not recoverable, " in xmon_core() 620 printf("enter ? for help\n"); in xmon_core() 671 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core() 682 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core() [all …]
|
/Linux-v6.1/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 37 …printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (defa… in usage() 45 printf("Get Interface Firmware Version\n"); in update_intf_firmware() 49 printf("Failed to get interface firmware version: %s (%d)\n", in update_intf_firmware() 54 printf("Interface Firmware tag (%s), major (%d), minor (%d)\n", in update_intf_firmware() 59 printf("Loading Interface Firmware\n"); in update_intf_firmware() 71 printf("Failed to load interface firmware: %s (%d)\n", fwdev, in update_intf_firmware() 78 printf("Load status says loading failed: %d\n", in update_intf_firmware() 83 printf("Interface Firmware (%s) Load done: major: %d, minor: %d, status: %d\n", in update_intf_firmware() 88 printf("Initiate Mode switch\n"); in update_intf_firmware() 92 printf("Failed to initiate mode-switch (%d)\n", ret); in update_intf_firmware() [all …]
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 36 printf("Error: couldn't map the space we need for the test\n"); in find_base_addr() 41 printf("Error: couldn't map the space we need for the test\n"); in find_base_addr() 59 printf("Error: couldn't map the space we need for the test\n"); in main() 71 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 75 printf("Error: couldn't map the space we need for the test\n"); in main() 82 printf("Error: munmap failed!?\n"); in main() 85 printf("unmap() successful\n"); in main() 91 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 95 printf("Error: first mmap() failed unexpectedly\n"); in main() 111 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() [all …]
|
/Linux-v6.1/samples/bpf/ |
D | trace_event_user.c | 35 printf("ksym not found. Is kallsyms loaded?\n"); in print_ksym() 39 printf("%s;", sym->name); in print_ksym() 50 printf("%llx;", addr); in print_addr() 67 printf("%3lld %s;", count, key->comm); in print_stack() 69 printf("---;"); in print_stack() 74 printf("-;"); in print_stack() 76 printf("---;"); in print_stack() 82 printf("\r"); in print_stack() 84 printf("\n"); in print_stack() 87 printf("stackmap collisions seen. Consider increasing size\n"); in print_stack() [all …]
|
/Linux-v6.1/tools/testing/selftests/vDSO/ |
D | vdso_test_correctness.c | 100 printf("Warning: failed to find vsyscall getcpu\n"); in vsyscall_getcpu() 118 printf("[WARN]\tfailed to find vDSO\n"); in fill_function_pointers() 124 printf("Warning: failed to find getcpu in vDSO\n"); in fill_function_pointers() 130 printf("Warning: failed to find clock_gettime in vDSO\n"); in fill_function_pointers() 135 printf("Warning: failed to find clock_gettime64 in vDSO\n"); in fill_function_pointers() 140 printf("Warning: failed to find gettimeofday in vDSO\n"); in fill_function_pointers() 167 printf("[RUN]\tTesting getcpu...\n"); in test_getcpu() 202 printf("[%s]\tCPU %u:", ok ? "OK" : "FAIL", cpu); in test_getcpu() 204 printf(" syscall: cpu %u, node %u", cpu_sys, node_sys); in test_getcpu() 206 printf(" vdso: cpu %u, node %u", cpu_vdso, node_vdso); in test_getcpu() [all …]
|
/Linux-v6.1/Documentation/scheduler/ |
D | sched-pelt.c | 24 printf("static const u32 runnable_avg_yN_inv[] __maybe_unused = {"); in calc_runnable_avg_yN_inv() 28 if (i % 6 == 0) printf("\n\t"); in calc_runnable_avg_yN_inv() 29 printf("0x%8x, ", x); in calc_runnable_avg_yN_inv() 31 printf("\n};\n\n"); in calc_runnable_avg_yN_inv() 40 printf("static const u32 runnable_avg_yN_sum[] = {\n\t 0,"); in calc_runnable_avg_yN_sum() 48 printf("\n\t"); in calc_runnable_avg_yN_sum() 50 printf("%5d,", sum); in calc_runnable_avg_yN_sum() 52 printf("\n};\n\n"); in calc_runnable_avg_yN_sum() 77 printf("#define LOAD_AVG_PERIOD %d\n", HALFLIFE); in calc_converged_max() 78 printf("#define LOAD_AVG_MAX %ld\n", max); in calc_converged_max() [all …]
|
/Linux-v6.1/arch/x86/boot/compressed/ |
D | mkpiggy.c | 52 printf(".section \".rodata..compressed\",\"a\",@progbits\n"); in main() 53 printf(".globl z_input_len\n"); in main() 54 printf("z_input_len = %lu\n", ilen); in main() 55 printf(".globl z_output_len\n"); in main() 56 printf("z_output_len = %lu\n", (unsigned long)olen); in main() 58 printf(".globl input_data, input_data_end\n"); in main() 59 printf("input_data:\n"); in main() 60 printf(".incbin \"%s\"\n", argv[1]); in main() 61 printf("input_data_end:\n"); in main() 63 printf(".section \".rodata\",\"a\",@progbits\n"); in main() [all …]
|