D | hid_bpf_async.h | 163 static inline u64 ms_to_ns(u64 milliseconds) in ms_to_ns() argument 165 return (u64)milliseconds * 1000UL * 1000UL; in ms_to_ns() 168 static int hid_bpf_async_delayed_call(struct hid_bpf_ctx *hctx, u64 milliseconds, int key, in hid_bpf_async_delayed_call() argument 197 if (milliseconds) { in hid_bpf_async_delayed_call() 203 err = bpf_timer_start(&elem->t, ms_to_ns(milliseconds), 0); in hid_bpf_async_delayed_call()
|