Home
last modified time | relevance | path

Searched refs:target_fd (Results 1 - 10 of 10) sorted by relevance

/third_party/libbpf/src/
H A Dbpf.c622 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() argument
629 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts); in bpf_prog_attach()
652 attr.target_fd = target; in bpf_prog_attach_opts()
690 attr.target_fd = target; in bpf_prog_detach_opts()
707 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() argument
709 return bpf_prog_detach_opts(0, target_fd, type, NULL); in bpf_prog_detach()
712 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() argument
714 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL); in bpf_prog_detach2()
717 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() argument
742 attr.link_create.target_fd in bpf_link_create()
950 bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, __u32 *attach_flags, __u32 *prog_ids, __u32 *prog_cnt) bpf_prog_query() argument
[all...]
H A Dskel_internal.h289 static inline int skel_link_create(int prog_fd, int target_fd, in skel_link_create() argument
297 attr.link_create.target_fd = target_fd; in skel_link_create()
H A Dbpf.h428 LIBBPF_API int bpf_link_create(int prog_fd, int target_fd,
589 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
H A Dlibbpf.h771 int target_fd, const char *attach_func_name);
H A Dlibbpf.c12391 int target_fd, const char *target_name,
12411 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, opts);
12438 /* target_fd/target_ifindex use the same field in LINK_CREATE */
12473 /* target_fd/target_ifindex use the same field in LINK_CREATE */
12512 int target_fd,
12517 if (!!target_fd != !!attach_func_name) {
12518 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n",
12529 if (target_fd) {
12532 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd);
12538 return bpf_program_attach_fd(prog, target_fd, "freplac
12390 bpf_program_attach_fd(const struct bpf_program *prog, int target_fd, const char *target_name, const struct bpf_link_create_opts *opts) global() argument
12511 bpf_program__attach_freplace(const struct bpf_program *prog, int target_fd, const char *attach_func_name) global() argument
12556 __u32 target_fd = 0; global() local
[all...]
/third_party/ltp/include/lapi/
H A Dbpf.h245 uint32_t target_fd; /* container object to attach to */ member
290 uint32_t target_fd; /* container object to query */ member
/third_party/libbpf/include/uapi/linux/
H A Dbpf.h279 * Attach an eBPF program to a *target_fd* at the specified
290 * The *target_fd* must be a valid file descriptor for a kernel
325 * Detach the eBPF program associated with the *target_fd* at the
438 * The *target_fd* must be a valid file descriptor for a kernel
467 * at *target_fd*.
473 * currently effective at the specified *target_fd*.
753 * Attach an eBPF program to a *target_fd* at the specified
1490 __u32 target_fd; /* target object to attach to or ... */ member
1548 __u32 target_fd; /* target object to query or ... */ member
1609 __u32 target_fd; /* targe member
[all...]
/third_party/googletest/googletest/src/
H A Dgtest-death-test.cc1024 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()
/third_party/node/deps/googletest/src/
H A Dgtest-death-test.cc1012 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()
/third_party/mesa3d/src/gtest/src/
H A Dgtest-death-test.cc1034 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()

Completed in 34 milliseconds