Lines Matching defs:link
64 * @brief **libbpf_bpf_link_type_str()** converts the provided link type value
66 * @param t The link type.
67 * @return Pointer to a static string identifying the link type. NULL is
399 LIBBPF_API int bpf_link__fd(const struct bpf_link *link);
400 LIBBPF_API const char *bpf_link__pin_path(const struct bpf_link *link);
402 * @brief **bpf_link__pin()** pins the BPF link to a file
407 * @param link BPF link to pin, must already be loaded
412 LIBBPF_API int bpf_link__pin(struct bpf_link *link, const char *path);
415 * @brief **bpf_link__unpin()** unpins the BPF link from a file
419 * The file pinning the BPF link can also be unlinked by a different
426 LIBBPF_API int bpf_link__unpin(struct bpf_link *link);
427 LIBBPF_API int bpf_link__update_program(struct bpf_link *link,
429 LIBBPF_API void bpf_link__disconnect(struct bpf_link *link);
430 LIBBPF_API int bpf_link__detach(struct bpf_link *link);
431 LIBBPF_API int bpf_link__destroy(struct bpf_link *link);
439 * @return Reference to the newly created BPF link; or NULL is returned on error,
457 /* don't use BPF link when attach BPF program */
483 /* attach probe with BPF link */
555 * to multiple uprobes with uprobe_multi link.
622 * @return Reference to the newly created BPF link; or NULL is returned on
668 * @return Reference to the newly created BPF link; or NULL is returned on error,
687 * @return Reference to the newly created BPF link; or NULL is returned on error,
717 * @return Reference to the newly created BPF link; or NULL is returned on error,
821 LIBBPF_API int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map);
1631 struct bpf_link **link;
1747 * auto-attach is not supported, callback should return 0 and set link to
1750 * returned directly and link set to NULL. On success, return 0 and set link
1754 struct bpf_link **link);