Home
last modified time | relevance | path

Searched refs:link_fd (Results 1 - 4 of 4) sorted by relevance

/third_party/libbpf/src/
H A Dbpf.h432 LIBBPF_API int bpf_link_detach(int link_fd);
442 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
445 LIBBPF_API int bpf_iter_create(int link_fd);
543 * link corresponding to *link_fd*.
548 * @param link_fd BPF link file descriptor
556 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
H A Dbpf.c869 int bpf_link_detach(int link_fd) in bpf_link_detach() argument
876 attr.link_detach.link_fd = link_fd; in bpf_link_detach()
882 int bpf_link_update(int link_fd, int new_prog_fd, in bpf_link_update() argument
896 attr.link_update.link_fd = link_fd; in bpf_link_update()
908 int bpf_iter_create(int link_fd) in bpf_iter_create() argument
915 attr.iter_create.link_fd = link_fd; in bpf_iter_create()
1164 int bpf_link_get_info_by_fd(int link_fd, struc argument
[all...]
H A Dlibbpf.c5222 int prog_fd, link_fd, err; local
5232 link_fd = bpf_link_create(prog_fd, -1, BPF_PERF_EVENT, NULL);
5235 if (link_fd >= 0)
5236 close(link_fd);
5239 return link_fd < 0 && err == -EBADF;
5252 int prog_fd, link_fd, err; local
5265 link_fd = bpf_link_create(prog_fd, -1, BPF_TRACE_UPROBE_MULTI, &link_opts);
5268 if (link_fd >= 0)
5269 close(link_fd);
5272 return link_fd <
10569 int prog_fd, link_fd = -1, err; global() local
11297 int err, link_fd, prog_fd; global() local
11728 int err = 0, link_fd, prog_fd; global() local
12397 int prog_fd, link_fd; global() local
12555 int prog_fd, link_fd; global() local
12599 int prog_fd, link_fd; global() local
[all...]
/third_party/libbpf/include/uapi/linux/
H A Dbpf.h763 * Update the eBPF program in the specified *link_fd* to
813 * Create an iterator on top of the specified *link_fd* (as
820 * using the eBPF program attached to *link_fd*.
828 * Forcefully detach the specified *link_fd* from its
1676 __u32 link_fd; /* link fd */ member
1697 __u32 link_fd; member
1705 __u32 link_fd; member

Completed in 25 milliseconds