Lines Matching refs:bpf_link
893 struct bpf_link { struct
903 void (*release)(struct bpf_link *link); argument
904 void (*dealloc)(struct bpf_link *link);
905 int (*detach)(struct bpf_link *link);
906 int (*update_prog)(struct bpf_link *link, struct bpf_prog *new_prog,
908 void (*show_fdinfo)(const struct bpf_link *link, struct seq_file *seq);
909 int (*fill_link_info)(const struct bpf_link *link,
914 struct bpf_link *link;
1315 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type,
1317 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer);
1320 void bpf_link_inc(struct bpf_link *link);
1321 void bpf_link_put(struct bpf_link *link);
1322 int bpf_link_new_fd(struct bpf_link *link);
1323 struct file *bpf_link_new_file(struct bpf_link *link, int *reserved_fd);
1324 struct bpf_link *bpf_link_get_from_fd(u32 ufd);
1376 int bpf_iter_new_fd(struct bpf_link *link);
1377 bool bpf_link_is_iter(struct bpf_link *link);
1503 struct bpf_link *bpf_link_by_id(u32 id);
1556 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init()
1562 static inline int bpf_link_prime(struct bpf_link *link, in bpf_link_prime()
1577 static inline void bpf_link_inc(struct bpf_link *link) in bpf_link_inc()
1581 static inline void bpf_link_put(struct bpf_link *link) in bpf_link_put()