Home
last modified time | relevance | path

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

12345

/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c50 struct bpf_tunnel_key key; in _gre_set_tunnel() local
72 struct bpf_tunnel_key key; in _gre_get_tunnel() local
88 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel() local
113 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel() local
132 struct bpf_tunnel_key key; in _erspan_set_tunnel() local
176 struct bpf_tunnel_key key; in _erspan_get_tunnel() local
216 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel() local
261 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel() local
303 struct bpf_tunnel_key key; in _vxlan_set_tunnel() local
333 struct bpf_tunnel_key key; in _vxlan_get_tunnel() local
[all …]
Dtest_tcpbpf_kern.c33 __u32 key = 0; in update_event_map() local
78 __u32 key = 0; in bpf_testcb() local
105 __u32 key = 1; in bpf_testcb() local
118 __u32 key = 0; in bpf_testcb() local
143 __u32 key = 0; in bpf_testcb() local
Dtest_attach_probe.c18 const int key = 0, value = 1; in handle_sys_nanosleep_entry() local
27 const int key = 1, value = 2; in handle_sys_getpid_return() local
36 const int key = 2, value = 3; in handle_uprobe_entry() local
45 const int key = 3, value = 4; in handle_uprobe_return() local
Dsample_map_ret0.c23 __u32 key = 0; in func() local
Dtest_obj_id.c26 __u32 key = 0; in test_obj_id() local
Dtest_map_in_map.c31 int key = 0; in xdp_mimtest0() 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.c59 __u32 key = 0; in verify_sockopt_result() local
99 __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/bpf/bpftool/
Dmap.c150 struct bpf_map_info *map_info, void *key, in do_dump_btf()
207 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json()
265 static void print_entry_error(struct bpf_map_info *info, unsigned char *key, in print_entry_error()
284 static void print_entry_plain(struct bpf_map_info *info, unsigned char *key, in print_entry_plain()
373 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem()
709 static int dump_map_elem(int fd, void *key, void *value, in dump_map_elem()
771 void *key, *value, *prev_key; in do_dump() local
850 static int alloc_key_value(struct bpf_map_info *info, void **key, void **value) in alloc_key_value()
882 void *key, *value; in do_update() local
919 static void print_key_value(struct bpf_map_info *info, void *key, in print_key_value()
[all …]
/tools/lib/bpf/
Dhashmap.h30 const void *key; member
100 const void *key, void *value) in hashmap__add()
106 const void *key, void *value, in hashmap__set()
114 const void *key, void *value, in hashmap__update()
122 const void *key, void *value) in hashmap__append()
Dhashmap.c119 const void *key, size_t hash, in hashmap_find_entry()
142 int hashmap__insert(struct hashmap *map, const void *key, void *value, in hashmap__insert()
194 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find()
208 bool hashmap__delete(struct hashmap *map, const void *key, in hashmap__delete()
Dbpf.c357 int bpf_map_update_elem(int fd, const void *key, const void *value, in bpf_map_update_elem()
371 int bpf_map_lookup_elem(int fd, const void *key, void *value) in bpf_map_lookup_elem()
383 int bpf_map_lookup_elem_flags(int fd, const void *key, void *value, __u64 flags) in bpf_map_lookup_elem_flags()
396 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem()
408 int bpf_map_delete_elem(int fd, const void *key) in bpf_map_delete_elem()
419 int bpf_map_get_next_key(int fd, const void *key, void *next_key) in bpf_map_get_next_key()
/tools/testing/selftests/bpf/prog_tests/
Dmap_lock.c7 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local
39 int err = 0, key = 0, i; in test_map_lock() local
Dglobal_data.c15 uint32_t key; in test_global_data_number() member
50 uint32_t key; in test_global_data_string() member
85 uint32_t key; in test_global_data_struct() member
/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/util/
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/perf/
Dbuiltin-kvm.c68 struct event_key *key) in exit_event_get_key()
80 struct perf_sample *sample, struct event_key *key) in exit_event_begin()
118 struct event_key *key, in exit_event_decode_key()
180 static int kvm_events_hash_fn(u64 key) in kvm_events_hash_fn()
210 static struct kvm_event *kvm_alloc_init_event(struct event_key *key) in kvm_alloc_init_event()
226 struct event_key *key) in find_create_kvm_event()
249 struct event_key *key, u64 timestamp) in handle_begin_event()
297 struct event_key *key) in is_child_event()
318 struct event_key *key, in handle_child_event()
344 struct event_key *key, in handle_end_event()
[all …]
/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/ui/tui/
Dutil.c28 int key; in popup_menu__run() local
74 int x, y, len, key; in ui_browser__input_window() local
245 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()
/tools/testing/radix-tree/linux/
Dlockdep.h8 struct lock_class_key *key) in lockdep_set_class()

12345