Home
last modified time | relevance | path

Searched refs:create_map (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c28 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function
160 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
162 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0()
165 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity0()
260 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1()
263 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity1()
337 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity2()
340 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity2()
443 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity3()
446 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity3()
[all …]
Dtest_verifier.c565 static int create_map(uint32_t type, uint32_t size_key, in create_map() function
919 map_fds[0] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
928 map_fds[1] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
937 map_fds[2] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
946 map_fds[3] = create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in do_test_fixup()
995 map_fds[9] = create_map(BPF_MAP_TYPE_SOCKMAP, sizeof(int), in do_test_fixup()
1003 map_fds[10] = create_map(BPF_MAP_TYPE_SOCKHASH, sizeof(int), in do_test_fixup()
1011 map_fds[11] = create_map(BPF_MAP_TYPE_XSKMAP, sizeof(int), in do_test_fixup()
1019 map_fds[12] = create_map(BPF_MAP_TYPE_STACK_TRACE, sizeof(u32), in do_test_fixup()
1086 map_fds[20] = create_map(BPF_MAP_TYPE_RINGBUF, 0, in do_test_fixup()
/external/ltp/testcases/kernel/tracing/pt_test/
Dpt_test.c48 static uint64_t **create_map(int fde, long bufsize, int flag) in create_map() function
208 bufm = create_map(fde, buhsz, mode); in setup()
/external/python/typing/docs/source/
Dstubs.rst1041 def create_map() -> dict[str, int]: ...
1047 def create_map() -> MutableMapping[str, int]: ...