Searched refs:map_create (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/ |
D | map_percpu_stats.c | 322 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create() function 334 return map_create(BPF_MAP_TYPE_HASH, "hash", &map_opts); in create_hash() 344 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash", &map_opts); in create_percpu_hash() 349 return map_create(BPF_MAP_TYPE_HASH, "hash", NULL); in create_hash_prealloc() 354 return map_create(BPF_MAP_TYPE_PERCPU_HASH, "percpu_hash_prealloc", NULL); in create_percpu_hash_prealloc() 364 return map_create(type, "lru_hash", &map_opts); in create_lru_hash()
|
/linux-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-prog.rst | 373 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 1124 static int map_create(union bpf_attr *attr) in map_create() function 5367 err = map_create(&attr); in __sys_bpf()
|