Searched refs:map_extra (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/kernel/bpf/ |
D | bloom_filter.c | 96 (attr->map_extra & ~0xF)) in bloom_map_alloc() 99 nr_hash_funcs = attr->map_extra; in bloom_map_alloc()
|
D | syscall.c | 347 map->map_extra = attr->map_extra; in bpf_map_init_from_attr() 827 (unsigned long long)map->map_extra, in bpf_map_show_fdinfo() 1122 #define BPF_MAP_CREATE_LAST_FIELD map_extra 1146 attr->map_extra != 0) in map_create() 4620 info.map_extra = map->map_extra; in bpf_map_get_info_by_fd()
|
/linux-6.6.21/Documentation/bpf/ |
D | map_bloom_filter.rst | 38 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 */
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | bloom_filter_map.c | 23 __uint(map_extra, 5);
|
D | bloom_filter_bench.c | 31 __uint(map_extra, 3);
|
/linux-6.6.21/tools/lib/bpf/ |
D | skel_internal.h | 225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in skel_map_create()
|
D | bpf.h | 50 __u64 map_extra; member
|
D | gen_loader.c | 454 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()
|
D | bpf.c | 172 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()
|
D | libbpf_internal.h | 260 __u64 map_extra; member
|
D | libbpf.c | 533 __u64 map_extra; member 2396 __u32 map_extra; in parse_btf_map_def() local 2398 if (!get_map_field_int(map_name, btf, m, &map_extra)) in parse_btf_map_def() 2400 map_def->map_extra = map_extra; in parse_btf_map_def() 2463 map->map_extra = def->map_extra; in fill_map_from_def() 2494 (unsigned long long)def->map_extra); in fill_map_from_def() 4465 map->map_extra = info.map_extra; in bpf_map__reuse_fd() 5018 map_info.map_extra == map->map_extra); in map_is_reuse_compat() 5111 create_attr.map_extra = map->map_extra; in bpf_object__create_map() 9517 return map->map_extra; in bpf_map__map_extra() [all …]
|
D | libbpf.h | 979 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | bpf.h | 1385 __u64 map_extra; member 6462 __u64 map_extra; member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 1385 __u64 map_extra; member 6462 __u64 map_extra; member
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 260 u64 map_extra; /* any per-map-type extra fields */ member
|