Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/Linux-v4.19/tools/testing/selftests/cpufreq/
Dmodule.sh21 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 …]
Dcpufreq.sh18 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-v4.19/lib/raid6/
Dmktables.c62 printf("#include <linux/raid/pq.h>\n"); in main()
63 printf("#include <linux/export.h>\n"); in main()
66 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
70 printf("\t{\n"); in main()
72 printf("\t\t"); in main()
74 printf("0x%02x,%c", gfmul(i, j + k), in main()
77 printf("\t},\n"); in main()
79 printf("};\n"); in main()
80 printf("#ifdef __KERNEL__\n"); in main()
81 printf("EXPORT_SYMBOL(raid6_gfmul);\n"); in main()
[all …]
/Linux-v4.19/arch/arm/tools/
Dgen-mach-types26 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-v4.19/arch/sh/tools/
Dgen-mach-types18 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-v4.19/tools/power/cpupower/utils/
Dcpufreq-info.c33printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
65 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
79 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
94 printf("%u.%06u GHz", ((unsigned int) speed/1000000), in print_speed()
97 printf("%u.%03u MHz", ((unsigned int) speed/1000), in print_speed()
100 printf("%lu kHz", speed); in print_speed()
106 printf("%u.%02u GHz", ((unsigned int) speed/1000000), in print_speed()
112 printf("%u MHz", ((unsigned int) speed/1000)); in print_speed()
117 printf("%u.%01u MHz", ((unsigned int) speed/1000), in print_speed()
131 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration()
[all …]
Dcpuidle-info.c31 printf(_("CPU %u: No idle states\n"), cpu); in cpuidle_cpu_output()
35 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output()
36 printf(_("Available idle states:")); in cpuidle_cpu_output()
41 printf(" %s", tmp); in cpuidle_cpu_output()
44 printf("\n"); in cpuidle_cpu_output()
57 printf("%s%s:\n", tmp, (disabled) ? " (DISABLED) " : ""); in cpuidle_cpu_output()
63 printf(_("Flags/Description: %s\n"), tmp); in cpuidle_cpu_output()
66 printf(_("Latency: %lu\n"), in cpuidle_cpu_output()
68 printf(_("Usage: %lu\n"), in cpuidle_cpu_output()
70 printf(_("Duration: %llu\n"), in cpuidle_cpu_output()
[all …]
/Linux-v4.19/tools/testing/selftests/mqueue/
Dmq_open_tests.c158 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-v4.19/Documentation/arm/Samsung/
Dclksrc-change-registers.awk33 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-v4.19/tools/testing/selftests/watchdog/
Dwatchdog-test.c45 printf("."); in keep_alive()
59 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term()
61 printf("\nStopping watchdog ticks...\n"); in term()
67 printf("Usage: %s [options]\n", progname); in usage()
68 printf(" -b, --bootstatus Get last boot status (Watchdog/POR)\n"); in usage()
69 printf(" -d, --disable Turn off the watchdog timer\n"); in usage()
70 printf(" -e, --enable Turn on the watchdog timer\n"); in usage()
71 printf(" -h, --help Print the help message\n"); in usage()
72 printf(" -p, --pingrate=P Set ping rate to P seconds (default %d)\n", DEFAULT_PING_RATE); in usage()
73 printf(" -t, --timeout=T Set timeout to T seconds\n"); in usage()
[all …]
/Linux-v4.19/tools/power/cpupower/debug/i386/
Dintel_gsic.c32 printf("Failed!\n"); in main()
36 printf("BIOS supports GSIC call:\n"); in main()
37 printf("\tsignature: %c%c%c%c\n", in main()
42 printf("\tcommand port = 0x%.4x\n", in main()
44 printf("\tcommand = 0x%.4x\n", in main()
46 printf("\tevent port = 0x%.8x\n", r.ecx); in main()
47 printf("\tflags = 0x%.8x\n", r.edx); in main()
49 printf("non-default command value. If speedstep-smi " in main()
56 printf("non-default command port. If speedstep-smi " in main()
63 printf("BIOS DOES NOT support GSIC call. Dumping registers anyway:\n"); in main()
[all …]
/Linux-v4.19/tools/testing/selftests/x86/
Diopl.c55 printf("[OK]\tiopl(3) failed (%d) -- try running as root\n", in main()
69 printf("\tchild: set IOPL to 3\n"); in main()
73 printf("[RUN]\tchild: write to 0x80\n"); in main()
81 printf("[FAIL]\tChild died\n"); in main()
84 printf("[FAIL]\tChild failed\n"); in main()
87 printf("[OK]\tChild succeeded\n"); in main()
91 printf("[RUN]\tparent: write to 0x80 (should fail)\n"); in main()
95 printf("[OK]\twrite was denied\n"); in main()
98 printf("[FAIL]\twrite was allowed\n"); in main()
103 printf("\tiopl(3)\n"); in main()
[all …]
Dioperm.c71 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 …]
Dtest_vsyscall.c75 printf("[WARN]\tfailed to find vDSO\n"); in init_vdso()
81 printf("[WARN]\tfailed to find gettimeofday in vDSO\n"); in init_vdso()
85 printf("[WARN]\tfailed to find clock_gettime in vDSO\n"); in init_vdso()
89 printf("[WARN]\tfailed to find time in vDSO\n"); in init_vdso()
94 printf("[%s]\tfailed to find getcpu in vDSO\n", in init_vdso()
109 printf("[WARN]\tCould not open /proc/self/maps -- assuming vsyscall is r-x\n"); in init_vsys()
127 printf("\tvsyscall map: %s", line); in init_vsys()
131 printf("[FAIL]\taddress range is nonsense\n"); in init_vsys()
135 printf("\tvsyscall permissions are %c-%c\n", r, x); in init_vsys()
150 printf("\tno vsyscall map in /proc/self/maps\n"); in init_vsys()
[all …]
Dtest_FCOMI.c75 printf("[BAD]\tfcomi_1_pi with flags:%lx\n", flags); in test()
79 printf("[BAD]\tfcomi_pi_1 with flags:%lx->%lx\n", flags, res_fcomi_pi_1 & ARITH); in test()
83 printf("[BAD]\tfcomi_1_1 with flags:%lx\n", flags); in test()
87 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in test()
112 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in test_qnan()
116 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in test_qnan()
141 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_qnan()
145 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in testu_qnan()
172 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_snan()
177 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in testu_snan()
[all …]
Dmov_ss_trap.c89 printf("\tDR0 = %lx, DR1 = %lx, DR7 = %lx\n", dr0, dr1, dr7); in enable_watchpoint()
121 printf("\tGot SIGTRAP with RIP=%lx, EFLAGS.RF=%d\n", in sigtrap()
130 printf("\tGot %s with RIP=%lx\n", signames[sig], in handle_and_return()
138 printf("\tGot %s with RIP=%lx\n", signames[sig], in handle_and_longjmp()
149 printf("\tSS = 0x%hx, &SS = 0x%p\n", ss, &ss); in main()
152 printf("\tPR_SET_PTRACER_ANY succeeded\n"); in main()
154 printf("\tSet up a watchpoint\n"); in main()
158 printf("[RUN]\tRead from watched memory (should get SIGTRAP)\n"); in main()
161 printf("[RUN]\tMOV SS; INT3\n"); in main()
164 printf("[RUN]\tMOV SS; INT 3\n"); in main()
[all …]
/Linux-v4.19/samples/statx/
Dtest-statx.c59 printf("%s", field); in print_time()
61 printf(".%09u", ts->tv_nsec); in print_time()
68 printf("\n"); in print_time()
75 printf("results=%x\n", stx->stx_mask); in dump_statx()
77 printf(" "); in dump_statx()
79 printf(" Size: %-15llu", (unsigned long long)stx->stx_size); in dump_statx()
81 printf(" Blocks: %-10llu", (unsigned long long)stx->stx_blocks); in dump_statx()
82 printf(" IO Block: %-6llu", (unsigned long long)stx->stx_blksize); in dump_statx()
85 case S_IFIFO: printf(" FIFO\n"); ft = 'p'; break; in dump_statx()
86 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx()
[all …]
/Linux-v4.19/arch/powerpc/xmon/
Dspu-dis.c105 printf(".long 0x%lx", insn); in print_insn_spu()
112 printf("%s", index->mnemonic); in print_insn_spu()
119 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu()
121 printf("d"); in print_insn_spu()
123 printf("e"); in print_insn_spu()
126 printf("\t"); in print_insn_spu()
132 printf(","); in print_insn_spu()
137 printf("$%lu", in print_insn_spu()
141 printf("$%lu", in print_insn_spu()
145 printf("$%lu", in print_insn_spu()
[all …]
Dxmon.c137 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
489 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
499 printf("xmon: WARNING: bad recursive fault " in xmon_core()
520 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core()
525 printf("WARNING: exception is not recoverable, " in xmon_core()
573 printf("enter ? for help\n"); in xmon_core()
616 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
627 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core()
631 printf("WARNING: exception is not recoverable, " in xmon_core()
638 printf("enter ? for help\n"); in xmon_core()
[all …]
/Linux-v4.19/scripts/dtc/
Dfdtdump.c31 printf(" = \"%s\"", (const char *)data); in print_data()
33 printf(" = <"); in print_data()
35 printf("0x%08x%s", fdt32_to_cpu(GET_CELL(p)), in print_data()
37 printf(">"); in print_data()
39 printf(" = ["); in print_data()
41 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in print_data()
42 printf("]"); in print_data()
67 printf("/dts-v1/;\n"); in dump_blob()
68 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
69 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize); in dump_blob()
[all …]
/Linux-v4.19/drivers/staging/greybus/Documentation/firmware/
Dfirmware.c83printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (defa… in usage()
91 printf("Get Interface Firmware Version\n"); in update_intf_firmware()
95 printf("Failed to get interface firmware version: %s (%d)\n", in update_intf_firmware()
100 printf("Interface Firmware tag (%s), major (%d), minor (%d)\n", in update_intf_firmware()
105 printf("Loading Interface Firmware\n"); in update_intf_firmware()
117 printf("Failed to load interface firmware: %s (%d)\n", fwdev, in update_intf_firmware()
124 printf("Load status says loading failed: %d\n", in update_intf_firmware()
129 printf("Interface Firmware (%s) Load done: major: %d, minor: %d, status: %d\n", in update_intf_firmware()
134 printf("Initiate Mode switch\n"); in update_intf_firmware()
138 printf("Failed to initiate mode-switch (%d)\n", ret); in update_intf_firmware()
[all …]
/Linux-v4.19/samples/bpf/
Dload_sock_ops.c20 printf("USAGE:\n %s [-l] <cg-path> <prog filename>\n", pname); in usage()
21 printf("\tLoad and attach a sock_ops program to the specified " in usage()
23 printf("\tIf \"-l\" is used, the program will continue to run\n"); in usage()
24 printf("\tprinting the BPF log buffer\n"); in usage()
25 printf("\tIf the specified filename does not end in \".o\", it\n"); in usage()
26 printf("\tappends \"_kern.o\" to the name\n"); in usage()
27 printf("\n"); in usage()
28 printf(" %s -r <cg-path>\n", pname); in usage()
29 printf("\tDetaches the currently attached sock_ops program\n"); in usage()
30 printf("\tfrom the specified cgroup\n"); in usage()
[all …]
/Linux-v4.19/Documentation/scheduler/
Dsched-pelt.c23 printf("static const u32 runnable_avg_yN_inv[] = {"); in calc_runnable_avg_yN_inv()
27 if (i % 6 == 0) printf("\n\t"); in calc_runnable_avg_yN_inv()
28 printf("0x%8x, ", x); in calc_runnable_avg_yN_inv()
30 printf("\n};\n\n"); in calc_runnable_avg_yN_inv()
39 printf("static const u32 runnable_avg_yN_sum[] = {\n\t 0,"); in calc_runnable_avg_yN_sum()
47 printf("\n\t"); in calc_runnable_avg_yN_sum()
49 printf("%5d,", sum); in calc_runnable_avg_yN_sum()
51 printf("\n};\n\n"); in calc_runnable_avg_yN_sum()
76 printf("#define LOAD_AVG_PERIOD %d\n", HALFLIFE); in calc_converged_max()
77 printf("#define LOAD_AVG_MAX %ld\n", max); in calc_converged_max()
[all …]
/Linux-v4.19/scripts/kconfig/
Dconf.c52 printf("\n%s\n", str_get(&help)); in print_help()
80 printf("%s", str); in xfgets()
88 printf("(NEW) "); in conf_askvalue()
94 printf("%s\n", def); in conf_askvalue()
104 printf("%s\n", def); in conf_askvalue()
120 printf("%s\n", def); in conf_askvalue()
125 printf("%s", line); in conf_askvalue()
135 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
136 printf("(%s) ", sym->name); in conf_string()
139 printf("[%s] ", def); in conf_string()
[all …]
/Linux-v4.19/tools/testing/selftests/prctl/
Ddisable-tsc-test.c45 printf("[ SIG_SEGV ]\n"); in sigsegv_cb()
46 printf("prctl(PR_GET_TSC, &tsc_val); "); in sigsegv_cb()
52 printf("tsc_val == %s\n", tsc_names[tsc_val]); in sigsegv_cb()
53 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
58 printf("rdtsc() == "); in sigsegv_cb()
67 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
68 printf("prctl(PR_GET_TSC, &tsc_val); "); in main()
74 printf("tsc_val == %s\n", tsc_names[tsc_val]); in main()
75 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
[all …]

12345678910>>...29