| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | wq.c | 57 int (callback_fn)(void *map, int *key, void *value)) in test_elem_callback() 80 if (bpf_wq_set_callback(wq, callback_fn, 0)) in test_elem_callback() 90 int (callback_fn)(void *map, int *key, void *value)) in test_hmap_elem_callback() 110 if (bpf_wq_set_callback(wq, callback_fn, 0)) in test_hmap_elem_callback()
|
| /linux/drivers/hv/ |
| H A D | connection.c | 410 void (*callback_fn)(void *context); in vmbus_on_event() local 420 callback_fn = READ_ONCE(channel->onchannel_callback); in vmbus_on_event() 421 if (unlikely(!callback_fn)) in vmbus_on_event() 424 (*callback_fn)(channel->channel_callback_context); in vmbus_on_event()
|
| H A D | vmbus_drv.c | 1273 void (*callback_fn)(void *context); in vmbus_chan_sched() local 1308 callback_fn = channel->onchannel_callback; in vmbus_chan_sched() 1309 if (unlikely(callback_fn == NULL)) in vmbus_chan_sched() 1318 (*callback_fn)(channel->channel_callback_context); in vmbus_chan_sched()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 1118 void __rcu *callback_fn; member 1173 bpf_callback_t callback_fn; in bpf_timer_cb() local 1178 callback_fn = rcu_dereference_check(t->cb.callback_fn, rcu_read_lock_bh_held()); in bpf_timer_cb() 1179 if (!callback_fn) in bpf_timer_cb() 1192 callback_fn((u64)(long)map, (u64)(long)key, (u64)(long)value, 0, 0); in bpf_timer_cb() 1205 bpf_callback_t callback_fn; in bpf_wq_work() local 1212 callback_fn = READ_ONCE(cb->callback_fn); in bpf_wq_work() 1213 if (!callback_fn) in bpf_wq_work() 1221 callback_fn((u64)(long)map, (u64)(long)key, (u64)(long)value, 0, 0); in bpf_wq_work() 1353 rcu_assign_pointer(cb->callback_fn, NULL); in __bpf_async_init() [all …]
|
| H A D | bpf_iter.c | 711 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4() argument 714 return map->ops->map_for_each_callback(map, callback_fn, callback_ctx, flags); in BPF_CALL_4() 727 BPF_CALL_4(bpf_loop, u32, nr_loops, void *, callback_fn, void *, callback_ctx, in BPF_CALL_4() argument 730 bpf_callback_t callback = (bpf_callback_t)callback_fn; in BPF_CALL_4()
|
| H A D | ringbuf.c | 43 * -> program callback_fn() 818 void *, callback_fn, void *, callback_ctx, u64, flags) in BPF_CALL_4() 822 bpf_callback_t callback = (bpf_callback_t)callback_fn; in BPF_CALL_4() 817 BPF_CALL_4(bpf_user_ringbuf_drain,struct bpf_map *,map,void *,callback_fn,void *,callback_ctx,u64,flags) BPF_CALL_4() argument
|
| H A D | task_iter.c | 752 bpf_callback_t, callback_fn, void *, callback_ctx, u64, flags) in BPF_CALL_5() argument 778 callback_fn((u64)(long)task, (u64)(long)vma, in BPF_CALL_5()
|
| H A D | arraymap.c | 747 static long bpf_for_each_array_elem(struct bpf_map *map, bpf_callback_t callback_fn, in bpf_for_each_array_elem() argument 770 ret = callback_fn((u64)(long)map, (u64)(long)&key, in bpf_for_each_array_elem()
|
| H A D | verifier.c | 23868 bpf_callback_t callback_fn, in do_misc_fixups()
|
| /linux/drivers/scsi/device_handler/ |
| H A D | scsi_dh_rdac.c | 230 activate_complete callback_fn; member 591 if (qdata->callback_fn) in send_mode_select() 592 qdata->callback_fn(qdata->callback_data, err); in send_mode_select() 609 qdata->callback_fn = fn; in queue_mode_select()
|
| H A D | scsi_dh_alua.c | 96 activate_complete callback_fn; member 976 if (qdata->callback_fn) in alua_rtpg_work() 977 qdata->callback_fn(qdata->callback_data, err); in alua_rtpg_work() 1145 qdata->callback_fn = fn; in alua_activate()
|
| /linux/tools/testing/selftests/hid/progs/ |
| H A D | hid_bpf_helpers.h | 120 int (*callback_fn)(void *, int *, void *),
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_experimental.h | |
| /linux/include/linux/ |
| H A D | bpf.h | 177 bpf_callback_t callback_fn,
|