Lines Matching refs:btp
58 struct bpf_raw_event_map *btp, *ret = NULL; in bpf_get_raw_tracepoint_module() local
65 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
66 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module()
68 ret = btp; in bpf_get_raw_tracepoint_module()
2327 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; in bpf_get_raw_tracepoint() local
2329 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint()
2330 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint()
2331 return btp; in bpf_get_raw_tracepoint()
2337 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
2342 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
2416 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link) in bpf_probe_register() argument
2418 struct tracepoint *tp = btp->tp; in bpf_probe_register()
2425 if (prog->aux->max_ctx_offset > btp->num_args * sizeof(u64)) in bpf_probe_register()
2428 if (prog->aux->max_tp_access > btp->writable_size) in bpf_probe_register()
2431 return tracepoint_probe_register_may_exist(tp, (void *)btp->bpf_func, link); in bpf_probe_register()
2434 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link) in bpf_probe_unregister() argument
2436 return tracepoint_probe_unregister(btp->tp, (void *)btp->bpf_func, link); in bpf_probe_unregister()