Home
last modified time | relevance | path

Searched refs:bpf_trampoline (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/bpf/
H A Dtrampoline.c47 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 Dsyscall.c3642 struct bpf_trampoline *tr = NULL; in bpf_tracing_prog_attach()
H A Dverifier.c20309 struct bpf_trampoline *tr; in check_attach_btf_id()
/linux/include/linux/
H A Dbpf.h1378 struct bpf_trampoline { struct
1510 struct bpf_trampoline *tr,
1513 struct bpf_trampoline *tr,
1515 struct bpf_trampoline *bpf_trampoline_get(u64 key,
1517 void bpf_trampoline_put(struct bpf_trampoline *tr);
1524 void bpf_trampoline_set_flags(struct bpf_trampoline *tr, u32 flags);
1606 struct bpf_trampoline *tr, in bpf_trampoline_link_prog()
1612 struct bpf_trampoline *tr, in bpf_trampoline_unlink_prog()
1617 static inline struct bpf_trampoline *bpf_trampoline_get(u64 key, in bpf_trampoline_get()
1622 static inline void bpf_trampoline_put(struct bpf_trampoline *tr) {} in bpf_trampoline_put()
[all …]