Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 27) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dtimer.c12 struct bpf_timer timer; member
61 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1() argument
76 if (bpf_timer_start(timer, 1ull << 35, 0) != 0) in timer_cb1()
115 if (bpf_timer_cancel(timer) != -EINVAL) in timer_cb1()
164 bpf_timer_start(&val->timer, 1000, 0); in timer_cb2()
182 if (bpf_timer_cancel(&val->timer) != -EDEADLK) in timer_cb2()
195 if (bpf_timer_start(&val->timer, 1000, 0) != -EINVAL) in timer_cb2()
203 if (bpf_timer_cancel(&val->timer) != -EDEADLK) in timer_cb2()
220 if (bpf_timer_start(&val->timer, 1ull << 35, 0) != 0) in timer_cb2()
234 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
[all …]
Dtimer_mim.c12 struct bpf_timer timer; member
44 bpf_timer_set_callback(&val->timer, timer_cb1); in timer_cb2()
45 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb2()
55 bpf_timer_set_callback(&val->timer, timer_cb2); in timer_cb1()
56 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb1()
82 bpf_timer_init(&val->timer, inner_map, CLOCK_MONOTONIC); in BPF_PROG()
83 if (bpf_timer_set_callback(&val->timer, timer_cb1)) in BPF_PROG()
85 if (bpf_timer_start(&val->timer, 0, 0)) in BPF_PROG()
Dtimer_mim_reject.c12 struct bpf_timer timer; member
68 bpf_timer_init(&val->timer, inner_map2, CLOCK_MONOTONIC); in BPF_PROG()
69 if (bpf_timer_set_callback(&val->timer, timer_cb)) in BPF_PROG()
71 if (bpf_timer_start(&val->timer, 0, 0)) in BPF_PROG()
Dtest_vmlinux.c73 int BPF_KPROBE(handle__kprobe, struct hrtimer *timer, ktime_t tim, u64 delta_ns, in BPF_KPROBE() argument
82 int BPF_PROG(handle__fentry, struct hrtimer *timer, ktime_t tim, u64 delta_ns, in BPF_PROG() argument
Dbpf_iter_tcp4.c15 static int timer_pending(const struct timer_list * timer) in timer_pending() argument
17 return !hlist_unhashed_lockless(&timer->entry); in timer_pending()
Dbpf_iter_tcp6.c15 static int timer_pending(const struct timer_list * timer) in timer_pending() argument
17 return !hlist_unhashed_lockless(&timer->entry); in timer_pending()
/tools/testing/selftests/bpf/prog_tests/
Dtimer.c6 static int timer(struct timer *timer_skel) in timer() function
44 struct timer *timer_skel = NULL; in test_timer()
51 err = timer(timer_skel); in test_timer()
/tools/testing/selftests/timens/
D.gitignore9 timer
DMakefile1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex
/tools/testing/selftests/drivers/net/netdevsim/
Dnexthop.sh462 local timer=$1; shift
469 $IP nexthop add id 10 group 1/2 type resilient buckets 8 $timer 4
477 $IP nexthop replace id 10 group 1/2,3 type resilient $timer 8
490 log_test "Bucket migration after $timer increase"
497 local timer=$1; shift
504 $IP nexthop add id 10 group 1/2 type resilient buckets 8 $timer 8
512 $IP nexthop replace id 10 group 1/2,3 type resilient $timer 4
519 log_test "Bucket migration after $timer decrease"
526 local timer=$1; shift
535 type resilient buckets 8 $timer 4
[all …]
/tools/testing/selftests/timers/
D.gitignore16 set-timer-lat
DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h41 struct timer_list timer; member
/tools/lib/traceevent/Documentation/
Dlibtraceevent-field_print.txt68 struct tep_event *event = tep_find_event_by_name(tep, "timer", "hrtimer_start");
83 tep_print_num_field(&seq, " timer expires in %llu ", event, "expires", record, 0);
86 tep_print_func_field(&seq, " timer function is %s ", event, "function", record, 0);
Dlibtraceevent-reg_event_handler.txt82 if (tep_print_num_field(s, "0x%llx", event, "timer", record, 0) == -1)
96 ret = tep_register_event_handler(tep, -1, "timer", "hrtimer_expire_entry",
114 ret = tep_unregister_event_handler(tep, -1, "timer", "hrtimer_expire_entry",
Dlibtraceevent-field_read.txt37 struct tep_event *event = tep_find_event_by_name(tep, "timer", "hrtimer_start");
Dlibtraceevent-field_find.txt54 event = tep_find_event_by_name(tep, "timer", "hrtimer_start");
/tools/testing/selftests/ftrace/test.d/event/
Devent-no-pid.tc55 enable_system timer
/tools/testing/kunit/test_data/
Dtest_output_isolated_correctly.log9 clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
12 posix-timer cpumask == cpu_all_mask, using cpu_possible_mask instead
52 clocksource: Switched to clocksource timer
Dtest_is_test_passed-no_tests_run_no_header.log17 clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
27 clocksource: Switched to clocksource timer
/tools/perf/util/
Dhist.h445 void (*timer)(void *arg); member
/tools/perf/ui/browsers/
Dhists.c681 hbt->timer(hbt->arg); in hist_browser__handle_hotkey()
2288 static inline bool is_report_browser(void *timer) in is_report_browser() argument
2290 return timer == NULL; in is_report_browser()
3473 hbt->timer(hbt->arg); in perf_evsel_menu__run()
3494 hbt->timer(hbt->arg); in perf_evsel_menu__run()
Dannotate.c759 hbt->timer(hbt->arg); in annotate_browser__run()
/tools/testing/selftests/wireguard/qemu/
DMakefile287 sed -i '1s/^/#include <stdint.h>/' $(IPERF_PATH)/src/cjson.h $(IPERF_PATH)/src/timer.h
/tools/arch/x86/kcpuid/
Dcpuid.csv128 6, 0, EAX, 2, arat, Always running APIC timer

12