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

/external/iproute2/examples/bpf/
H A Dbpf_sys.h15 .map_fd = fd,
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_mapping_libcdep.cc99 fd_t map_fd = OpenFile(tmp_path.data(), WrOnly, &err); local
100 if (map_fd == kInvalidFd) {
106 if (!WriteToFile(map_fd, text.data(), text.length(), nullptr, &err)) {
110 CloseFile(map_fd);
/external/linux-kselftest/tools/testing/selftests/bpf/
H A Dtest_lru_map.c31 int map_fd; local
33 map_fd = bpf_create_map(map_type, sizeof(unsigned long long),
36 if (map_fd == -1)
39 return map_fd;
505 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) argument
510 assert(!bpf_map_lookup_elem(map_fd, &last_key, value));
515 assert(!bpf_map_update_elem(map_fd, &key, value, BPF_NOEXIST));
516 assert(!bpf_map_lookup_elem(map_fd, &key, value));
519 assert(bpf_map_lookup_elem(map_fd, &last_key, value));
527 int map_fd; local
[all...]
/external/strace/
H A Dbpf.c72 uint32_t map_fd; member in struct:__anon18800
87 tprints("{map_fd=");
88 printfd(tcp, attr.map_fd);
100 uint32_t map_fd; member in struct:__anon18801
113 tprints("{map_fd=");
114 printfd(tcp, attr.map_fd);
123 uint32_t map_fd; member in struct:bpf_io_elem_struct
144 tprints("{map_fd=");
145 printfd(tcp, attr.map_fd);
/external/iproute2/include/linux/
H A Dbpf.h110 __u32 map_fd; member in struct:bpf_attr::__anon7864
/external/strace/tests/
H A Dbpf.c68 .map_fd = -1,
164 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
170 ", {map_fd=-1, key=0xdeadbeef"
177 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
183 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
/external/strace/tests-m32/
H A Dbpf.c68 .map_fd = -1,
164 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
170 ", {map_fd=-1, key=0xdeadbeef"
177 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
183 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
/external/strace/tests-mx32/
H A Dbpf.c68 .map_fd = -1,
164 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
170 ", {map_fd=-1, key=0xdeadbeef"
177 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
183 ", {map_fd=-1, key=0xdeadbeef}, %u) = %s\n",
/external/iproute2/tc/
H A Dtc_bpf.c85 .map_fd = fd,
632 int ret, prog_fd, map_fd; local
653 map_fd = bpf_obj_get(map_path);
654 if (map_fd < 0) {
657 ret = map_fd;
661 ret = bpf_map_selfcheck_pinned(map_fd, &test,
668 ret = bpf_map_update(map_fd, &map_key, &prog_fd, BPF_ANY);
672 close(map_fd);
/external/kernel-headers/original/uapi/linux/
H A Dbpf.h151 __u32 map_fd; member in struct:bpf_attr::__anon8587

Completed in 2073 milliseconds