/openbmc/linux/samples/bpf/ |
H A D | map_perf_test.bpf.c | 25 __uint(type, BPF_MAP_TYPE_LRU_HASH); 32 __uint(type, BPF_MAP_TYPE_LRU_HASH); 40 __uint(type, BPF_MAP_TYPE_LRU_HASH); 97 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
H A D | test_lru_dist.c | 522 test_lru_loss0(BPF_MAP_TYPE_LRU_HASH, map_flags[f]); in main() 523 test_lru_loss1(BPF_MAP_TYPE_LRU_HASH, map_flags[f]); in main() 524 test_parallel_lru_loss(BPF_MAP_TYPE_LRU_HASH, map_flags[f], in main() 526 test_parallel_lru_dist(BPF_MAP_TYPE_LRU_HASH, map_flags[f], in main()
|
H A D | map_perf_test_user.c | 147 bpf_map_create(BPF_MAP_TYPE_LRU_HASH, in do_test_lru()
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 39 case BPF_MAP_TYPE_LRU_HASH: in map_type_to_s() 130 return map_type == BPF_MAP_TYPE_LRU_HASH || in is_lru() 408 __test(create_lru_hash(BPF_MAP_TYPE_LRU_HASH, 0)); in map_percpu_stats_lru_hash() 414 __test(create_lru_hash(BPF_MAP_TYPE_LRU_HASH, BPF_F_NO_COMMON_LRU)); in map_percpu_stats_lru_hash_no_common()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_hash.rst | 12 - Both ``BPF_MAP_TYPE_LRU_HASH`` and ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` 27 The ``BPF_MAP_TYPE_LRU_HASH`` and ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` 38 Flag ``BPF_MAP_TYPE_LRU_HASH`` ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` 165 __uint(type, BPF_MAP_TYPE_LRU_HASH); 227 ``BPF_MAP_TYPE_LRU_HASH`` and variants 247 LRU hash eviction during map update for ``BPF_MAP_TYPE_LRU_HASH`` and
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | lru_bug.c | 11 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
H A D | lsm.c | 29 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
H A D | timer.c | 43 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
H A D | map_ptr_kern.c | 281 __uint(type, BPF_MAP_TYPE_LRU_HASH); 679 VERIFY_TYPE(BPF_MAP_TYPE_LRU_HASH, check_lru_hash); in cg_skb()
|
H A D | map_kptr.c | 57 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
H A D | test_xdp_noinline.c | 175 __uint(type, BPF_MAP_TYPE_LRU_HASH);
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 101 BPF_MAP_TYPE(BPF_MAP_TYPE_LRU_HASH, htab_lru_map_ops)
|
/openbmc/linux/kernel/bpf/ |
H A D | map_iter.c | 121 map->map_type != BPF_MAP_TYPE_LRU_HASH && in bpf_iter_attach_map()
|
H A D | hashtab.c | 187 return htab->map.map_type == BPF_MAP_TYPE_LRU_HASH || in htab_is_lru() 414 bool lru = (attr->map_type == BPF_MAP_TYPE_LRU_HASH || in htab_map_alloc_check() 469 bool lru = (attr->map_type == BPF_MAP_TYPE_LRU_HASH || in htab_map_alloc()
|
H A D | syscall.c | 1069 map->map_type != BPF_MAP_TYPE_LRU_HASH && in map_check_btf() 1080 map->map_type != BPF_MAP_TYPE_LRU_HASH && in map_check_btf() 1095 map->map_type != BPF_MAP_TYPE_LRU_HASH && in map_check_btf() 1216 case BPF_MAP_TYPE_LRU_HASH: in map_create() 1965 map->map_type == BPF_MAP_TYPE_LRU_HASH || in map_lookup_and_delete_elem()
|
H A D | verifier.c | 17557 case BPF_MAP_TYPE_LRU_HASH: in check_map_prog_compatibility()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lookup_and_delete.c | 181 skel = setup_prog(BPF_MAP_TYPE_LRU_HASH, &map_fd); in test_lookup_and_delete_lru_hash()
|
H A D | btf.c | 5216 .map_type = BPF_MAP_TYPE_LRU_HASH,
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 342 case BPF_MAP_TYPE_LRU_HASH: in probe_map_create()
|
H A D | libbpf.c | 153 [BPF_MAP_TYPE_LRU_HASH] = "lru_hash",
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_lru_map.c | 851 int map_types[] = {BPF_MAP_TYPE_LRU_HASH, in main()
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 933 BPF_MAP_TYPE_LRU_HASH, enumerator
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 933 BPF_MAP_TYPE_LRU_HASH, enumerator
|