Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c107 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id()
Dtest_progs.c445 err = bpf_map_get_fd_by_id(0); in test_bpf_obj_id()
618 map_fd = bpf_map_get_fd_by_id(next_id); in test_bpf_obj_id()
/Linux-v4.19/tools/lib/bpf/
Dbpf.h103 int bpf_map_get_fd_by_id(__u32 id);
Dbpf.c454 int bpf_map_get_fd_by_id(__u32 id) in bpf_map_get_fd_by_id() function
/Linux-v4.19/tools/bpf/bpftool/
Dmap.c120 fd = bpf_map_get_fd_by_id(id); in map_parse_fd()
602 fd = bpf_map_get_fd_by_id(id); in do_show()
994 err = do_pin_any(argc, argv, bpf_map_get_fd_by_id); in do_pin()
/Linux-v4.19/kernel/bpf/
Dsyscall.c1821 static int bpf_map_get_fd_by_id(const union bpf_attr *attr) in bpf_map_get_fd_by_id() function
2404 err = bpf_map_get_fd_by_id(&attr); in SYSCALL_DEFINE3()