Searched refs:lru_timer (Results 1 – 1 of 1) sorted by relevance
72 struct bpf_timer *lru_timer; in timer_cb1() local79 lru_timer = bpf_map_lookup_elem(&lru, &lru_key); in timer_cb1()80 if (!lru_timer) in timer_cb1()82 bpf_timer_set_callback(lru_timer, timer_cb1); in timer_cb1()83 if (bpf_timer_start(lru_timer, 0, 0) != 0) in timer_cb1()125 struct bpf_timer *arr_timer, *lru_timer; in BPF_PROG2() local136 lru_timer = bpf_map_lookup_elem(&lru, &lru_key); in BPF_PROG2()137 if (!lru_timer) in BPF_PROG2()139 bpf_timer_init(lru_timer, &lru, CLOCK_MONOTONIC); in BPF_PROG2()