/tools/testing/selftests/sync/ |
D | sync.c | 86 struct sync_file_info *info; in sync_file_info() local 90 info = calloc(1, sizeof(*info)); in sync_file_info() 91 if (info == NULL) in sync_file_info() 94 err = ioctl(fd, SYNC_IOC_FILE_INFO, info); in sync_file_info() 96 free(info); in sync_file_info() 100 num_fences = info->num_fences; in sync_file_info() 103 info->flags = 0; in sync_file_info() 104 info->num_fences = num_fences; in sync_file_info() 108 free(info); in sync_file_info() 112 info->sync_fence_info = (uint64_t)fence_info; in sync_file_info() [all …]
|
/tools/testing/selftests/size/ |
D | get_size.c | 88 struct sysinfo info; in _start() local 95 ccode = syscall(SYS_sysinfo, &info); in _start() 106 used = info.totalram - info.freeram - info.bufferram; in _start() 109 print_k_value(" Total: ", info.totalram, info.mem_unit); in _start() 110 print_k_value(" Free: ", info.freeram, info.mem_unit); in _start() 111 print_k_value(" Buffer: ", info.bufferram, info.mem_unit); in _start() 112 print_k_value(" In use: ", used, info.mem_unit); in _start()
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi_signal_restart.c | 92 info("signal received %s requeue\n", in handle_signal() 103 info("Waiter running\n"); in waiterfn() 104 info("Calling FUTEX_LOCK_PI on f2=%x @ %p\n", f2, &f2); in waiterfn() 111 info("w2:futex: %x\n", f2); in waiterfn() 117 info("Waiter exiting with %d\n", waiter_ret); in waiterfn() 159 info("m1:f2: %x\n", f2); in main() 160 info("Creating waiter\n"); in main() 168 info("Calling FUTEX_LOCK_PI on f2=%x @ %p\n", f2, &f2); in main() 169 info("m2:f2: %x\n", f2); in main() 171 info("m3:f2: %x\n", f2); in main() [all …]
|
D | futex_requeue_pi.c | 117 info("Waiter %ld: running\n", args->id); in waiterfn() 125 info("Calling futex_wait_requeue_pi: %p (%u) -> %p\n", in waiterfn() 130 info("waiter %ld woke with %d %s\n", args->id, args->ret, in waiterfn() 144 info("Waiter %ld: exiting with %d\n", args->id, args->ret); in waiterfn() 157 info("Waker: waiting for waiters to block\n"); in broadcast_wakerfn() 162 info("Waker: Calling broadcast\n"); in broadcast_wakerfn() 164 info("Calling FUTEX_LOCK_PI on mutex=%x @ %p\n", f2, &f2); in broadcast_wakerfn() 192 info("Waker: exiting with %d\n", args->ret); in broadcast_wakerfn() 205 info("Waker: waiting for waiters to block\n"); in signal_wakerfn() 211 info("task_count: %d, waiters_woken: %d\n", in signal_wakerfn() [all …]
|
D | futex_wait_private_mapped_file.c | 60 info("futex wait\n"); in thr_futex_wait() 71 info("futex_wait: ret = %d, errno = %d\n", ret, errno); in thr_futex_wait() 112 info("wait a while\n"); in main() 116 info("futex_wake %d\n", res); in main() 122 info("join\n"); in main()
|
/tools/virtio/ |
D | virtio_test.c | 48 struct vq_info *info = vq->priv; in vq_notify() local 51 r = write(info->kick, &v, sizeof v); in vq_notify() 61 void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup() argument 63 struct vhost_vring_state state = { .index = info->idx }; in vhost_vq_setup() 64 struct vhost_vring_file file = { .index = info->idx }; in vhost_vq_setup() 67 .index = info->idx, in vhost_vq_setup() 68 .desc_user_addr = (uint64_t)(unsigned long)info->vring.desc, in vhost_vq_setup() 69 .avail_user_addr = (uint64_t)(unsigned long)info->vring.avail, in vhost_vq_setup() 70 .used_user_addr = (uint64_t)(unsigned long)info->vring.used, in vhost_vq_setup() 75 state.num = info->vring.num; in vhost_vq_setup() [all …]
|
/tools/iio/ |
D | iio_generic_buffer.c | 75 void print1byte(uint8_t input, struct iio_channel_info *info) in print1byte() argument 81 input >>= info->shift; in print1byte() 82 input &= info->mask; in print1byte() 83 if (info->is_signed) { in print1byte() 84 int8_t val = (int8_t)(input << (8 - info->bits_used)) >> in print1byte() 85 (8 - info->bits_used); in print1byte() 86 printf("%05f ", ((float)val + info->offset) * info->scale); in print1byte() 88 printf("%05f ", ((float)input + info->offset) * info->scale); in print1byte() 92 void print2byte(uint16_t input, struct iio_channel_info *info) in print2byte() argument 95 if (info->be) in print2byte() [all …]
|
/tools/perf/bench/ |
D | mem-functions.c | 117 static void __bench_mem_function(struct bench_mem_info *info, int r_idx, size_t size, double size_t… in __bench_mem_function() argument 119 const struct function *r = &info->functions[r_idx]; in __bench_mem_function() 129 if (info->alloc_src) { in __bench_mem_function() 139 result_cycles = info->do_cycles(r, size, src, dst); in __bench_mem_function() 141 result_bps = info->do_gettimeofday(r, size, src, dst); in __bench_mem_function() 175 static int bench_mem_common(int argc, const char **argv, struct bench_mem_info *info) in bench_mem_common() argument 181 argc = parse_options(argc, argv, options, info->usage, 0); in bench_mem_common() 200 for (i = 0; info->functions[i].name; i++) in bench_mem_common() 201 __bench_mem_function(info, i, size, size_total); in bench_mem_common() 205 for (i = 0; info->functions[i].name; i++) { in bench_mem_common() [all …]
|
/tools/power/cpupower/po/ |
D | de.po | 227 #: utils/cpufreq-info.c:31 233 #: utils/cpufreq-info.c:63 240 #: utils/cpufreq-info.c:151 250 #: utils/cpufreq-info.c:161 255 #: utils/cpufreq-info.c:163 260 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 264 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 268 #: utils/cpufreq-info.c:164 273 #: utils/cpufreq-info.c:177 278 #: utils/cpufreq-info.c:178 [all …]
|
D | it.po | 227 #: utils/cpufreq-info.c:31 232 #: utils/cpufreq-info.c:63 239 #: utils/cpufreq-info.c:151 249 #: utils/cpufreq-info.c:161 254 #: utils/cpufreq-info.c:163 259 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 263 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 267 #: utils/cpufreq-info.c:164 272 #: utils/cpufreq-info.c:177 277 #: utils/cpufreq-info.c:178 [all …]
|
D | cs.po | 232 #: utils/cpufreq-info.c:31 237 #: utils/cpufreq-info.c:63 244 #: utils/cpufreq-info.c:151 254 #: utils/cpufreq-info.c:161 259 #: utils/cpufreq-info.c:163 264 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 268 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 272 #: utils/cpufreq-info.c:164 277 #: utils/cpufreq-info.c:177 282 #: utils/cpufreq-info.c:178 [all …]
|
D | fr.po | 227 #: utils/cpufreq-info.c:31 232 #: utils/cpufreq-info.c:63 239 #: utils/cpufreq-info.c:151 249 #: utils/cpufreq-info.c:161 254 #: utils/cpufreq-info.c:163 259 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 263 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 267 #: utils/cpufreq-info.c:164 272 #: utils/cpufreq-info.c:177 277 #: utils/cpufreq-info.c:178 [all …]
|
D | pt.po | 225 #: utils/cpufreq-info.c:31 230 #: utils/cpufreq-info.c:63 238 #: utils/cpufreq-info.c:151 248 #: utils/cpufreq-info.c:161 253 #: utils/cpufreq-info.c:163 258 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 262 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164 266 #: utils/cpufreq-info.c:164 271 #: utils/cpufreq-info.c:177 276 #: utils/cpufreq-info.c:178 [all …]
|
/tools/firewire/ |
D | decode-fcp.c | 149 const struct avc_opcode_info *info; in decode_avc() local 154 info = &opcode_info[frame->opcode]; in decode_avc() 155 if (info->name == NULL) { in decode_avc() 160 name = info->name; in decode_avc() 167 for (i = 0; info->fields[i].name != NULL; i++) in decode_avc() 168 printf(", %s", info->fields[i].name); in decode_avc()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-hwbreak.c | 71 struct ppc_hw_breakpoint info; in set_hwbreakpoint_addr() local 73 info.version = 1; in set_hwbreakpoint_addr() 74 info.trigger_type = PPC_BREAKPOINT_TRIGGER_RW; in set_hwbreakpoint_addr() 75 info.addr_mode = PPC_BREAKPOINT_MODE_EXACT; in set_hwbreakpoint_addr() 77 info.addr_mode = PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE; in set_hwbreakpoint_addr() 78 info.condition_mode = PPC_BREAKPOINT_CONDITION_NONE; in set_hwbreakpoint_addr() 79 info.addr = (__u64)addr; in set_hwbreakpoint_addr() 80 info.addr2 = (__u64)addr + range; in set_hwbreakpoint_addr() 81 info.condition_value = 0; in set_hwbreakpoint_addr() 83 ret = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, &info); in set_hwbreakpoint_addr()
|
/tools/perf/Documentation/ |
D | Makefile | 58 infodir?=$(prefix)/share/info 60 INSTALL_INFO=install-info 175 info: $(OUTPUT)perf.info $(OUTPUT)perfman.info target 205 install-info: info 206 $(call QUIET_INSTALL, Documentation-info) \ 208 $(INSTALL) -m 644 $(OUTPUT)perf.info $(OUTPUT)perfman.info $(DESTDIR)$(infodir); \ 210 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perf.info ;\ 211 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perfman.info ;\ 258 $(OUTPUT)perf.info $(OUTPUT)perfman.info \ 287 $(OUTPUT)perf.info: $(OUTPUT)user-manual.texi [all …]
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 381 struct auxtrace_info_event *info) in cs_etm_get_metadata() argument 393 info->priv[*offset + CS_ETMV4_TRCCONFIGR] = in cs_etm_get_metadata() 396 info->priv[*offset + CS_ETMV4_TRCTRACEIDR] = in cs_etm_get_metadata() 399 info->priv[*offset + CS_ETMV4_TRCIDR0] = in cs_etm_get_metadata() 402 info->priv[*offset + CS_ETMV4_TRCIDR1] = in cs_etm_get_metadata() 405 info->priv[*offset + CS_ETMV4_TRCIDR2] = in cs_etm_get_metadata() 408 info->priv[*offset + CS_ETMV4_TRCIDR8] = in cs_etm_get_metadata() 411 info->priv[*offset + CS_ETMV4_TRCAUTHSTATUS] = in cs_etm_get_metadata() 421 info->priv[*offset + CS_ETM_ETMCR] = cs_etm_get_config(itr); in cs_etm_get_metadata() 423 info->priv[*offset + CS_ETM_ETMTRACEIDR] = in cs_etm_get_metadata() [all …]
|
/tools/testing/selftests/x86/ |
D | unwind_vdso.c | 135 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() argument 172 Dl_info info; in main() local 173 if (!dladdr((void *)sysinfo, &info)) { in main() 177 info.dli_fname, info.dli_fbase); in main()
|
/tools/net/ |
D | bpf_jit_disasm.c | 55 struct disassemble_info info; in get_asm_insns() local 66 init_disassemble_info(&info, stdout, (fprintf_ftype) fprintf); in get_asm_insns() 67 info.arch = bfd_get_arch(bfdf); in get_asm_insns() 68 info.mach = bfd_get_mach(bfdf); in get_asm_insns() 69 info.buffer = image; in get_asm_insns() 70 info.buffer_length = len; in get_asm_insns() 72 disassemble_init_for_target(&info); in get_asm_insns() 80 count = disassemble(pc, &info); in get_asm_insns()
|
/tools/lib/api/ |
D | debug.c | 23 libapi_print_fn_t info, in libapi_set_print() argument 27 __pr_info = info; in libapi_set_print()
|
/tools/build/ |
D | Makefile.feature | 152 feature_print_status = $(eval $(feature_print_status_code)) $(info $(MSG)) 162 feature_print_text = $(eval $(feature_print_text_code)) $(info $(MSG)) 220 $(info ) 221 $(info Auto-detecting system features:) 224 $(info ) 231 $(info )
|
/tools/perf/ |
D | builtin-help.c | 30 const char *info; member 60 return viewer->info; in get_man_viewer_info() 209 new->info = strdup(value); in do_add_man_viewer_info() 342 const char *info = get_man_viewer_info(name); in exec_viewer() local 345 exec_man_man(info, page); in exec_viewer() 347 exec_woman_emacs(info, page); in exec_viewer() 349 exec_man_konqueror(info, page); in exec_viewer() 350 else if (info) in exec_viewer() 351 exec_man_cmd(info, page); in exec_viewer()
|
/tools/perf/arch/x86/util/ |
D | kvm-stat.c | 33 key->info = perf_evsel__intval(evsel, sample, "type"); in mmio_event_get_key() 80 key->info == KVM_TRACE_MMIO_WRITE ? "W" : "R"); in mmio_event_decode_key() 96 key->info = perf_evsel__intval(evsel, sample, "rw"); in ioport_event_get_key() 124 key->info ? "POUT" : "PIN"); in ioport_event_decode_key()
|
/tools/usb/usbip/src/ |
D | usbipd.c | 125 info("found requested device: %s", req.busid); in recv_request_import() 140 info("requested device not found: %s", req.busid); in recv_request_import() 184 info("exportable devices: %d", reply.ndev); in send_reply_devlist() 267 info("received request: %#0x(%d)", code, connfd); in recv_pdu() 283 info("request %#0x(%d): complete", code, connfd); in recv_pdu() 285 info("request %#0x(%d): failed", code, connfd); in recv_pdu() 330 info("denied access from %s", host); in do_accept() 335 info("connection from %s:%s", host, port); in do_accept() 417 info("listening on %s", ai_buf); in listen_all_addrinfo() 514 info("starting " PROGNAME " (%s)", usbip_version_string); in do_standalone_mode() [all …]
|
/tools/perf/util/ |
D | pmu.c | 992 struct perf_pmu_info *info) in check_info_data() argument 999 if ((info->unit && alias->unit[0]) || in check_info_data() 1000 (info->scale && alias->scale) || in check_info_data() 1001 (info->snapshot && alias->snapshot)) in check_info_data() 1005 info->unit = alias->unit; in check_info_data() 1008 info->scale = alias->scale; in check_info_data() 1011 info->snapshot = alias->snapshot; in check_info_data() 1021 struct perf_pmu_info *info) in perf_pmu__check_alias() argument 1027 info->per_pkg = false; in perf_pmu__check_alias() 1033 info->unit = NULL; in perf_pmu__check_alias() [all …]
|