Searched refs:map_extra (Results 1 - 19 of 19) sorted by last modified time

/linux-master/kernel/bpf/
H A Dsyscall.c347 map->map_extra = attr->map_extra;
855 "map_extra:\t%#llx\n"
864 (unsigned long long)map->map_extra,
1214 attr->map_extra != 0)
4849 info.map_extra = map->map_extra;
H A Dbloom_filter.c105 /* The lower 4 bits of map_extra (0xF) specify the number
108 (attr->map_extra & ~0xF))
111 nr_hash_funcs = attr->map_extra;
H A Darena.c108 if (attr->map_extra & ~PAGE_MASK)
109 /* If non-zero the map_extra is an expected user VMA start address */
116 if ((attr->map_extra >> 32) != ((attr->map_extra + vm_range - 1) >> 32))
129 arena->user_vm_start = attr->map_extra;
335 * If map_extra was not specified at arena creation time then
339 * specify addr in map_extra and
/linux-master/include/linux/
H A Dbpf.h267 u64 map_extra; /* any per-map-type extra fields */ member in struct:bpf_map
/linux-master/tools/testing/selftests/bpf/progs/
H A Dverifier_arena.c16 __ulong(map_extra, (1ull << 32) | (~0u - __PAGE_SIZE * 2 + 1)); /* start of mmap() region */
18 __ulong(map_extra, (1ull << 44) | (~0u - __PAGE_SIZE * 2 + 1)); /* start of mmap() region */
H A Darena_list.c14 __ulong(map_extra, 0x1ull << 32); /* start of mmap() region */
16 __ulong(map_extra, 0x1ull << 44); /* start of mmap() region */
H A Dbloom_filter_bench.c31 __uint(map_extra, 3);
H A Dbloom_filter_map.c23 __uint(map_extra, 5);
/linux-master/tools/lib/bpf/
H A Dlibbpf.c550 __u64 map_extra; member in struct:bpf_map
2637 } else if (strcmp(name, "map_extra") == 0) {
2638 __u64 map_extra; local
2640 if (!get_map_field_long(map_name, btf, m, &map_extra))
2642 map_def->map_extra = map_extra;
2705 map->map_extra = def->map_extra;
2735 pr_debug("map '%s': found map_extra = 0x%llx.\n", map->name,
2736 (unsigned long long)def->map_extra);
9990 bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra) argument
[all...]
H A Dlibbpf_probes.c345 opts.map_extra = 0; /* can mmap() at any address */
H A Dlibbpf_internal.h275 __u64 map_extra; member in struct:btf_map_def
H A Dlibbpf.h1011 /* get/set map map_extra flags */
1013 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
H A Dbpf.h50 __u64 map_extra; member in struct:bpf_map_create_opts
H A Dbpf.c201 attr.map_extra = OPTS_GET(opts, map_extra, 0);
H A Dgen_loader.c454 int attr_size = offsetofend(union bpf_attr, map_extra);
464 attr.map_extra = map_attr->map_extra;
H A Dskel_internal.h225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra);
/linux-master/tools/testing/selftests/mm/
H A Dhugetlb_madv_vs_map.c57 void *map_extra(void *unused) function
108 pthread_create(&thread3, NULL, map_extra, NULL);
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1485 __u64 map_extra; member in struct:bpf_attr::__anon3130
6594 __u64 map_extra; member in struct:bpf_map_info
/linux-master/include/uapi/linux/
H A Dbpf.h1485 __u64 map_extra; member in struct:bpf_attr::__anon2589
6594 __u64 map_extra; member in struct:bpf_map_info

Completed in 347 milliseconds