Lines Matching refs:bpf_link
944 struct bpf_link { struct
954 void (*release)(struct bpf_link *link); argument
955 void (*dealloc)(struct bpf_link *link);
956 int (*detach)(struct bpf_link *link);
957 int (*update_prog)(struct bpf_link *link, struct bpf_prog *new_prog,
959 void (*show_fdinfo)(const struct bpf_link *link, struct seq_file *seq);
960 int (*fill_link_info)(const struct bpf_link *link,
965 struct bpf_link *link;
1461 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type,
1463 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer);
1466 void bpf_link_inc(struct bpf_link *link);
1467 void bpf_link_put(struct bpf_link *link);
1468 int bpf_link_new_fd(struct bpf_link *link);
1469 struct file *bpf_link_new_file(struct bpf_link *link, int *reserved_fd);
1470 struct bpf_link *bpf_link_get_from_fd(u32 ufd);
1533 int bpf_iter_new_fd(struct bpf_link *link);
1534 bool bpf_link_is_iter(struct bpf_link *link);
1672 struct bpf_link *bpf_link_by_id(u32 id);
1715 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init()
1721 static inline int bpf_link_prime(struct bpf_link *link, in bpf_link_prime()
1736 static inline void bpf_link_inc(struct bpf_link *link) in bpf_link_inc()
1740 static inline void bpf_link_put(struct bpf_link *link) in bpf_link_put()