Lines Matching defs:link
887 void (*release)(struct bpf_link *link);
888 void (*dealloc)(struct bpf_link *link);
889 int (*detach)(struct bpf_link *link);
890 int (*update_prog)(struct bpf_link *link, struct bpf_prog *new_prog, struct bpf_prog *old_prog);
891 void (*show_fdinfo)(const struct bpf_link *link, struct seq_file *seq);
892 int (*fill_link_info)(const struct bpf_link *link, struct bpf_link_info *info);
896 struct bpf_link *link;
1290 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, const struct bpf_link_ops *ops,
1292 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer);
1295 void bpf_link_inc(struct bpf_link *link);
1296 void bpf_link_put(struct bpf_link *link);
1297 int bpf_link_new_fd(struct bpf_link *link);
1298 struct file *bpf_link_new_file(struct bpf_link *link, int *reserved_fd);
1351 int bpf_iter_new_fd(struct bpf_link *link);
1352 bool bpf_link_is_iter(struct bpf_link *link);
1496 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, const struct bpf_link_ops *ops,
1501 static inline int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer)
1515 static inline void bpf_link_inc(struct bpf_link *link)
1519 static inline void bpf_link_put(struct bpf_link *link)