Searched refs:bpf_trampoline (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/bpf/ |
H A D | trampoline.c | 33 static int bpf_trampoline_update(struct bpf_trampoline *tr, bool lock_direct_mutex); 37 struct bpf_trampoline *tr = ops->private; in bpf_tramp_ftrace_ops_func() 134 static struct bpf_trampoline *bpf_trampoline_lookup(u64 key) in bpf_trampoline_lookup() 136 struct bpf_trampoline *tr; in bpf_trampoline_lookup() 174 static int unregister_fentry(struct bpf_trampoline *tr, void *old_addr) in unregister_fentry() 187 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr, in modify_fentry() 205 static int register_fentry(struct bpf_trampoline *tr, void *new_addr) in register_fentry() 229 bpf_trampoline_get_progs(const struct bpf_trampoline *tr, int *total, bool *ip_arg) in bpf_trampoline_get_progs() 393 static int bpf_trampoline_update(struct bpf_trampoline *tr, bool lock_direct_mutex) in bpf_trampoline_update() 526 static int __bpf_trampoline_link_prog(struct bpf_tramp_link *link, struct bpf_trampoline *tr) in __bpf_trampoline_link_prog() [all …]
|
H A D | syscall.c | 3284 struct bpf_trampoline *tr = NULL; in bpf_tracing_prog_attach()
|
H A D | verifier.c | 22211 struct bpf_trampoline *tr; in check_attach_btf_id()
|
/linux/include/linux/ |
H A D | bpf.h | 1198 struct bpf_trampoline { struct 1303 int bpf_trampoline_link_prog(struct bpf_tramp_link *link, struct bpf_trampoline *tr); 1304 int bpf_trampoline_unlink_prog(struct bpf_tramp_link *link, struct bpf_trampoline *tr); 1305 struct bpf_trampoline *bpf_trampoline_get(u64 key, 1307 void bpf_trampoline_put(struct bpf_trampoline *tr); 1385 struct bpf_trampoline *tr) in bpf_trampoline_link_prog() 1390 struct bpf_trampoline *tr) in bpf_trampoline_unlink_prog() 1394 static inline struct bpf_trampoline *bpf_trampoline_get(u64 key, in bpf_trampoline_get() 1399 static inline void bpf_trampoline_put(struct bpf_trampoline *tr) {} in bpf_trampoline_put() 1481 struct bpf_trampoline *dst_trampoline; [all …]
|
/linux/Documentation/bpf/ |
H A D | drgn.rst | 143 .trampoline = (struct bpf_trampoline *)0x0,
|