Home
last modified time | relevance | path

Searched refs:map_extra (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/kernel/bpf/
Dbloom_filter.c107 (attr->map_extra & ~0xF)) in bloom_map_alloc()
110 nr_hash_funcs = attr->map_extra; in bloom_map_alloc()
Dsyscall.c372 map->map_extra = attr->map_extra; in bpf_map_init_from_attr()
724 (unsigned long long)map->map_extra, in bpf_map_show_fdinfo()
1071 #define BPF_MAP_CREATE_LAST_FIELD map_extra
1093 attr->map_extra != 0) in map_create()
4202 info.map_extra = map->map_extra; in bpf_map_get_info_by_fd()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbloom_filter_map.c23 __uint(map_extra, 5);
Dbloom_filter_bench.c31 __uint(map_extra, 3);
/linux-6.1.9/tools/lib/bpf/
Dbpf.h50 __u64 map_extra; member
Dskel_internal.h225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in skel_map_create()
Dbpf.c172 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in bpf_map_create()
197 attr.map_extra = OPTS_GET(opts, map_extra, 0); in bpf_map_create()
Dgen_loader.c454 int attr_size = offsetofend(union bpf_attr, map_extra); in bpf_gen__map_create()
464 attr.map_extra = map_attr->map_extra; in bpf_gen__map_create()
Dlibbpf_internal.h259 __u64 map_extra; member
Dlibbpf.c515 __u64 map_extra; member
2337 __u32 map_extra; in parse_btf_map_def() local
2339 if (!get_map_field_int(map_name, btf, m, &map_extra)) in parse_btf_map_def()
2341 map_def->map_extra = map_extra; in parse_btf_map_def()
2404 map->map_extra = def->map_extra; in fill_map_from_def()
2435 (unsigned long long)def->map_extra); in fill_map_from_def()
4370 map->map_extra = info.map_extra; in bpf_map__reuse_fd()
4887 map_info.map_extra == map->map_extra); in map_is_reuse_compat()
4980 create_attr.map_extra = map->map_extra; in bpf_object__create_map()
9209 return map->map_extra; in bpf_map__map_extra()
[all …]
Dlibbpf.h812 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h1328 __u64 map_extra; member
6223 __u64 map_extra; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h1328 __u64 map_extra; member
6223 __u64 map_extra; member
/linux-6.1.9/include/linux/
Dbpf.h215 u64 map_extra; /* any per-map-type extra fields */ member