/tools/testing/selftests/timers/ |
D | rtctest.c | 35 int i, fd, retval, irqcount = 0; in main() local 62 retval = ioctl(fd, RTC_UIE_ON, 0); in main() 63 if (retval == -1) { in main() 78 retval = read(fd, &data, sizeof(unsigned long)); in main() 79 if (retval == -1) { in main() 97 retval = select(fd+1, &readfds, NULL, NULL, &tv); in main() 98 if (retval == -1) { in main() 103 retval = read(fd, &data, sizeof(unsigned long)); in main() 104 if (retval == -1) { in main() 114 retval = ioctl(fd, RTC_UIE_OFF, 0); in main() [all …]
|
/tools/perf/scripts/python/Perf-Trace-Util/ |
D | Context.c | 32 int retval; in perf_trace_context_common_pc() local 38 retval = common_pc(scripting_context); in perf_trace_context_common_pc() 40 return Py_BuildValue("i", retval); in perf_trace_context_common_pc() 48 int retval; in perf_trace_context_common_flags() local 54 retval = common_flags(scripting_context); in perf_trace_context_common_flags() 56 return Py_BuildValue("i", retval); in perf_trace_context_common_flags() 64 int retval; in perf_trace_context_common_lock_depth() local 70 retval = common_lock_depth(scripting_context); in perf_trace_context_common_lock_depth() 72 return Py_BuildValue("i", retval); in perf_trace_context_common_lock_depth()
|
/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 191 int retval; in get_msr() local 202 retval = pread(fd, &msr, sizeof msr, offset); in get_msr() 204 if (retval != sizeof msr) { in get_msr() 205 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in get_msr() 216 int retval; in put_msr() local 226 retval = pread(fd, &old_msr, sizeof old_msr, offset); in put_msr() 227 if (retval != sizeof old_msr) { in put_msr() 229 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in put_msr() 233 retval = pwrite(fd, &new_msr, sizeof new_msr, offset); in put_msr() 234 if (retval != sizeof new_msr) { in put_msr() [all …]
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-build.sh | 57 retval=$? 58 if test $retval -gt 1 64 retval=$? 65 if test $retval -ne 0 || grep "rcu[^/]*": < $builddir/Make.out | egrep -q "Stop|Error|error:|warnin…
|
/tools/power/cpupower/debug/i386/ |
D | intel_gsic.c | 19 int retval; in main() local 29 retval = LRMI_int(0x15, &r); in main() 31 if (!retval) { in main()
|
D | centrino-decode.c | 35 int retval = -1; in rdmsr() local 57 retval = 0; in rdmsr() 61 return retval; in rdmsr()
|
/tools/perf/util/ |
D | dwarf-aux.c | 599 int retval; member 629 iwp->retval = iwp->callback(inst, iwp->data); in __die_walk_instances_cb() 631 return (iwp->retval) ? DIE_FIND_CB_END : DIE_FIND_CB_CONTINUE; in __die_walk_instances_cb() 653 .retval = -ENOENT, in die_walk_instances() 661 return iwp.retval; in die_walk_instances() 669 int retval; member 683 lw->retval = lw->callback(fname, lineno, addr, lw->data); in __die_walk_funclines_cb() 684 if (lw->retval != 0) in __die_walk_funclines_cb() 695 lw->retval = lw->callback(fname, lineno, addr, lw->data); in __die_walk_funclines_cb() 696 if (lw->retval != 0) in __die_walk_funclines_cb() [all …]
|
D | genelf.c | 171 int retval = -1; in jit_write_elf() local 393 retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); in jit_write_elf() 394 if (retval) in jit_write_elf() 405 retval = 0; in jit_write_elf() 412 return retval; in jit_write_elf()
|
D | probe-finder.c | 977 int retval; member 1002 param->retval = find_probe_point_by_line(pf); in probe_point_search_cb() 1010 param->retval = 0; in probe_point_search_cb() 1013 param->retval = find_probe_point_lazy(sp_die, pf); in probe_point_search_cb() 1018 param->retval = call_probe_finder(sp_die, pf); in probe_point_search_cb() 1022 param->retval = die_walk_instances(sp_die, in probe_point_search_cb() 1025 if (param->retval == -ENOENT) in probe_point_search_cb() 1026 param->retval = 0; in probe_point_search_cb() 1030 if (strisglob(pp->function) && param->retval >= 0) { in probe_point_search_cb() 1031 param->retval = 0; /* We have to clear the result */ in probe_point_search_cb() [all …]
|
D | unwind-libunwind-local.c | 196 int retval = 0; in elf_is_exec() local 204 retval = (ehdr.e_type == ET_EXEC); in elf_is_exec() 208 pr_debug("unwind: elf_is_exec(%s): %d\n", name, retval); in elf_is_exec() 209 return retval; in elf_is_exec()
|
D | jitdump.c | 126 int ret, retval = -1; in jit_open() local 217 return retval; in jit_open()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 251 int retval, pkg_no, core_no, thread_no; in for_all_cpus() local 269 retval = func(t, c, p); in for_all_cpus() 270 if (retval) in for_all_cpus() 271 return retval; in for_all_cpus() 309 ssize_t retval; in get_msr() local 311 retval = pread(get_msr_fd(cpu), msr, sizeof(*msr), offset); in get_msr() 313 if (retval != sizeof *msr) in get_msr() 1816 int retval, pkg_no, core_no, thread_no; in for_all_cpus_2() local 1839 retval = func(t, c, p, t2, c2, p2); in for_all_cpus_2() 1840 if (retval) in for_all_cpus_2() [all …]
|
/tools/testing/ktest/ |
D | ktest.pl | 676 my $retval = ""; 690 $retval = "$retval$begin"; 692 $retval = "$retval$variable{$var}"; 696 $retval = "${retval}0"; 699 $retval = "$retval\$\{$var\}"; 707 $retval = "$retval$value"; 710 $retval =~ s/ //; 712 return "$retval" 1210 my $retval = ""; 1230 $retval = "$retval$start"; [all …]
|
/tools/usb/ |
D | testusb.c | 529 void *retval; in main() local 531 if (pthread_join (entry->thread, &retval)) in main()
|
/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 543 void *retval; in main() local 736 pthread_join(cpu_threads[0], &retval); in main() 737 shutdown((long)retval, "perf_test_thread()", __LINE__); in main()
|
/tools/firewire/ |
D | nosy-dump.c | 912 int length, retval, view; in main() local 922 retval = poptGetNextOpt(con); in main() 923 if (retval < -1) { in main()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 118 PyObject *retval; in call_object() local 120 retval = PyObject_CallObject(handler, args); in call_object() 121 if (retval == NULL) in call_object() 123 Py_DECREF(retval); in call_object()
|
/tools/perf/Documentation/ |
D | perf-probe.txt | 184 [NAME=]LOCALVAR|$retval|%REG|@SYMBOL[:TYPE] 186 …var->array[0], var->pointer[2]), or kprobe-tracer argument format (e.g. $retval, %ax, etc). Note t…
|