Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dbloom_filter.c108 (attr->map_extra & ~0xF)) in bloom_map_alloc()
111 nr_hash_funcs = attr->map_extra; in bloom_map_alloc()
H A Dsyscall.c347 map->map_extra = attr->map_extra; in bpf_map_init_from_attr()
830 (unsigned long long)map->map_extra, in bpf_map_show_fdinfo()
1125 #define BPF_MAP_CREATE_LAST_FIELD map_extra
1149 attr->map_extra != 0) in map_create()
4683 info.map_extra = map->map_extra; in bpf_map_get_info_by_fd()
/openbmc/linux/Documentation/bpf/
H A Dmap_bloom_filter.rst38 the lower 4 bits of ``map_extra`` in ``union bpf_attr`` at map creation
120 __uint(map_extra, 3);
150 .map_extra = 3); /* number of hashes */
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbloom_filter_map.c23 __uint(map_extra, 5);
H A Dbloom_filter_bench.c31 __uint(map_extra, 3);
/openbmc/linux/tools/lib/bpf/
H A Dskel_internal.h225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in skel_map_create()
H A Dbpf.h50 __u64 map_extra; member
H A 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()
H A 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()
H A Dlibbpf_internal.h274 __u64 map_extra; member
H A Dlibbpf.c534 __u64 map_extra; member
2397 __u32 map_extra; in parse_btf_map_def() local
2399 if (!get_map_field_int(map_name, btf, m, &map_extra)) in parse_btf_map_def()
2401 map_def->map_extra = map_extra; in parse_btf_map_def()
2464 map->map_extra = def->map_extra; in fill_map_from_def()
2495 (unsigned long long)def->map_extra); in fill_map_from_def()
4466 map->map_extra = info.map_extra; in bpf_map__reuse_fd()
5019 map_info.map_extra == map->map_extra); in map_is_reuse_compat()
5112 create_attr.map_extra = map->map_extra; in bpf_object__create_map()
9521 return map->map_extra; in bpf_map__map_extra()
[all …]
H A Dlibbpf.h979 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1402 __u64 map_extra; member
6479 __u64 map_extra; member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1402 __u64 map_extra; member
6476 __u64 map_extra; member
/openbmc/linux/include/linux/
H A Dbpf.h260 u64 map_extra; /* any per-map-type extra fields */ member