Lines Matching refs:bpf_link
855 struct bpf_link { struct
865 void (*release)(struct bpf_link *link); argument
866 void (*dealloc)(struct bpf_link *link);
867 int (*detach)(struct bpf_link *link);
868 int (*update_prog)(struct bpf_link *link, struct bpf_prog *new_prog,
870 void (*show_fdinfo)(const struct bpf_link *link, struct seq_file *seq);
871 int (*fill_link_info)(const struct bpf_link *link,
876 struct bpf_link *link;
1265 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type,
1267 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer);
1270 void bpf_link_inc(struct bpf_link *link);
1271 void bpf_link_put(struct bpf_link *link);
1272 int bpf_link_new_fd(struct bpf_link *link);
1273 struct file *bpf_link_new_file(struct bpf_link *link, int *reserved_fd);
1274 struct bpf_link *bpf_link_get_from_fd(u32 ufd);
1326 int bpf_iter_new_fd(struct bpf_link *link);
1327 bool bpf_link_is_iter(struct bpf_link *link);
1447 struct bpf_link *bpf_link_by_id(u32 id);
1494 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init()
1500 static inline int bpf_link_prime(struct bpf_link *link, in bpf_link_prime()
1515 static inline void bpf_link_inc(struct bpf_link *link) in bpf_link_inc()
1519 static inline void bpf_link_put(struct bpf_link *link) in bpf_link_put()