Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lpm_map.c528 struct bpf_lpm_trie_key *key_p, *next_key_p; in test_lpm_get_next_key() local
533 key_size = sizeof(*key_p) + sizeof(__u32); in test_lpm_get_next_key()
534 key_p = alloca(key_size); in test_lpm_get_next_key()
542 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == -1 && in test_lpm_get_next_key()
546 key_p->prefixlen = 16; in test_lpm_get_next_key()
547 inet_pton(AF_INET, "192.168.0.0", key_p->data); in test_lpm_get_next_key()
548 assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); in test_lpm_get_next_key()
550 memset(key_p, 0, key_size); in test_lpm_get_next_key()
551 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key()
552 assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && in test_lpm_get_next_key()
[all …]
/Linux-v4.19/drivers/staging/speakup/
Dspeakupmap.map80 ctrl spk key_p = bottom_edge
85 spk key_p = say_to_bottom
Dspkguide.txt334 ctrl spk key_p = bottom_edge
339 spk key_p = say_to_bottom