Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 154) sorted by relevance

1234567

/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c49 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 …]
Dtest_tcpbpf_kern.c33 __u32 key = 0; in update_event_map() local
119 __u32 key = 0; in bpf_testcb() local
146 __u32 key = 1; in bpf_testcb() local
159 __u32 key = 0; in bpf_testcb() local
185 __u32 key = 0; in bpf_testcb() local
Dudp_limit.c20 __u32 key; in sock() local
49 __u32 key; in sock_release() local
/tools/perf/arch/x86/util/
Dkvm-stat.c32 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()
/tools/testing/selftests/bpf/
Dtest_lru_map.c42 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
250 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1() local
326 unsigned long long key, value[nr_cpus]; in test_lru_sanity2() local
434 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3() local
499 unsigned long long key, value[nr_cpus]; in test_lru_sanity4() local
557 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5() local
575 unsigned long long key, value[nr_cpus]; in test_lru_sanity5() local
623 unsigned long long key, value[nr_cpus]; in test_lru_sanity6() local
689 unsigned long long key, value[nr_cpus]; in test_lru_sanity7() local
[all …]
Dtest_maps.c39 long long key, next_key, first_key, value; in test_hashmap() local
151 long long key, next_key, first_key; in test_hashmap_percpu() local
255 long long key, value; in helper_fill_hashmap() local
277 long long key, value, next_key; in test_hashmap_walk() local
315 long long key, next_first, next_second; in test_hashmap_zero_seed() local
347 int key, next_key, fd; in test_arraymap() local
404 int key, next_key, fd, i; in test_arraymap_percpu() local
467 int key, fd, i; in test_arraymap_percpu_many_keys() local
499 __u32 key, value; in test_devmap() local
514 __u32 key, value; in test_devmap_hash() local
[all …]
Dtest_lpm_map.c34 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
Dtest_tcpbpf_user.c62 __u32 key = 0; in verify_sockopt_result() local
102 __u32 key = 0; in main() local
/tools/perf/arch/s390/util/
Dkvm-stat.c29 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/testing/selftests/bpf/prog_tests/
Dcg_storage_multi.c22 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
166 struct bpf_cgroup_storage_key key; in test_isolated() local
291 __u64 key; in test_shared() local
Dmap_init.c24 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
Dsockmap_listen.c139 #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
364 u32 key = 0; in test_insert_bound() local
390 u32 key; in test_insert() local
406 u32 key; in test_delete_after_insert() local
424 u32 key; in test_delete_after_close() local
447 u32 key; in test_lookup_after_insert() local
[all …]
Dmap_lock.c21 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
Dglobal_data.c16 uint32_t key; in test_global_data_number() member
51 uint32_t key; in test_global_data_string() member
86 uint32_t key; in test_global_data_struct() member
/tools/bpf/bpftool/
Dmap.c98 struct bpf_map_info *map_info, void *key, in do_dump_btf()
158 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json()
217 print_entry_error_msg(struct bpf_map_info *info, unsigned char *key, in print_entry_error_msg()
237 print_entry_error(struct bpf_map_info *map_info, void *key, int lookup_errno) in print_entry_error()
270 static void print_entry_plain(struct bpf_map_info *info, unsigned char *key, in print_entry_plain()
359 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem()
747 static int dump_map_elem(int fd, void *key, void *value, in dump_map_elem()
835 void *key, *value, *prev_key; in map_dump() local
968 static int alloc_key_value(struct bpf_map_info *info, void **key, void **value) in alloc_key_value()
1000 void *key, *value; in do_update() local
[all …]
/tools/perf/util/
Dhashmap.h47 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()
Dhashmap.c131 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()
Dpstack.c40 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/
Dhashmap.h47 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()
Dhashmap.c131 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/include/linux/
Dhashtable.h57 #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/arch/powerpc/util/
Dkvm-stat.c39 struct event_key *key) in hcall_event_get_key()
68 struct perf_sample *sample, struct event_key *key) in hcall_event_begin()
78 struct event_key *key, in hcall_event_decode_key()
/tools/perf/
Dbuiltin-kvm.c69 struct event_key *key) in exit_event_get_key()
81 struct perf_sample *sample, struct event_key *key) in exit_event_begin()
119 struct event_key *key, in exit_event_decode_key()
181 static int kvm_events_hash_fn(u64 key) in kvm_events_hash_fn()
211 static struct kvm_event *kvm_alloc_init_event(struct event_key *key) in kvm_alloc_init_event()
227 struct event_key *key) in find_create_kvm_event()
250 struct event_key *key, u64 timestamp) in handle_begin_event()
298 struct event_key *key) in is_child_event()
319 struct event_key *key, in handle_child_event()
345 struct event_key *key, in handle_end_event()
[all …]
/tools/perf/ui/tui/
Dutil.c28 int key; in popup_menu__run() local
78 int x, y, len, key; in ui_browser__input_window() local
249 int key; in __ui__warning() local
/tools/lib/lockdep/include/liblockdep/
Dmutex.h10 struct lock_class_key key; member
24 struct lock_class_key *key, in __mutex_init()

1234567