Lines Matching refs:btp

48 	struct bpf_raw_event_map *btp, *ret = NULL;  in bpf_get_raw_tracepoint_module()  local
55 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
56 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module()
58 ret = btp; in bpf_get_raw_tracepoint_module()
1912 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; in bpf_get_raw_tracepoint() local
1914 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint()
1915 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint()
1916 return btp; in bpf_get_raw_tracepoint()
1922 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
1927 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
1986 static int __bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog) in __bpf_probe_register() argument
1988 struct tracepoint *tp = btp->tp; in __bpf_probe_register()
1994 if (prog->aux->max_ctx_offset > btp->num_args * sizeof(u64)) in __bpf_probe_register()
1997 if (prog->aux->max_tp_access > btp->writable_size) in __bpf_probe_register()
2000 return tracepoint_probe_register_may_exist(tp, (void *)btp->bpf_func, in __bpf_probe_register()
2004 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog) in bpf_probe_register() argument
2006 return __bpf_probe_register(btp, prog); in bpf_probe_register()
2009 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog) in bpf_probe_unregister() argument
2011 return tracepoint_probe_unregister(btp->tp, (void *)btp->bpf_func, prog); in bpf_probe_unregister()