Home
last modified time | relevance | path

Searched refs:BPF_F_NO_COMMON_LRU (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c159 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity0()
247 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity1()
324 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity2()
430 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity3()
498 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity4()
568 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity5()
616 if (!(map_flags & BPF_F_NO_COMMON_LRU)) in test_lru_sanity6()
687 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity7()
778 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity8()
853 int map_flags[] = {0, BPF_F_NO_COMMON_LRU}; in main()
[all …]
/openbmc/linux/samples/bpf/
H A Dtest_lru_dist.c316 if (map_flags & BPF_F_NO_COMMON_LRU) in test_parallel_lru_dist()
345 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_loss0()
397 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_loss1()
473 if (map_flags & BPF_F_NO_COMMON_LRU) in test_parallel_lru_loss()
489 int map_flags[] = {0, BPF_F_NO_COMMON_LRU}; in main()
H A Dmap_perf_test.bpf.c36 __uint(map_flags, BPF_F_NO_COMMON_LRU);
/openbmc/linux/Documentation/bpf/
H A Dmap_hash.rst33 the ``BPF_F_NO_COMMON_LRU`` flag when calling ``bpf_map_create``. The
40 **BPF_F_NO_COMMON_LRU** Per-CPU LRU, global map Per-CPU LRU, per-cpu map
41 **!BPF_F_NO_COMMON_LRU** Global LRU, global map Global LRU, per-cpu map
258 ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` and flags ``BPF_F_NO_COMMON_LRU`` then all map
H A Dmap_lru_hash_update.dot33 label="Map created with\ncommon LRU?\n(!BPF_F_NO_COMMON_LRU)"];
62 label="Map created with\ncommon LRU?\n(!BPF_F_NO_COMMON_LRU)"];
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c414 __test(create_lru_hash(BPF_MAP_TYPE_LRU_HASH, BPF_F_NO_COMMON_LRU)); in map_percpu_stats_lru_hash_no_common()
426 __test(create_lru_hash(BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_F_NO_COMMON_LRU)); in map_percpu_stats_percpu_lru_hash_no_common()
/openbmc/linux/kernel/bpf/
H A Dhashtab.c20 (BPF_F_NO_PREALLOC | BPF_F_NO_COMMON_LRU | BPF_F_NUMA_NODE | \
349 htab->map.map_flags & BPF_F_NO_COMMON_LRU, in prealloc_init()
421 bool percpu_lru = (attr->map_flags & BPF_F_NO_COMMON_LRU); in htab_map_alloc_check()
476 bool percpu_lru = (attr->map_flags & BPF_F_NO_COMMON_LRU); in htab_map_alloc()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1278 BPF_F_NO_COMMON_LRU = (1U << 1), enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1278 BPF_F_NO_COMMON_LRU = (1U << 1), enumerator