Home
last modified time | relevance | path

Searched refs:old_map_fd (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dbpf.h433 __u32 old_map_fd; /* expected old map FD */ member
435 #define bpf_link_update_opts__last_field old_map_fd
Dbpf.c876 if (OPTS_GET(opts, old_prog_fd, 0) && OPTS_GET(opts, old_map_fd, 0)) in bpf_link_update()
885 else if (OPTS_GET(opts, old_map_fd, 0)) in bpf_link_update()
886 attr.link_update.old_map_fd = OPTS_GET(opts, old_map_fd, 0); in bpf_link_update()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c517 opts.old_map_fd = bpf_map__fd(skel->maps.ca_update_1); in test_link_replace()
525 opts.old_map_fd = bpf_map__fd(skel->maps.ca_update_2); in test_link_replace()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1667 __u32 old_map_fd; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1667 __u32 old_map_fd; member
/linux-6.6.21/kernel/bpf/
Dsyscall.c5036 old_map = bpf_map_get(attr->link_update.old_map_fd); in link_update_map()
5041 } else if (attr->link_update.old_map_fd) { in link_update_map()