Home
last modified time | relevance | path

Searched refs:old_fd (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Dlibbpf_internal.h541 int old_fd = fd, saved_errno; in ensure_good_fd() local
548 close(old_fd); in ensure_good_fd()
551 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
Dnetlink.c286 static int __bpf_set_link_xdp_fd_replace(int ifindex, int fd, int old_fd, in __bpf_set_link_xdp_fd_replace() argument
312 ret = nlattr_add(&req, IFLA_XDP_EXPECTED_FD, &old_fd, in __bpf_set_link_xdp_fd_replace()
313 sizeof(old_fd)); in __bpf_set_link_xdp_fd_replace()
Dlibbpf.h1155 int old_fd; member
1158 #define bpf_xdp_set_link_opts__last_field old_fd