Home
last modified time | relevance | path

Searched refs:map_create (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c356 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create() function
365 return map_create(BPF_MAP_TYPE_HASH, "hash", &map_opts); in create_hash()
372 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash", &map_opts); in create_percpu_hash()
377 return map_create(BPF_MAP_TYPE_HASH, "hash", NULL); in create_hash_prealloc()
382 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash_prealloc", NULL); in create_percpu_hash_prealloc()
389 return map_create(type, "lru_hash", &map_opts); in create_lru_hash()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst351 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…
/linux/kernel/bpf/
H A Dsyscall.c1305 static int map_create(union bpf_attr *attr) in map_create() function
5772 err = map_create(&attr); in __sys_bpf()