Searched refs:bpf_trampoline (Results 1 – 4 of 4) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 47 static struct mutex *select_trampoline_lock(struct bpf_trampoline *tr) in select_trampoline_lock() 52 static void trampoline_lock(struct bpf_trampoline *tr) in trampoline_lock() 57 static void trampoline_unlock(struct bpf_trampoline *tr) in trampoline_unlock() 63 int (*register_fentry)(struct bpf_trampoline *tr, struct bpf_tramp_image *im, void *data); 64 int (*unregister_fentry)(struct bpf_trampoline *tr, u32 orig_flags, void *data); 65 int (*modify_fentry)(struct bpf_trampoline *tr, u32 orig_flags, struct bpf_tramp_image *im, 70 static int bpf_trampoline_update(struct bpf_trampoline *tr, bool lock_direct_mutex, 75 static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) in direct_ops_ip_lookup() 78 struct bpf_trampoline *tr; in direct_ops_ip_lookup() 92 static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) in direct_ops_ip_lookup() [all …]
|
| H A D | syscall.c | 3659 struct bpf_trampoline *tr = NULL; in bpf_tracing_prog_attach()
|
| H A D | verifier.c | 20540 struct bpf_trampoline *tr; in check_attach_btf_id()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1389 struct bpf_trampoline *tr; 1413 struct bpf_trampoline { struct 1547 struct bpf_trampoline *tr, 1550 struct bpf_trampoline *tr, 1552 struct bpf_trampoline *bpf_trampoline_get(u64 key, 1554 void bpf_trampoline_put(struct bpf_trampoline *tr); 1561 void bpf_trampoline_set_flags(struct bpf_trampoline *tr, u32 flags); 1643 struct bpf_trampoline *tr, in bpf_trampoline_link_prog() 1649 struct bpf_trampoline *tr, in bpf_trampoline_unlink_prog() 1654 static inline struct bpf_trampoline *bpf_trampoline_get(u64 key, in bpf_trampoline_get() [all …]
|