Lines Matching refs:t

1137 	struct bpf_hrtimer *t = container_of(hrtimer, struct bpf_hrtimer, timer);  in bpf_timer_cb()  local
1138 struct bpf_map *map = t->cb.map; in bpf_timer_cb()
1139 void *value = t->cb.value; in bpf_timer_cb()
1145 callback_fn = rcu_dereference_check(t->cb.callback_fn, rcu_read_lock_bh_held()); in bpf_timer_cb()
1155 this_cpu_write(hrtimer_running, t); in bpf_timer_cb()
1178 struct bpf_hrtimer *t; in __bpf_async_init() local
1195 t = async->timer; in __bpf_async_init()
1196 if (t) { in __bpf_async_init()
1210 t = (struct bpf_hrtimer *)cb; in __bpf_async_init()
1212 atomic_set(&t->cancelling, 0); in __bpf_async_init()
1213 hrtimer_init(&t->timer, clockid, HRTIMER_MODE_REL_SOFT); in __bpf_async_init()
1214 t->timer.function = bpf_timer_cb; in __bpf_async_init()
1274 struct bpf_hrtimer *t; in BPF_CALL_3() local
1280 t = timer->timer; in BPF_CALL_3()
1281 if (!t) { in BPF_CALL_3()
1285 if (!atomic64_read(&t->cb.map->usercnt)) { in BPF_CALL_3()
1294 prev = t->cb.prog; in BPF_CALL_3()
1307 t->cb.prog = prog; in BPF_CALL_3()
1309 rcu_assign_pointer(t->cb.callback_fn, callback_fn); in BPF_CALL_3()
1325 struct bpf_hrtimer *t; in BPF_CALL_3() local
1334 t = timer->timer; in BPF_CALL_3()
1335 if (!t || !t->cb.prog) { in BPF_CALL_3()
1345 hrtimer_start(&t->timer, ns_to_ktime(nsecs), mode); in BPF_CALL_3()
1373 struct bpf_hrtimer *t, *cur_t; in BPF_CALL_1() local
1381 t = timer->timer; in BPF_CALL_1()
1382 if (!t) { in BPF_CALL_1()
1388 if (cur_t == t) { in BPF_CALL_1()
1404 atomic_inc(&t->cancelling); in BPF_CALL_1()
1421 drop_prog_refcnt(&t->cb); in BPF_CALL_1()
1427 ret = ret ?: hrtimer_cancel(&t->timer); in BPF_CALL_1()
1429 atomic_dec(&t->cancelling); in BPF_CALL_1()
1447 struct bpf_hrtimer *t; in bpf_timer_cancel_and_free() local
1455 t = timer->timer; in bpf_timer_cancel_and_free()
1456 if (!t) in bpf_timer_cancel_and_free()
1458 drop_prog_refcnt(&t->cb); in bpf_timer_cancel_and_free()
1465 if (!t) in bpf_timer_cancel_and_free()
1483 if (this_cpu_read(hrtimer_running) != t) in bpf_timer_cancel_and_free()
1484 hrtimer_cancel(&t->timer); in bpf_timer_cancel_and_free()
1485 kfree_rcu(t, cb.rcu); in bpf_timer_cancel_and_free()