Searched refs:map_create (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 355 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) function 364 return map_create(BPF_MAP_TYPE_HASH, "hash", &map_opts); 371 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash", &map_opts); 376 return map_create(BPF_MAP_TYPE_HASH, "hash", NULL); 381 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash_prealloc", NULL); 388 return map_create(type, "lru_hash", &map_opts);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1183 static int map_create(union bpf_attr *attr) function 5642 err = map_create(&attr);
|
Completed in 134 milliseconds