Lines Matching +full:key +full:- +full:value
19 __type(key, u32);
20 __type(value, long);
26 __type(key, u32);
27 __type(value, long);
33 __type(key, u32);
34 __type(value, long);
41 __type(key, u32);
42 __type(value, long);
67 __type(key, u32);
68 __type(value, long);
91 __type(key, u32);
92 __type(value, long);
98 __type(key, u32);
99 __type(value, long);
106 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() local
108 long *value; in BPF_KSYSCALL() local
112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
113 value = bpf_map_lookup_elem(&hash_map, &key); in BPF_KSYSCALL()
114 if (value) in BPF_KSYSCALL()
115 bpf_map_delete_elem(&hash_map, &key); in BPF_KSYSCALL()
124 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() local
126 long *value; in BPF_KSYSCALL() local
130 bpf_map_update_elem(&percpu_hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
131 value = bpf_map_lookup_elem(&percpu_hash_map, &key); in BPF_KSYSCALL()
132 if (value) in BPF_KSYSCALL()
133 bpf_map_delete_elem(&percpu_hash_map, &key); in BPF_KSYSCALL()
141 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() local
143 long *value; in BPF_KSYSCALL() local
147 bpf_map_update_elem(&hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
148 value = bpf_map_lookup_elem(&hash_map_alloc, &key); in BPF_KSYSCALL()
149 if (value) in BPF_KSYSCALL()
150 bpf_map_delete_elem(&hash_map_alloc, &key); in BPF_KSYSCALL()
158 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() local
160 long *value; in BPF_KSYSCALL() local
164 bpf_map_update_elem(&percpu_hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
165 value = bpf_map_lookup_elem(&percpu_hash_map_alloc, &key); in BPF_KSYSCALL()
166 if (value) in BPF_KSYSCALL()
167 bpf_map_delete_elem(&percpu_hash_map_alloc, &key); in BPF_KSYSCALL()
184 u32 key; in BPF_KSYSCALL() member
190 u32 key = 0; in BPF_KSYSCALL() local
197 &in6->sin6_addr); in BPF_KSYSCALL()
207 key = bpf_get_prandom_u32(); in BPF_KSYSCALL()
210 ret = bpf_map_update_elem(&lru_hash_map, &key, &val, BPF_ANY); in BPF_KSYSCALL()
212 ret = bpf_map_update_elem(&nocommon_lru_hash_map, &key, &val, in BPF_KSYSCALL()
221 ret = -ENOENT; in BPF_KSYSCALL()
225 ret = bpf_map_update_elem(nolocal_lru_map, &key, &val, in BPF_KSYSCALL()
230 key = test_params.key; in BPF_KSYSCALL()
234 bpf_map_lookup_elem(&lru_hash_lookup_map, &key); in BPF_KSYSCALL()
235 key++; in BPF_KSYSCALL()
238 ret = -EINVAL; in BPF_KSYSCALL()
254 } key; in BPF_KSYSCALL() local
257 key.b32[0] = 32; in BPF_KSYSCALL()
258 key.b8[4] = 192; in BPF_KSYSCALL()
259 key.b8[5] = 168; in BPF_KSYSCALL()
260 key.b8[6] = 0; in BPF_KSYSCALL()
261 key.b8[7] = 1; in BPF_KSYSCALL()
265 bpf_map_lookup_elem(&lpm_trie_map_alloc, &key); in BPF_KSYSCALL()
273 u32 key = 1, i; in BPF_KSYSCALL() local
274 long *value; in BPF_KSYSCALL() local
278 value = bpf_map_lookup_elem(&hash_map, &key); in BPF_KSYSCALL()
286 u32 key = 1, i; in BPF_KSYSCALL() local
287 long *value; in BPF_KSYSCALL() local
291 value = bpf_map_lookup_elem(&array_map, &key); in BPF_KSYSCALL()