Lines Matching refs:callback_fn
3892 * For each element in **map**, call **callback_fn** function with
3894 * The **callback_fn** should be a static function and
3906 * long (\*callback_fn)(struct bpf_map \*map, const void \*key, void \*value, void \*ctx);
3911 * If **callback_fn** return 0, the helper will continue to the next
3920 static long (*bpf_for_each_map_elem)(void *map, void *callback_fn, void *callback_ctx, __u64 flags) = (void *) 164;
4008 * Configure the timer to call *callback_fn* static function.
4018 static long (*bpf_timer_set_callback)(struct bpf_timer *timer, void *callback_fn) = (void *) 170;
4029 * of BPF program to make sure that callback_fn code stays valid.
4034 * bpffs the callback_fn can re-arm itself indefinitely.
4037 * The map can contain timers that invoke callback_fn-s from different
4038 * programs. The same callback_fn can serve different timers from
4040 * Every bpf_timer_set_callback() can have different callback_fn.
4061 * Cancel the timer and wait for callback_fn to finish if it was running.
4067 * **-EDEADLK** if callback_fn tried to call bpf_timer_cancel() on its
4188 * Find vma of *task* that contains *addr*, call *callback_fn*
4190 * The *callback_fn* should be a static function and
4197 * long (\*callback_fn)(struct task_struct \*task, struct vm_area_struct \*vma, void \*callback_ctx);
4206 static long (*bpf_find_vma)(struct task_struct *task, __u64 addr, void *callback_fn, void *callback_ctx, __u64 flags) = (void *) 180;
4211 * For **nr_loops**, call **callback_fn** function
4213 * The **callback_fn** should be a static function and
4219 * long (\*callback_fn)(u32 index, void \*ctx);
4224 * If **callback_fn** returns 0, the helper will continue to the next
4234 static long (*bpf_loop)(__u32 nr_loops, void *callback_fn, void *callback_ctx, __u64 flags) = (void *) 181;
4684 * long (\*callback_fn)(const struct bpf_dynptr \*dynptr, void \*ctx);
4686 * If **callback_fn** returns 0, the helper will continue to try
4718 static long (*bpf_user_ringbuf_drain)(void *map, void *callback_fn, void *ctx, __u64 flags) = (void *) 209;