/tools/testing/selftests/arm64/signal/ |
D | test_signals.c | 15 struct tdescr *current; variable 19 current = &tde; in main() 21 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main() 22 if (test_setup(current) && test_init(current)) { in main() 23 test_run(current); in main() 24 test_cleanup(current); in main() 26 test_result(current); in main() 28 return current->result; in main()
|
D | test_signals_utils.c | 23 extern struct tdescr *current; 101 default_result(current, 1); in handle_signal_unsupported() 158 default_result(current, 1); in handle_signal_ok() 179 if (current->sig_unsupp && signum == current->sig_unsupp && in default_handler() 180 handle_signal_unsupported(current, si, uc)) { in default_handler() 182 } else if (current->sig_trig && signum == current->sig_trig && in default_handler() 183 handle_signal_trigger(current, si, uc)) { in default_handler() 185 } else if (current->sig_ok && signum == current->sig_ok && in default_handler() 186 handle_signal_ok(current, si, uc)) { in default_handler() 188 } else if (signum == sig_copyctx && current->live_uc && in default_handler() [all …]
|
D | signals.S | 51 ldr x0, current
|
/tools/power/cpupower/lib/ |
D | cpufreq.c | 265 struct cpufreq_available_governors *current = NULL; in cpufreq_get_available_governors() local 280 if (current) { in cpufreq_get_available_governors() 281 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 282 if (!current->next) in cpufreq_get_available_governors() 284 current = current->next; in cpufreq_get_available_governors() 289 current = first; in cpufreq_get_available_governors() 291 current->first = first; in cpufreq_get_available_governors() 292 current->next = NULL; in cpufreq_get_available_governors() 294 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors() 295 if (!current->governor) in cpufreq_get_available_governors() [all …]
|
/tools/testing/selftests/rtc/ |
D | setdate.c | 24 struct rtc_time new, current; in main() local 65 retval = ioctl(fd, RTC_RD_TIME, ¤t); in main() 72 current.tm_mday, current.tm_mon + 1, current.tm_year + 1900, in main() 73 current.tm_hour, current.tm_min, current.tm_sec); in main()
|
/tools/iio/ |
D | iio_utils.c | 31 char *current; in iioutils_break_up_name() local 43 current = strdup(full_name + strlen(prefix) + 1); in iioutils_break_up_name() 44 if (!current) in iioutils_break_up_name() 47 working = strtok(current, "_\0"); in iioutils_break_up_name() 49 free(current); in iioutils_break_up_name() 66 free(current); in iioutils_break_up_name() 321 struct iio_channel_info *current; in build_channel_array() local 385 current = &(*ci_array)[count++]; in build_channel_array() 421 current->scale = 1.0; in build_channel_array() 422 current->offset = 0; in build_channel_array() [all …]
|
/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 56 long slab0, slab1, current; in test_kmem_basic() local 77 current = cg_read_long(cg, "memory.current"); in test_kmem_basic() 78 if (current <= 0) in test_kmem_basic() 81 if (slab1 < slab0 / 2 && current < slab0 / 2) in test_kmem_basic() 165 long current, slab, anon, file, kernel_stack, pagetables, percpu, sock, sum; in test_kmem_memcg_deletion() local 182 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion() 190 if (current < 0 || slab < 0 || anon < 0 || file < 0 || in test_kmem_memcg_deletion() 195 if (abs(sum - current) < MAX_VMSTAT_ERROR) { in test_kmem_memcg_deletion() 198 printf("memory.current = %ld\n", current); in test_kmem_memcg_deletion() 359 long current, percpu; in test_percpu_basic() local [all …]
|
D | test_memcontrol.c | 93 long anon, current; in alloc_anon_50M_check() local 100 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 101 if (current < size) in alloc_anon_50M_check() 104 if (!values_close(size, current, 3)) in alloc_anon_50M_check() 111 if (!values_close(anon, current, 3)) in alloc_anon_50M_check() 124 long current, file; in alloc_pagecache_50M_check() local 134 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 135 if (current < size) in alloc_pagecache_50M_check() 142 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check() 160 long current; in test_memcg_current() local [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | test_task_pt_regs.c | 20 struct task_struct *current; in handle_uprobe() local 23 current = bpf_get_current_task_btf(); in handle_uprobe() 24 regs = (struct pt_regs *) bpf_task_pt_regs(current); in handle_uprobe()
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_headroom.sh | 70 local current=$(get_prio_pg) 71 test "$current" = "$expect" 72 check_err $? "prio2buffer is '$current', expected '$expect'" 79 local current=$(get_prio_pfc) 80 test "$current" = "$expect" 81 check_err $? "prio PFC is '$current', expected '$expect'" 88 local current=$(get_prio_tc) 89 test "$current" = "$expect" 90 check_err $? "prio_tc is '$current', expected '$expect'" 99 local current=$(get_buf_size $idx) [all …]
|
/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 76 u64 current, overhead; in determine_overhead() local 84 current = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 87 overhead = current; in determine_overhead()
|
D | count_stcx_fail.c | 81 u64 current, overhead; in determine_overhead() local 89 current = events[0].result.value; in determine_overhead() 90 if (current < overhead) { in determine_overhead() 91 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 92 overhead = current; in determine_overhead()
|
D | lib.c | 193 long current; in require_paranoia_below() local 211 current = strtol(buf, &end, 10); in require_paranoia_below() 218 if (current >= level) in require_paranoia_below()
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 72 uint64_t current, overhead; in determine_overhead() local 80 current = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead() 83 overhead = current; in determine_overhead()
|
/tools/perf/ |
D | builtin-timechart.c | 102 struct per_pidcomm *current; member 224 p->current = c; in pid_set_comm() 229 p->current = c; in pid_set_comm() 237 p->current = c; in pid_set_comm() 248 if (pp->current && pp->current->comm && !p->current) in pid_fork() 249 pid_set_comm(tchart, pid, pp->current->comm); in pid_fork() 252 if (p->current && !p->current->start_time) { in pid_fork() 253 p->current->start_time = timestamp; in pid_fork() 254 p->current->state_since = timestamp; in pid_fork() 263 if (p->current) in pid_exit() [all …]
|
/tools/testing/selftests/drivers/net/netdevsim/ |
D | ethtool-coalesce.sh | 111 current=$(update_current_settings) 113 check $? "$current" "$expected"
|
D | ethtool-ring.sh | 73 current=$(update_current_settings) 75 check $? "$current" "$expected"
|
/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.c | 27 trace_bpf_testmod_test_read(current, &ctx); in bpf_testmod_test_read() 45 trace_bpf_testmod_test_write_bare(current, &ctx); in bpf_testmod_test_write()
|
/tools/testing/selftests/ftrace/test.d/ |
D | functions | 13 reset_tracer() { # reset the current tracer 33 reset_trigger() { # reset all current setting triggers 40 reset_events_filter() { # reset all current setting filters 79 clear_synthetic_events() { # reset all current synthetic events 86 clear_dynamic_events() { # reset all current dynamic events
|
/tools/testing/selftests/net/forwarding/ |
D | ethtool.sh | 240 for current in ${speeds_arr[@]}; do 241 if [[ $current -gt $max_speed ]]; then 242 max_speed=$current
|
/tools/spi/ |
D | spidev_test.c | 477 struct timespec current; in main() local 481 clock_gettime(CLOCK_MONOTONIC, ¤t); in main() 482 if (current.tv_sec - last_stat.tv_sec > interval) { in main() 484 last_stat = current; in main()
|
/tools/include/linux/ |
D | lockdep.h | 41 #define current (__curr()) macro
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-endian_read.txt | 20 account the endianness of the raw data and the current host. The _tep_ argument 27 the current host. In case of an error, 0 is returned.
|
/tools/perf/Documentation/ |
D | perf-script-perl.txt | 100 $common_pid the pid of the current task 101 $common_comm the name of the current process 194 access this data in the context of the current event. Each of these 199 common_pc($context) - returns common_preempt count for the current event 200 common_flags($context) - returns common_flags for the current event 201 common_lock_depth($context) - returns common_lock_depth for the current event
|
/tools/perf/util/ |
D | db-export.c | 216 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample() local 263 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample() 273 if (current == &dbe->cpr->call_path) { in call_path_from_sample() 278 return current; in call_path_from_sample()
|