/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 49 struct bpf_tunnel_key key; in _gre_set_tunnel() local 71 struct bpf_tunnel_key key; in _gre_get_tunnel() local 87 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel() local 112 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel() local 131 struct bpf_tunnel_key key; in _erspan_set_tunnel() local 175 struct bpf_tunnel_key key; in _erspan_get_tunnel() local 215 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel() local 260 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel() local 302 struct bpf_tunnel_key key; in _vxlan_set_tunnel() local 332 struct bpf_tunnel_key key; in _vxlan_get_tunnel() local [all …]
|
D | udp_limit.c | 20 __u32 key; in sock() local 49 __u32 key; in sock_release() local
|
D | timer.c | 61 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1() 156 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() 230 int key = HTAB, key_malloc = HTAB_MALLOC; in bpf_timer_test() local 253 int key = HTAB, key_malloc = HTAB_MALLOC; in BPF_PROG() local
|
D | for_each_array_map_elem.c | 27 check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_array_elem() 40 check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_percpu_elem()
|
D | linked_maps1.c | 48 int key = 1, val = 1; in BPF_PROG() local 63 int key = 2, *val; in BPF_PROG() local
|
D | linked_maps2.c | 42 int key = 2, val = 2; in BPF_PROG() local 57 int key = 1, *val; in BPF_PROG() local
|
/tools/perf/arch/x86/util/ |
D | kvm-stat.c | 32 struct event_key *key) in mmio_event_get_key() 43 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() 60 struct event_key *key) in mmio_event_end() 77 struct event_key *key, in mmio_event_decode_key() 95 struct event_key *key) in ioport_event_get_key() 103 struct event_key *key) in ioport_event_begin() 121 struct event_key *key, in ioport_event_decode_key() 139 struct event_key *key) in msr_event_get_key() 147 struct event_key *key) in msr_event_begin() 165 struct event_key *key, in msr_event_decode_key()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | lookup_and_delete.c | 15 __u64 key, value = START_VALUE; in fill_values() local 29 __u64 key, value[nr_cpus]; in fill_values_percpu() local 78 static int trigger_tp(struct test_lookup_and_delete *skel, __u64 key, in trigger_tp() 101 __u64 key, value; in test_lookup_and_delete_hash() local 136 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_percpu_hash() local 175 __u64 key, value; in test_lookup_and_delete_lru_hash() local 220 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_lru_percpu_hash() local
|
D | cg_storage_multi.c | 22 static bool assert_storage(struct bpf_map *map, const void *key, in assert_storage() 40 static bool assert_storage_noexist(struct bpf_map *map, const void *key) in assert_storage_noexist() 92 struct bpf_cgroup_storage_key key; in test_egress_only() local 162 struct bpf_cgroup_storage_key key; in test_isolated() local 275 __u64 key; in test_shared() local
|
D | map_init.c | 24 map_key_t key; in map_populate() local 78 static int prog_run_insert_elem(struct test_map_init *skel, map_key_t key, in prog_run_insert_elem() 134 map_key_t key; in test_pcpu_map_init() local 174 map_key_t key; in test_pcpu_lru_map_init() local
|
D | sockmap_listen.c | 139 #define xbpf_map_delete_elem(fd, key) \ argument 147 #define xbpf_map_lookup_elem(fd, key, val) \ argument 155 #define xbpf_map_update_elem(fd, key, val, flags) \ argument 326 u32 key = 0; in test_insert_invalid() local 343 u32 key = 0; in test_insert_opened() local 366 u32 key = 0; in test_insert_bound() local 392 u32 key; in test_insert() local 408 u32 key; in test_delete_after_insert() local 426 u32 key; in test_delete_after_close() local 449 u32 key; in test_lookup_after_insert() local [all …]
|
D | map_lock.c | 21 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local 53 int err = 0, key = 0, i; in test_map_lock() local
|
/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 42 static int bpf_map_lookup_elem_with_ref_bit(int fd, unsigned long long key, in bpf_map_lookup_elem_with_ref_bit() 161 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local 258 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1() local 334 unsigned long long key, value[nr_cpus]; in test_lru_sanity2() local 442 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3() local 507 unsigned long long key, value[nr_cpus]; in test_lru_sanity4() local 565 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5() local 583 unsigned long long key, value[nr_cpus]; in test_lru_sanity5() local 631 unsigned long long key, value[nr_cpus]; in test_lru_sanity6() local 697 unsigned long long key, value[nr_cpus]; in test_lru_sanity7() local [all …]
|
D | test_maps.c | 39 long long key, next_key, first_key, value; in test_hashmap() local 158 long long key, next_key, first_key; in test_hashmap_percpu() local 272 long long key, value; in helper_fill_hashmap() local 294 long long key, value, next_key; in test_hashmap_walk() local 332 long long key, next_first, next_second; in test_hashmap_zero_seed() local 364 int key, next_key, fd; in test_arraymap() local 421 int key, next_key, fd, i; in test_arraymap_percpu() local 484 int key, fd, i; in test_arraymap_percpu_many_keys() local 516 __u32 key, value; in test_devmap() local 531 __u32 key, value; in test_devmap_hash() local [all …]
|
D | test_lpm_map.c | 34 uint8_t key[]; member 42 const uint8_t *key, in tlpm_add() 82 const uint8_t *key, in tlpm_match() 111 const uint8_t *key, in tlpm_delete() 191 uint8_t key[] = { rand() % 0xff, rand() % 0xff }; in test_lpm_order() local 213 struct bpf_lpm_trie_key *key; in test_lpm_map() local 426 struct bpf_lpm_trie_key *key; in test_lpm_delete() local 699 } key[MAX_TEST_KEYS]; member
|
/tools/perf/arch/s390/util/ |
D | kvm-stat.c | 29 struct event_key *key) in event_icpt_insn_get_key() 40 struct event_key *key) in event_sigp_get_key() 48 struct event_key *key) in event_diag_get_key() 56 struct event_key *key) in event_icpt_prog_get_key()
|
/tools/bpf/bpftool/ |
D | map.c | 99 struct bpf_map_info *map_info, void *key, in do_dump_btf() 159 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json() 218 print_entry_error_msg(struct bpf_map_info *info, unsigned char *key, in print_entry_error_msg() 238 print_entry_error(struct bpf_map_info *map_info, void *key, int lookup_errno) in print_entry_error() 271 static void print_entry_plain(struct bpf_map_info *info, unsigned char *key, in print_entry_plain() 360 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem() 748 static int dump_map_elem(int fd, void *key, void *value, in dump_map_elem() 837 void *key, *value, *prev_key; in map_dump() local 970 static int alloc_key_value(struct bpf_map_info *info, void **key, void **value) in alloc_key_value() 1002 void *key, *value; in do_update() local [all …]
|
/tools/include/linux/ |
D | rbtree.h | 267 rb_find(const void *key, const struct rb_root *tree, in rb_find() 268 int (*cmp)(const void *key, const struct rb_node *)) in rb_find() 295 rb_find_first(const void *key, const struct rb_root *tree, in rb_find_first() 296 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first() 325 rb_next_match(const void *key, struct rb_node *node, in rb_next_match() 326 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match() 341 #define rb_for_each(node, key, tree, cmp) \ argument
|
D | hashtable.h | 57 #define hash_add(hashtable, node, key) \ argument 132 #define hash_for_each_possible(name, obj, member, key) \ argument 144 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
|
/tools/perf/util/ |
D | hashmap.h | 47 const void *key; member 117 const void *key, void *value) in hashmap__add() 123 const void *key, void *value, in hashmap__set() 131 const void *key, void *value, in hashmap__update() 139 const void *key, void *value) in hashmap__append()
|
D | hashmap.c | 131 const void *key, size_t hash, in hashmap_find_entry() 154 int hashmap__insert(struct hashmap *map, const void *key, void *value, in hashmap__insert() 206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() 220 bool hashmap__delete(struct hashmap *map, const void *key, in hashmap__delete()
|
D | pstack.c | 40 void pstack__remove(struct pstack *pstack, void *key) in pstack__remove() 57 void pstack__push(struct pstack *pstack, void *key) in pstack__push()
|
/tools/lib/bpf/ |
D | hashmap.h | 47 const void *key; member 117 const void *key, void *value) in hashmap__add() 123 const void *key, void *value, in hashmap__set() 131 const void *key, void *value, in hashmap__update() 139 const void *key, void *value) in hashmap__append()
|
D | hashmap.c | 131 const void *key, size_t hash, in hashmap_find_entry() 154 int hashmap__insert(struct hashmap *map, const void *key, void *value, in hashmap__insert() 206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() 220 bool hashmap__delete(struct hashmap *map, const void *key, in hashmap__delete()
|
/tools/perf/arch/arm64/util/ |
D | kvm-stat.c | 27 struct event_key *key) in event_get_key() 53 struct event_key *key) in event_end()
|