Lines Matching defs:callback_fn
1088 * bpf_timer_set_callback() increments prog refcnt and assign bpf callback_fn.
1101 void __rcu *callback_fn;
1123 bpf_callback_t callback_fn;
1128 callback_fn = rcu_dereference_check(t->callback_fn, rcu_read_lock_bh_held());
1129 if (!callback_fn)
1135 * deadlock if callback_fn() calls bpf_timer_cancel() or
1149 callback_fn((u64)(long)map, (u64)(long)key, (u64)(long)value, 0, 0);
1192 rcu_assign_pointer(t->callback_fn, NULL);
1224 BPF_CALL_3(bpf_timer_set_callback, struct bpf_timer_kern *, timer, void *, callback_fn,
1251 * can pick different callback_fn-s within the same prog.
1263 rcu_assign_pointer(t->callback_fn, callback_fn);
1321 rcu_assign_pointer(t->callback_fn, NULL);
1340 /* If bpf callback_fn is trying to bpf_timer_cancel()
1342 * since it waits for callback_fn to finish
1398 * callback_fn. In such case don't call hrtimer_cancel() (since it will
1400 * return -1). Though callback_fn is still running on this cpu it's
1402 * from 't'. The bpf subprog callback_fn won't be able to access 't',