Home
last modified time | relevance | path

Searched refs:started_at (Results 1 – 5 of 5) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_central.bpf.c246 u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in BPF_STRUCT_OPS() local
247 if (started_at) in BPF_STRUCT_OPS()
248 *started_at = bpf_ktime_get_ns() ?: 1; /* 0 indicates idle */ in BPF_STRUCT_OPS()
254 u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in BPF_STRUCT_OPS() local
255 if (started_at) in BPF_STRUCT_OPS()
256 *started_at = 0; in BPF_STRUCT_OPS()
274 u64 *started_at; in central_timerfn() local
280 started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in central_timerfn()
281 if (started_at && *started_at && in central_timerfn()
282 vtime_before(now, *started_at + slice_ns)) in central_timerfn()
/linux/samples/bpf/
H A Dxdp_adjust_tail_user.c54 time_t started_at = time(NULL); in poll_stats() local
59 while (!kill_after_s || time(NULL) - started_at <= kill_after_s) { in poll_stats()
H A Dxdp_tx_iptunnel_user.c54 time_t started_at = time(NULL); in poll_stats() local
61 while (!kill_after_s || time(NULL) - started_at <= kill_after_s) { in poll_stats()
/linux/drivers/watchdog/
H A Dwatchdog_dev.c251 ktime_t started_at; in watchdog_start() local
259 started_at = ktime_get(); in watchdog_start()
272 wd_data->last_keepalive = started_at; in watchdog_start()
273 wd_data->last_hw_keepalive = started_at; in watchdog_start()
/linux/net/core/
H A Dpktgen.c306 ktime_t started_at; member
714 (unsigned long long) ktime_to_us(pkt_dev->started_at), in pktgen_if_show()
3175 pkt_dev->started_at = pkt_dev->next_tx = ktime_get(); in pktgen_run()
3298 pkt_dev->started_at); in show_results()