Searched refs:map_type (Results 1 – 3 of 3) sorted by relevance
/samples/bpf/ |
D | test_lru_dist.c | 208 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() argument 212 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map() 310 static void test_parallel_lru_dist(int map_type, int map_flags, in test_parallel_lru_dist() argument 316 printf("%s (map_type:%d map_flags:0x%X):\n", __func__, map_type, in test_parallel_lru_dist() 320 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist() 323 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist() 335 static void test_lru_loss0(int map_type, int map_flags) in test_lru_loss0() argument 343 printf("%s (map_type:%d map_flags:0x%X): ", __func__, map_type, in test_lru_loss0() 349 map_fd = create_map(map_type, map_flags, 900 * nr_cpus); in test_lru_loss0() 351 map_fd = create_map(map_type, map_flags, 900); in test_lru_loss0() [all …]
|
D | tracex6_kern.c | 64 type = BPF_CORE_READ(map, map_type); in BPF_KPROBE()
|
D | xdp_sample_user.c | 74 enum map_type { enum
|