Home
last modified time | relevance | path

Searched refs:__test (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c292 static void __test(int map_fd) in __test() function
408 __test(create_hash()); in map_percpu_stats_hash()
414 __test(create_percpu_hash()); in map_percpu_stats_percpu_hash()
420 __test(create_hash_prealloc()); in map_percpu_stats_hash_prealloc()
426 __test(create_percpu_hash_prealloc()); in map_percpu_stats_percpu_hash_prealloc()
432 __test(create_lru_hash(BPF_MAP_TYPE_LRU_HASH, 0)); in map_percpu_stats_lru_hash()
438 __test(create_lru_hash(BPF_MAP_TYPE_LRU_HASH, BPF_F_NO_COMMON_LRU)); in map_percpu_stats_lru_hash_no_common()
444 __test(create_lru_hash(BPF_MAP_TYPE_LRU_PERCPU_HASH, 0)); in map_percpu_stats_percpu_lru_hash()
450 __test(create_lru_hash(BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_F_NO_COMMON_LRU)); in map_percpu_stats_percpu_lru_hash_no_common()
456 __test(create_hash_of_maps()); in map_percpu_stats_hash_of_maps()
/linux/tools/testing/selftests/sched_ext/
H A Dscx_test.h75 #define REGISTER_SCX_TEST(__test) \ argument
79 scx_test_register(__test); \
/linux/lib/
H A Dtest_printf.c106 __test(const char *expect, int elen, const char *fmt, ...) in __test() function
147 __test(expect, strlen(expect), fmt, ##__VA_ARGS__)
158 __test("xxx\0yyy", 7, "xxx%cyyy", '\0'); in test_basic()